answersLogoWhite

0

#include<stdio.h>

#include<conio.h>

void main()

{

int a,b,c,d,e;

clrscr();

if(a>b)

{

if(a>c)

e=a;

else

e=c;

}

else

{

if(b>c)

e=b;

else

e=c;

}

if(e>d)

printf("%d is the greatset",e);

else

printf("%d is the greatest",d);

getch();

}

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

How to write a C program to find largest 2 numbers using pointers?

program to find maximum of two numbers using pointers


How to write a program that ask user to enter numbers until user enter- 0 then find the biggest of entered numbers in C programming using while or do while?

int i, largest=0;do { scanf ("Enter a number (0 to exit): %d", i); if (i&gt;largest) largest=i; } while (i!=0); printf ("Largest number is: %d\n", largest);


C program to find the largest among three numbers using ternary operator?

max = a &gt; b ? a : b; max = max &gt; c ? max : c;


Program to count the number of numbers in an array using 8085 microprocessor?

A program which is used to count the number of numbers in an array using a 8085 microprocessor is known as a assembly language program.


Find the largest palindrome made from the product of two 3-digit numbers?

906609=913*993 I found this using a relatively simple computer program that I wrote.


Why is treemap important to programmers?

Treemaps are important to programmers because they create a visualization of the program. It displays data in a hierarchy using rectangles that are nested inside of each other.


What are the three largest numbers that can be made using the digits?

depends on your answer


What is the second largest numeral using 3 numbers?

998.


How do you exit in nested loop in java?

You may exit a nested loop in Java using a break with a label for the outer loop.


C program for displaying perfect numbers using nested loop?

for (n=1; n&lt;1000; ++n) { for (sum=0, k=1; k&lt;=n/2; ++k) if (n%k==0) sum += k; if (sum==n) printf ("%d\n", n); }


Write a c program to sort three integer numbers using nested if statement?

// HI THIS IS MAYANK PATEL /*C Program to find Maximum of 3 nos. using Nested if*/ #include&lt;stdio.h&gt; #include&lt;conio.h&gt; void main() { int a,b,c; // clrscr(); printf("Enter three number\n\n"); scanf("d%d",&amp;a,&amp;b,&amp;c); if(a&gt;b) { if(a&gt;c) { printf("\n a is maximum"); } else { printf("\n c is maximum"); } } else { if(b&gt;c) { printf("\n b is maximum"); } else { printf("\n c is maximum"); } } getch(); }


How do you write a program to read set of numbers using by an array and display the ascending order of the given input numbers?

To write a C++ program to display the student details using class and array of object.