answersLogoWhite

0

#include<iostream.h>

#include<conio.h>

void main(){

int Number[10];

cout<<"Enter ten numbers";

for (int i=0;i<10;i++)

cin>>Number[i];

int Big=0;

for(int j=0;j<10;j++){

if (Big<Number[i])

Big=Number[i];

}

cout<<"gretest Number:"<<Big;

getch();

}

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi

Add your answer:

Earn +20 pts
Q: To find greatest number among 10 numbers using loop?
Write your answer...
Submit
Still have questions?
magnify glass
imp