Got 2 questions.
1.How can i simplify 4 variables all with same condition?
if a,b,c,d <1 System.out.println("Invalid input");?
How to put this in a simple code?I know it can be done individually.
2.if the above condition is false i dont want my code to go further and calculate the input.How and i able to do this.Presently everytime i enter an invalid number ,it still processes the output but also come up with the statement"invalid number".