SlideShare a Scribd company logo
1 of 1
#include<stdio.h>
main()
{
int a,b,c;
printf("enter the values of a,b,c:");
scanf("%d%d%d",&a,&b,&c);
if((a>b)&&(a>c))
printf("a is greater");
else if(b>c)
printf("b is greater");
else
printf("c is greater");
}

More Related Content

What's hot (20)

A Shiny Example-- R
A Shiny Example-- RA Shiny Example-- R
A Shiny Example-- R
 
C Prog. - Structures
C Prog. - StructuresC Prog. - Structures
C Prog. - Structures
 
C Programming Exam problems & Solution by sazzad hossain
C Programming Exam problems & Solution by sazzad hossainC Programming Exam problems & Solution by sazzad hossain
C Programming Exam problems & Solution by sazzad hossain
 
SaraPIC
SaraPICSaraPIC
SaraPIC
 
C Prog - Strings
C Prog - StringsC Prog - Strings
C Prog - Strings
 
Sol10
Sol10Sol10
Sol10
 
Data Structures Using C Practical File
Data Structures Using C Practical File Data Structures Using C Practical File
Data Structures Using C Practical File
 
06 1 조건문
06 1 조건문06 1 조건문
06 1 조건문
 
12 1 문자열
12 1 문자열12 1 문자열
12 1 문자열
 
C Prog. - Strings (Updated)
C Prog. - Strings (Updated)C Prog. - Strings (Updated)
C Prog. - Strings (Updated)
 
C basics
C basicsC basics
C basics
 
C lab manaual
C lab manaualC lab manaual
C lab manaual
 
Cpds lab
Cpds labCpds lab
Cpds lab
 
งานย่อย 6.2 while เกมส์ทายใจ
งานย่อย 6.2 while เกมส์ทายใจงานย่อย 6.2 while เกมส์ทายใจ
งานย่อย 6.2 while เกมส์ทายใจ
 
Examples sandhiya class'
Examples sandhiya class'Examples sandhiya class'
Examples sandhiya class'
 
The solution manual of c by robin
The solution manual of c by robinThe solution manual of c by robin
The solution manual of c by robin
 
Rumus
RumusRumus
Rumus
 
Practical File of C Language
Practical File of C LanguagePractical File of C Language
Practical File of C Language
 
ADA FILE
ADA FILEADA FILE
ADA FILE
 
Insertion sort
Insertion sortInsertion sort
Insertion sort
 

Deep