i know this is real cheecky but it is real driving me crazy heres the problem
in uni today got real stuck and iam still stuck has can not use the code at home due to it not working in bloodshed (because not used to it more than likey)
heres the code {C++ code)
void main(){
int valu;
cout<<"what number times by 7";
cin>>valu;
for (int count=1; count<=12; count++)
{
cout<<"7"<<"x"<<valu<<"="<<count*valu<<endl;
}
}
the aim of the code is to wirte a program which outputs one of the multiplication table and loop it 12 times
the code i have they is for 7 times table but it keeps doing it for 1 x table
in uni today got real stuck and iam still stuck has can not use the code at home due to it not working in bloodshed (because not used to it more than likey)
heres the code {C++ code)
void main(){
int valu;
cout<<"what number times by 7";
cin>>valu;
for (int count=1; count<=12; count++)
{
cout<<"7"<<"x"<<valu<<"="<<count*valu<<endl;
}
}
the aim of the code is to wirte a program which outputs one of the multiplication table and loop it 12 times
the code i have they is for 7 times table but it keeps doing it for 1 x table
Comment