Question: Write a C++ program that prompts the user to enter a positive decimal number, then the program finds the sum of the first and

Write a C++ program that prompts the user to enter a positive

 

Write a C++ program that prompts the user to enter a positive decimal number, then the program finds the sum of the first and second decimal digits. Enter a positive decinal number: 1236.1523 C++ The sun of the first and second decimal digits in 1236.15 is 6

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 Programming Questions!