programming9
  • Flowcharts
  • Programs
      • Back
      • C Programs
      • C++ Programs
      • Java Programs
      • Python Codes
      • HTML Codes
      • Java Script Codes
      • SQL Codes
  • Tutorials
      • Back
      • Java Tutorials
      • Competitive Programming
      • Python Tutorials
      • C Programming
  • Blog
  • Login

C Program to Find Biggest among Three Numbers

Details
Written by: RajaSekhar
Category: C Programs
  • basic c programs
  • cprogram
  • biggestnumber
#include<stdio.h>
#include<conio.h>

void main()
{
    int a,b,c;
    clrscr();

    printf(" Enter Three Values : ");
    scanf("%d %d %d",&a,&b,&c);

    if((a>b)&&(a>c))
        printf("\n %d is a Greatest Number",a);

    if((b>c)&&(b>a))
        printf("\n %d is a Greatest Number",b);

    if((c>a)&&(c>b))
        printf("\n %d is Greatest Number",c);

    getch();
}

 OUTPUT:

 Enter Three Values :  10 5 36

 36 is Greatest Number
Previous article: C Program to convert Celsius to Fahrenheit Prev Next article: C Program to Find Area of a Square Next
  • C Program to Implement Call By Value using Functions
  • C Program to Find Area of Rectangle
  • C Program to Implement Doubly Linked List Operations
  • C Program for String Comparison without using Built in Function
  • Swapping of Two Numbers Using Call By Reference in C
  • C Program to Find Sum of N Natural Numbers
  • C Program to Find Given Number is Armstrong or Not
  • C Program for Arithmetic Operations using Switch Statement
  • C Program to Evaluate POSTFIX Expression Using Stack
  • C Program to Print Reverse of a String without strrev() function
  • C Program to Compare Two Strings using strcmp()
  • C Program to Print ASCII values of Characters
  • C Program to Convert Infix to Postfix Expression using Stack
  • C Program Example for Call By Reference
  • C Program for Floyd Triangle
  • Privacy Policy
  • Cookie Policy
© programming9.com 2026
Back to top