write a program greater then three numbers without if,
if...else,while,do..while,for,switch statement.

Answer Posted / mani kandan.s

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
scanf("%d %d %d",&a,&b,&c,printf("Enter the a,b,c values"));
a>b&&a>c?printf("A is big"):b>c?printf("B is big"):printf
("C is big");
getch();
}

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the key element of Defect Report and Test case format?

1267


safety valve calculation?

1949


what is the main fuction of OSPF in a internetwork? how does work of same network?

1542


My system suddenly get off,when i try to power on then it does not work but when i open it and clean RAM and insert it again, it power on.but after some day same problem? please give the answer (i have also changed RAM it's new.)

1497


how strcpy usingrecursive function

1668






what is the formula/ ratio for hollow block? considering to a 40 kgs of portland cement.

1471


hi i am avinash ,i am doing ma b-tech(cse) final year and i have been detained for 2years due to attendance and i will be finished ma b-tech in 6 years ,plz tell me weather i will be eligible for government jobs like bhel, drdo,or any other private companies

1425


what is the difference a zero argument constructor and a default constructor?

1662


what is b tree

1667


iam from engineering information technology ... can i write group 1 exams??

1763


how to use photoshop and some related websites?

1696


Write a program to input 10 elements in an array and seperate even and odd numbers, positive and negative between them ?

1466


What is the pressure in co2 cartridge in a DCP 5 kg extinguisher.

2915


Write a program to count the no. of occurrence of word in given string Ex- Ram is good boy. Ram is doing good job. Ram – 2 is – 2 good – 2 boy – 1 doing –1 job – 1

3356


How does C pass variables to a function ?

1680