Question: Problem #1 Write a program that prompts user to enter an integer up to 1000 and displays back a message about the number of digits

 Problem #1 Write a program that prompts user to enter an

integer up to 1000 and displays back a message about the number

Problem #1 Write a program that prompts user to enter an integer up to 1000 and displays back a message about the number of digits in this number and if number is odd or even. For example, if user enters 93 message back should be "93 has 2 digits and is even". pols Window Help #include using namespace std; int main() { int num, digits=0; cout> num; if (% == ) cout) ... num = num/10; digits ++; .... cout

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!