4/16/21

C Program to Find the greatest number between 3 Numbers.


C Program to Find Greatest Number Between 3 Numbers. 

#include <stdio.h>
#include <conio.h>
void main()
{
    int a,b,c;
    printf("Enter the three Number=");
    scanf("%d%d%d",&a,&b,&c);
    if (a>b)
    {
        if (a>c)
        {
            printf("A is greater number");
        }
        else
        {
            printf("C is greater number");
        }
    }
    else

        if(b>c)
        {
            printf("B is greater number");
        }
        else if (a==b && a==c)
        {
            printf("Numbers are equal");
        }
        else
        {
            printf("C is greater number");
        }
    getch();
}

Output :- 





"+y+""}else{if(A==5){c+='
  • '+w+""+y+"
  • "}else{if(A==6){c+='
  • "+w+'
    '+u+""+y+"
  • "}else{c+='
  • "+w+"
  • "}}}}}s.innerHTML=c+=""+y;d.callBack()};randomRelatedIndex=h;showRelatedPost=g;j(d.homePage.replace(/\/$/,"")+"/feeds/posts/summary"+e+"?alt=json-in-script&orderby=updated&max-results=0&callback=randomRelatedIndex")})(window,document,document.getElementsByTagName("head")[0]); //]]>

    0 comments:

    Post a Comment

    Follow on Twitter

    Linkedin

    Categories

    Contact Form

    Name

    Email *

    Message *

    Mad About Computer. Powered by Blogger.
    This site is in no way affiliated with or endorsed by specified business. It exists as a compendium of supporting information intended for informational purposes only. If you want to buy this website, please don't hesitate to contact us via e-mail: "d e n a c c 9 7 7 (at) g m a i l (dot) c o m" (delete spaces) or you can find and buy it on Afternic domain auctions.