Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hello, I need help writing a c++ program that takesa four-digits number and outp

ID: 3616297 • Letter: H

Question

Hello, I need help writing a c++ program that takesa four-digits number and outputs how many thousands, hundreds,tens, and ones digits there are in that number. Make use of themodulus and division operator to figure out the differentdigits in each place. I will rate as lifesaver. Thanks! Hello, I need help writing a c++ program that takesa four-digits number and outputs how many thousands, hundreds,tens, and ones digits there are in that number. Make use of themodulus and division operator to figure out the differentdigits in each place. I will rate as lifesaver. Thanks!

Explanation / Answer

please rate - thanks #include using namespace std; int main() {int number,digit; coutnumber; digit=number/1000; cout