Question: using openCobolIDE Program 2 (name this LAB1-PROGRAM2) This problem will introduce vou to arithmetic (in college). All values will be hard coded; this is not
Program 2 (name this LAB1-PROGRAM2) This problem will introduce vou 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 yecond and store it to DIFFERENCE 4. Calcuate the quotient of the first value divided by the second and store it to cuorIENT Code your program to produce the following output; vour mumbers may vary depending on how you coded the two operands. The sum of 11 and 41315 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
