Question: finish the code: Given integers numInput 1 and numInput 2 , output numInput 1 is positive. if numInput 1 is greater than 0 . End
finish the code: Given integers numInput and numInput output "numInput is positive." if numInput is greater than End with a newline.
Assign numInput with if numInput is greater than Otherwise, output "numInput is less than or equal to
Ex: If the input is then the output is:
numInput is positive.
numInput is less than or equal to
numInput is import java.util.Scanner;
public class NumberComparisons
public static void main String args
Scanner scnr new ScannerSystemin;
int numInput;
int numInput;
numInput scnrnextInt;
numInput scnrnextInt;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
