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; coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.