Computer Science, asked by lilykujur31, 6 months ago

write down the syntax for the following functions in java programming (a) to find the smaller between two number​

Answers

Answered by Jaishree123
3

Explanation:

Okay I will tell you.

.Without any functions:if(num1 < num2) {

Without any functions:if(num1 < num2) { System.out.println(num1)

Without any functions:if(num1 < num2) { System.out.println(num1)}

Without any functions:if(num1 < num2) { System.out.println(num1)}else {

Without any functions:if(num1 < num2) { System.out.println(num1)}else { System.out.println(num2)

. Without any functions:if(num1 < num2) { System.out.println(num1)}else { System.out.println(num2)}

This is the process.

Hope it helps you


Ashwinidurgaprasad5: thanks a lot will u be my friend
Similar questions