Keep the statements under if condition in braces. Like below
if((number>largest1)){
largest2=largest1;
largest1=number;
}
Type: Posts; User: Hemambara
Keep the statements under if condition in braces. Like below
if((number>largest1)){
largest2=largest1;
largest1=number;
}