Best Answer

# include<stdio.h>



int a,b,c;

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

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


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

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

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


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


User Avatar

Wiki User

โˆ™ 2010-10-28 14:04:28
This answer is:
User Avatar
Study guides

What is a programming language

What does DOS stand for

What is a software that is distributed for free

What is application software

See all cards
19 Reviews

Add your answer:

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

How write a Program to find the greatest number between three numbers?

Let a, b, c be your three numbers. Then the required if-else condition statement is:if( a>b && a>c)printf("a is greatest");else if( b>c && b>a)printf("b is greatest");elseprintf("c is greatest");

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.

What is flowchart to find the largest of three numbers?

Draw a flow chart to find the greatest number among two numbers

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.

How do you find the mode of a set of a number?

Line up the numbers from least to greatest. Then find the number or numbers has greatest frequency.

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

Write a program to find greatest of three number using conditional operator in java?

Get the greatest of the first two numbers. Then get the greatest of the result and the third number. result = a &gt; b ? a : b; result = result &gt; c ? result : c; This can be combined into a single line, but that would involve too much repetition.

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.

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

program to find maximum of two numbers using pointers

Can you find the greatest common multiple of two numbers?

The greatest common multiple of any two numbers is infinite.

People also asked