Blurtit.
  • Ask
  • Topics
  • Discover
  • Sign in
  • Latest
answered question 7/1/2009
Write A Program In "C" To Find Out Greatest Of Three Numbers?

#include<iostream.h>

#include<conio.h>

#include<stdio.h>

void main()

{

clrscr();

int a,c,b;


cout<<"enter three numbers";

cin>>a;

cin>>b;

cin>>c;


if(a>b && a>c)

{

cout<<a<<"is the greatest of all"<<endl;

}

else if(b>a && b>c)

{

cout<<b<<"is greatest of all"<<endl;

} … Read more

  • 3 Answers
  • Follow
  • Blurt
  • Favorite
  • 0
  • 0
  • 0
followed this question.
blurted this answer.
favorited this question.
Follow
  • 1 Answers
  • 0 Thanks
  • 0 Following
  • 0 Followers

Questions

  • Ask
  • Topics
  • Discover

Company

  • About
  • Contact
  • Support

Everything Else

  • Terms Of Use
  • Privacy Policy
  • Cookie Policy

Follow Us

Social Networks

  • Blurtit on Facebook
  • Blurtit on Twitter
  • Blurtit on Google+
Blurtit.

© Blurtit Ltd. All rights reserved.