Question: first program You are to write a short C program what will input two numbers (the numbers will come from the user) and then display

first program

You are to write a short C program what will input two numbers (the numbers will come from the user) and then display the following output statements (you are to let C do the math for you):

1. You are to display the product of the numbers. 2. The cube of the second number 3. The remainder of dividing the first number by the second number 4. The result of the first number + the second number * the first number divided by the second number.

For Example: The user enters a 10 and a 5. 1. The product of 10 times 5 is 50. 2. The cube of 5 is 125. 3. The remainder of dividing 10 by 5 is 0. 4. The last equation result is 20. ____________________________

Second program

You are to write a short program what will input two numbers and then display their product and sum. The two numbers will not be hard coded in the program. The two numbers will be inputted by the user of the program.

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!