Answered You can hire a professional tutor to get the answer.

QUESTION

Write program that asks the user for three integers ( firstInt, secondInt, thirdInt ). Perform the following operations and output the results:

Write program that asks the user for three integers (firstInt, secondInt, thirdInt). Perform the following operations and output the results:

  • firstResult = Add firstInt and secondInt then divide the result by thirdInt
  • secondResult = Multiply secondInt by thirdInt and divide result by the sum of secondInt and firstInt
  • thirdResult = Multiply firstInt by thirdInt and find the remainder of dividing the result by secondInt

Your prompts to the user to enter the integers must be:

Enter firstInt: 

Enter secondtInt: 

Enter thirdInt:

Your output must be of the format:

First result = firstResult 

Second result = secondResult 

Third result = thirdResult

Please make sure to end each line of output with a newline.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question