+ 1
Help me fix the problem in this code
Largest number using array
13 Réponses
+ 3
Hi change
cout<<"number= "<<i+1<<endl;
cin>>work[i];}
for
cin>>work[i];
cout<<"number"<<i+1<<"="<<work[i]<<endl;}
+ 2
Yes, no problem
https://code.sololearn.com/ckeq9Vn0p22W/?ref=app
+ 2
https://code.sololearn.com/cwETRG10IKrt/?ref=app
+ 2
Please try this modified code
+ 2
Thanks alot guys
+ 1
The largest number given is incorrect
+ 1
In this case ,it is not printing desired numbers
+ 1
I want that it should print the numbers that are given as input .like 1,4,6,5,2,3
In this case.but the numbers printed are 1,2,3,4,5,6
+ 1
Can you send the link of code
0
This code works for me.
0
I input 1 4 6 5 2 3 and it shows 6.
0
What is the the number you desire?