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

Written by: RajaSekhar
  • basic c programs
  • cprogram
  • biggestnumber
#include<stdio.h>

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

    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);

    return 0;
}

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 Print Reverse of a String without strrev() function
  • C Program to Find Given Number is Perfect or Not
  • C Program for Arithmetic Operations using Switch Statement
  • C Program for Call By Reference
  • C Program to Print PRIME Numbers in a Given Range
  • C Program to Implement SJF CPU Scheduling Algorithm
  • C Program for Matrix Multiplication
  • C Program to Implement Circular Linked List
  • C Program for Optimal Page Replacement Algorithm
  • C Program to Find Area of a Triangle
  • Merge Sort Program in C
  • C Program to Find String Length with out using Function
  • C program to find Sum of Digits of a Positive Integer Number
  • C Program for String Comparison without using Built in Function
  • C Program for Insertion Sort
  • Privacy Policy
  • Cookie Policy
© programming9.com 2025
Back to top