Page 248 - PowerPoint Presentation
P. 248

CAVITE STATE UNIVERSITY
                               TRECE MARTIRES CITY CAMPUS
                               Department of Information Technology            DCIT 111 - Advanced Programming

               QUIZ NO. 2 | Hardcoding: Write a program on a piece of paper that will display the result
               applying all the arithmetic operator & assignment operators.

               Sample Output of the Program for Arithmetic Operators:

                  Hello User!

                  Displaying the Result applying all the Arithmetic Operations:
                  The Sum of the two numbers is: ___________
                  The Difference of the two numbers is: __________
                  The Product of the two numbers is: _____________
                  The Quotient of the two numbers is: ____________
                  The Remainder of the two numbers is: ____________



                  Displaying the Result applying all the Assignment Operations
                  The Sum and new value of variable ___ is: ____________
                  The Difference and new value of variable ___ is: ____________
                  The Product and new value of variable ___ is: ____________
                  The Quotient and new value of variable ___ is: ____________
                  The Remainder and new value of variable ___ is: ____________




































                                                                                                            24
   243   244   245   246   247   248   249   250   251   252   253