write a program to input three numbers. calculate and the greatest among them.
Answers
Answered by
1
here's ur answer dude
The program output is also shown below.
* C program to find the biggest of three numbers.
int num1, num2, num3;
printf("Enter the values of num1, num2 and num3\n");
hope it helps
Answered by
0
Explanation:
class prg
{
public void disp(int a, int b, int c)
{
if(a>b && b>c)
system.out.println(" A is greater")
if(b>c && c>a)
system.out.println(" B is greater")
else
system.out.println(" C is greater")
}
}
Similar questions
Math,
2 months ago
Social Sciences,
2 months ago
Chemistry,
2 months ago
Hindi,
4 months ago
Social Sciences,
4 months ago
Physics,
10 months ago
India Languages,
10 months ago
Physics,
10 months ago