Question: Integers numPoints 1 and numPoints 2 are read from input. If numPoints 1 is greater than 0 , then output numPoints 1 is positive. If

Integers numPoints1 and numPoints2 are read from input.
If numPoints1 is greater than 0, then output "numPoints1 is positive."
If numPoints2 is greater than 30, then assign numPoints2 with 4.
Otherwise, output "numPoints2 is less than or equal to 30."
End each output with a newline. c++

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!