Home > Back-end >  Why would my code won't run?
Why would my code won't run?

Time:09-23


#include

using namespace std;

Int main ()
{
int i;
Int num [10].//num=number
Int eng [10].//eng=English
Int mat [10].//mat=maths
Int phy [10].//phy=physics
Int a, [10].//a=business
Int t [10].//t=total
//int Max.//
Cout & lt; <"Both Please input number, English score, Maths score, Physics score" & lt; for (i=0; i <10; I++)
{
Cin & gt;> Num [I] & gt;> Eng [I] & gt;> Mat [I] & gt;> Phy [I];
}
for (i=0; i<10; I++)
{
[I] t [I]=eng + mat [I] + phy [I];
A [I]=(eng + mat [I] [I] + phy [I])/3;
}
Cout & lt; <"Number English Maths Physics Total business" & lt; Cout & lt; <"" & lt;
return 0;
}

CodePudding user response:

Cout & lt; <"" & lt;
I cross a line,
  • Related