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 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
Get step-by-step solutions from verified subject matter experts
