Question: Write a program that declares and initializes 2 integer variables a and b with the values 35 and 14 and displays and calculates their sum,

 Write a program that declares and initializes 2 integer variables a

Write a program that declares and initializes 2 integer variables a and b with the values 35 and 14 and displays and calculates their sum, product quotient and real division result The output should exactly look like: 35 + 14 = 49 35 * 14 = 490 35 DIV 14 = 2 35 % 14 = 7 35/14 = 2.500000 In order to produce this output, use printf() function to display text combined with values of variables

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!