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 for Call By Reference
  • Bubble Sort in C
  • C Program to convert Celsius to Fahrenheit
  • C Program to Find Largest Element in an Array
  • C Program to Solve Tower of Hanoi Problem Using Recursive and Non-Recursive
  • C Program to Find Simple Interest
  • C Program to Find Roots of a Quadratic Equation
  • C Program to Implement Structure with Array
  • C Program to Implement STACK Operations Using Pointers
  • Swap Two Static Numbers Using C
  • C Program to Print a Message using Functions
  • C Program to find Size of Integer
  • C Program for String Comparison without using Built in Function
  • Implementation of Stack Using Array in C
  • C Program to Implement SJF CPU Scheduling Algorithm
  • Privacy Policy
  • Cookie Policy
© programming9.com 2026
Back to top