Question: please help in C++ only Program even_odd Write a console program with a main function that prompts the user to type an integer and computes

please help in C++ only
please help in C++ only Program even_odd Write a console program with
a main function that prompts the user to type an integer and
computes the sum of the digits of that integer. You may assume

Program even_odd Write a console program with a main function that prompts the user to type an integer and computes the sum of the digits of that integer. You may assume that the user types a non-negative integer. See sample Run below. Use the % and / operators by 10 to break the integer into individual digits. Two different sample runs Welcome to my Compute Sum of Digits program!! Type an integer: 827104 Digit sum is 22 Welcome to my compute Sum of Digits program!! Type an integer: 23145 Digit sum is 15 3) Plan the logic steps for your algorithm. You must answer the following questions with numbered steps and clear instructions to solve the problem. a) Identify all of the user input. What are the data types of the inputs? Define the input variables. b) Describe the program output. What is displayed to the user? What are the data types of the output? Define the output variables. c) What calculations do you need to do to transform inputs into outputs? List all formulas needed, if applicable. If there are no calculations needed, state there are no calculations for this algorithm. d) Describe the process needed to transform inputs to outputs using numbered steps. Here is where you would use conditionals, loops, functions or array constructs (if applicable) and explain the process in transforming inputs into outputs

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!