write a program greater then three numbers without if,
if...else,while,do..while,for,switch statement.
Answer Posted / devinder singh
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("\n Enter the 1st no. ");
scanf("%d",&a);
printf("\n Enter the 2nd no. ");
scanf("%d",&b);
printf("\n Enter the 3rd no. ");
scanf("%d",&c);
if(a>b)
printf("\n A is greater ");
if(b>c)
printf("\n B is greater ");
if(c>a)
printf("\n C is greater ");
getch();
}
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
write an algorithm in O(n) time for finding the kth smaalest element form an array of n elements , where n and k are entered by user
how the parting surface is selected in injection mould
What is The Need of Template?
am looking for ms,i got ielts score 5.5,and i dont have english score 60 in any any year.tell me can i get offer lettr from any university.is i am elegible..?
What experience have you had in writing technical materials?
what is the need for oobs
How can write a C program that shows All the prime number?
100 computers ip how to calculate
can i clearly know courses under oracle
How small can you make a computer? What are the limiting factors?
explain software engineering practices
2. A product selected for testing is equally likely to have been produced by one the 6 machines/processes. (i) Determine sample space āSā (ii) What is the probability that the product is from machine 1? (iii) What is the probability that the product is from machine 2 or machine 4? (iv) What is the probability that the product is from both machine 5 and machine 3? (v) What is the probability that the product is not from machine 6? (vi) What is the probability that the product is not from either machine 6 or machine 1?
Why is it that a single, all ā encompassing metric cannot be developed for programme complexity or programme quality?
what are the artifacts in coding phase in SDLC????
please send me latest Aptitude Test paper