Table of Contents
The syntax of nested if in C Language
Explanation of nested if
Program 1
When you execute the above code, it produces the following result
Enter the first number for a:
1
Enter the second number for b:
2
Enter the third number for c:
3
1 is smaller than 2
In the above program, the program allows users to enter three number for compaison and then an output is displayed.
Multiply two numbers in Java using scanner| 5 different ways In this article, we will…
5 Different ways to Divide two numbers in Java using scanner In this article, we…
Learn 8 Ways to Subtract Two Numbers Using Methods in Java In this article, we…
10 ways to subtract two numbers in Java In this article, we will discuss the…
Java Code Examples – Multiply Two Numbers in 5 Easy Ways In this article, we…
How to Divide two numbers in Java| 5 different ways In this article, we will…
This website uses cookies.