Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions

Question

Simplify 84/-16 by hand.

Answered: 1 week ago