Answer to Question #37214 in C++ for sarah

Question #37214
Write C++ program that reads an integer number (positive) from user, your program should accepts only 4 digits number. If user enters number greater than 4 digits, your program should print “Not 4 digits” . Your program should print the average of digits in that number. For example if user enters 7326
Your output should 4.5 which is (7+3+2+6 divided by 4).
1
Expert's answer
2013-11-26T09:54:09-0500
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-37214.pdf

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS