- 1

A program to find largest of ten numbers using if, if else and nested if loop

I need a program using above 3 loops please anyone send me solution

30th Nov 2016, 3:09 AM
shreyas
shreyas - avatar
2 ответов
0
You can use arrays. In these case, you should compare variable named MAX (f.e.) to each number in array. If element in array is bigger MAX copies its value, and so on till the end. And at the end you display MAX. If you will do this program using if, it will be so big program
30th Nov 2016, 5:57 AM
Azizbek Kobilov
Azizbek Kobilov - avatar
0
please make some effort. put YOUR code here and we'll help you debug it.
30th Nov 2016, 6:52 AM
Junjie Gono
Junjie Gono - avatar