Question: need this in prog C 4. Write a program that declares and initializes 2 integer variables var1 and var2 with the values 500 and 25,

need this in prog C
need this in prog C 4. Write a program that declares and

4. Write a program that declares and initializes 2 integer variables var1 and var2 with the values 500 and 25, and calculates their sum, difference, product, and quotient. Finally, print the values out. The output should look like this exactly: Output example: 500 + 25 = 525 500 25 = 475 500 * 25 12500 500 / 25 20 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!