Finding the average, max and min | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Finding the average, max and min

22nd Oct 2016, 2:12 PM
AKB “Sakazuki” 14
AKB “Sakazuki” 14 - avatar
3 Réponses
+ 1
Void main(){ Int a,b,c; Cin>>a>>b; If(a<b) Cout<<a<<"is minimum"; C=(a+b)/2; Cout<<"average is"<<c; }
22nd Oct 2016, 2:21 PM
Jishnu
Jishnu - avatar
+ 1
great!
23rd Oct 2016, 2:28 AM
Jawadullah Zulfiqar
Jawadullah Zulfiqar - avatar
0
where is max?
26th Oct 2016, 8:48 PM
Sadegh Amini
Sadegh Amini - avatar