Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Integers numInput 1 and numInput 2 are read from input. If numInput 1 is greater than or equal to 5 , then output numInput 1

Integers numInput1 and numInput2 are read from input.
If numInput1 is greater than or equal to 5, then output "numInput1 is greater than or equal to 5."
If numInput2 is greater than 30, then assign numInput2 with 2.
Otherwise, output "numInput2 is less than or equal to 30."
End each output with a newline. Please write in C++

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

Students also viewed these Databases questions

Question

What does the term common knowledge rule mean?

Answered: 1 week ago