Question: Can someone please do the code for these tasks in c++ please? Im very confused. Task 1: Write a program that reverse an integer. Enter

Can someone please do the code for these tasks in c++ please? Im very confused.Can someone please do the code for these tasks in c++ please?

Task 1: Write a program that reverse an integer. Enter an integer: 123456 Reversed number 654321 Task 2: Write a program that reads integers until the user enters a 0, and then displays the sum of the integers. Use a function to do this (no restriction of how this function should be) Example Input Corresponding output Enter a value or 0 to quit 3 Enter a value or 0 to quit :2 Enter a value or 0 to quit: 15 Enter a value or 0 to quit:0 The total is 20 The total is 3 Enter a value or 0 to quit :1 Enter a value or 0 to quit : -2 Enter a value or 0 to quit: 4 Enter a value or 0 to guit: 0

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!