Answered step by step
Verified Expert Solution
Question
1 Approved Answer
May I get help with these two problems? 2problem3.cpp 3 Write a program which asks the user to enter a number (an integer). It should
May I get help with these two problems?
2problem3.cpp 3 Write a program which asks the user to enter a number (an integer). It should then 4print: 6"Positive" if the number is 0 or greater - "Negative" if the number is less than 0 if the number is even if the number is odd 9"Odd" 10"Div. by 3" if the number is divisible by 3 12 For a given number, the program might print more than one thing! E.g., if the user 13 enters 6, it should print Positive, Even, and Div. by 3. 14 2problem4.cpp 3 Write a program which asks the user to enter an integer and then 4counts down from that number to 1. E.g., if the user enters 10 then 5 * the program should print: 7 10 98 7654321 10| #includeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started