Question: Given integers userinput1 and userinput2, output userinput 1 is negative. if userinput 1 is less than 0 . End with a newline. Assign userinput 2

 Given integers userinput1 and userinput2, output "userinput 1 is negative." if

Given integers userinput1 and userinput2, output "userinput 1 is negative." if userinput 1 is less than 0 . End with a newline. Assign userinput 2 with 1 if userinput 2 is greater than 40 . Otherwise, output "userinput2 is less than or equal to 40 End with a newline: Ex: If the input is 105, then the output is: userinput1 is negative. userinput2 is less than or equal to 40. userInput 2 is -5

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!