SlideShare a Scribd company logo
#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

A Shiny Example-- R
A Shiny Example-- RA Shiny Example-- R
A Shiny Example-- R
Dr. Volkan OBAN
 
C Prog. - Structures
C Prog. - StructuresC Prog. - Structures
C Prog. - Structures
vinay arora
 
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
Sazzad Hossain, ITP, MBA, CSCA™
 
SaraPIC
SaraPICSaraPIC
SaraPIC
Sara Sahu
 
C Prog - Strings
C Prog - StringsC Prog - Strings
C Prog - Strings
vinay arora
 
Sol10
Sol10Sol10
Data Structures Using C Practical File
Data Structures Using C Practical File Data Structures Using C Practical File
Data Structures Using C Practical File
Rahul Chugh
 
06 1 조건문
06 1 조건문06 1 조건문
12 1 문자열
12 1 문자열12 1 문자열
C Prog. - Strings (Updated)
C Prog. - Strings (Updated)C Prog. - Strings (Updated)
C Prog. - Strings (Updated)
vinay arora
 
C basics
C basicsC basics
C basics
MSc CST
 
C lab manaual
C lab manaualC lab manaual
C lab manaual
manoj11manu
 
Cpds lab
Cpds labCpds lab
งานย่อย 6.2 while เกมส์ทายใจ
งานย่อย 6.2 while เกมส์ทายใจงานย่อย 6.2 while เกมส์ทายใจ
งานย่อย 6.2 while เกมส์ทายใจ
Passawitch Harinsawad
 
Examples sandhiya class'
Examples sandhiya class'Examples sandhiya class'
Examples sandhiya class'
Dr.Sandhiya Ravi
 
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
Abdullah Al Naser
 
Rumus
RumusRumus
Practical File of C Language
Practical File of C LanguagePractical File of C Language
Practical File of C Language
RAJWANT KAUR
 
ADA FILE
ADA FILEADA FILE
ADA FILE
Gaurav Singh
 
Insertion sort
Insertion sortInsertion sort
Insertion sort
Hitesh Kumar
 

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