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

what would the code be?
what would the code be? Given integers userinput1 and userinput2, output "userinput

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

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!