find the minimum of three values inputted by the user
Answer Posted / neha tibrewal
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
printf("Enter three numbers");
scanff("%d%d%d",&a,&b,&c);
if(a<b && a<c)
printf("Minimum is %d",a);
elseif(b<a && b<c)
printf("Minimum is %d",b);
else
printf("Minimum is %d",c);
getch();
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
plz let me know how to become a telecom protocol tester. thank you.
What is c basic?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What are the different types of control structures?
What is a method in c?
Explain what are the __date__ and __time__ preprocessor commands?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What is the size of a union variable?
Explain how can I write functions that take a variable number of arguments?
Define VARIABLE?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
Is return a keyword in c?
If the size of int data type is two bytes, what is the range of signed int data type?
Explain heap and queue.
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?