Question: what would the code be? Given integers userinput1 and userinput2, output userinput 1 is less than 15 if userinput is less than 15. End
Given integers userinput1 and userinput2, output "userinput 1 is less than 15 " if userinput is less than 15. End with a newline Assign userinput 2 with 3 if userinput 2 is greater than 45 . Otherwise, output 'userinput 2 is less than or equal to 45 : End with a newline Ex. If the input is 1020, then the output is: userinput1 is less than 15 . userInput2 is less than or equal to 45. userinput 2 is -20. 1 \#include > userInput ; I cin > ) userInput2; Yo Your code goes here % cout "userinput2 is " userInput2 "," endl; return 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
