C program to find largest of 5 numbers using if-else
Answers
Answered by
2
Answer:
In this program user ask to find the Maximum number between the 5 numbers. Here user declares the variables that which store the value. User asks to enter the five numbers for compilation. Here user uses for loop to vary the condition regarding to situation. Here user declare nested loop statement for number and then if condition. If (a[i]>a[j]) if all the condition got vary then the loop statement will collaborate the number that it varies and put on the screen as result it has.
Similar questions
Environmental Sciences,
5 months ago
Science,
5 months ago
Accountancy,
5 months ago
Hindi,
1 year ago