Question: using cobol This problem will introduce you to arithmetic (in college). All values will be hard coded; this is not an interactive program. Assume the
This problem will introduce you to arithmetic (in college). All values will be hard coded; this is not an interactive program. Assume the values are whole numbers. 1. Calculate the sum of the two values and store it to SUM 2. Calculate the product of the two values and store it to PRODUCT 3. Calculate the difference between the first value minus the second and store it to DI EFERENCE 4. Calculate the quotient of the first value divided by the second and store it to QUOTIENI! Code your program to produce the following output; your numbers may vary depending on how you coded the two operands. The sum of 11 and 4 is 15 The product of 11 and 4 is 44 The difference between 11 and 4 is 7 The quotient of 11 divided by 4 is 2.75
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
