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 Find Sum of N Natural Numbers
  • C Program for Fibonacci Series Using for Loop
  • C Program to ADD two MATRICES
  • C Program to Find Address Locations of Variables
  • C Program to Implement RADIX SORT
  • C Program to Find Factorial of a Number using While Loop
  • C Program for MERGING of Two Arrays with out using Third Array
  • C Program to Find the Prime Numbers
  • Implementation of Queue using Array in C
  • C Program to Implement Structure with Pointers
  • C Program to Print Elements of Array Using Pointers
  • Decimal to Binary Conversion Using C
  • C Program to find Area of a Circle
  • Merge Sort Program in C
  • C Program to Find Number of Characters and Words in a String
  • Privacy Policy
  • Cookie Policy
© programming9.com 2025
Back to top