answersLogoWhite

0


Best Answer

# include<stdio.h>

main()

{

int a,b,c;

print f("enter the values of a,b,c");

scan f("%d%d%d",&a,&b,&c);

if((a>b)&&(a>c))

print f("Greatest value is a =%d",a);

else if((b>a)&&(b>c))

print f("Greatest value is b=%d",b);

else

print f("Greatest value is c=%d",c);

}

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: C program to find greatest of three numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Find the three numbers whose greatest common factor of three numbers is 9 and the sum of the numbers is 90?

63, 18 and 9


How do you find the greatest common divisor in three numbers?

Calculate their prime factors.


How do you find the median with three numbers?

Arrange them in order, least to greatest. Select the one in the middle.


Program to find the greatest number?

The greatest number is infinity.


Draw a flow chart to find out the greatest number among the three given numbers ab c?

draw a flowchart to find the biggest number among the 3 numbers


What is the greatest common factor of two prime numbers find three relatively prime numbers?

The GCF of two prime numbers is 1. 4, 9 and 25 are relatively prime.


Draw a flowchart that will determine and display the largest among the three numbers being inputted?

start input A &amp; B if A&gt;B print A is greatest if B&gt;A print B is greatest stop james ola writes.....SOT.


Can you find the greatest common multiple of two numbers?

The greatest common multiple of any two numbers is infinite.


How to write a C program to find largest 2 numbers using pointers?

program to find maximum of two numbers using pointers


What is the greatest common factor of 400?

You need at least two numbers to find a GCF.


Why can't you find the greatest common multiple in a group of numbers?

You can't find the greatest common multiple in any amount of numbers, the number would be infinite.


How do you write a VBnet program to find the prime numbers between 100 to 200?

VBnet program to find the prime numbers between 100 to 200?