Answered You can hire a professional tutor to get the answer.
What is the c++ code that would Ask a user to enter a number, and store it as an int. then, If the number is positive, print its largest digit (if...
What is the c++ code that would
Ask a user to enter a number, and store it as an int.
then, If the number is positive, print its largest digit (if it's not positive, print nothing).
Next, Ask the user to enter a 2-digit number, and store it as an int.
then, If the input is not a 2-digit number, repeatedly ask the same question until the user enters a 2-digit number.
Then, Print all positive factors of the number, in ascending order, one per line.