Find greatest number out of 10 number without using loop.
Answer Posted / joshi
/* for same qustion this */
void main()
{
int a,b;
clrscr();
printf (enter the two number :);
scanf("%d%d",a,b);
if (a>b)
printf ("%d\n greater number",a);
else
printf ("%d\n greter number",b);
getch();
}
| Is This Answer Correct ? | 11 Yes | 48 No |
Post New Answer View All Answers
What does the c preprocessor do?
What does %d do?
Describe the modifier in c?
why we wont use '&' sing in aceesing the string using scanf
What are reserved words?
What is the need of structure in c?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
How can I find the modification date and time of a file?
What is function in c with example?
What is the difference between text and binary i/o?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
What is the difference between the local variable and global variable in c?
What are different types of pointers?
What is the meaning of ?
What is bss in c?