#program crashing
15 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
int main()
{
int x,y;
cin>>x>>y>>;
cout<<"\t"<<y<<endl;
cout<<"\t"<<y<<y<<endl;
cout<<x<<x<<x<<x<<x<<y<<y<<y<<endl;
cout<<x<<x<<x<<x<<x<<y<<y<<y<<y<<endl;
cout<<x<<x<<x<<x<<x<<y<<y<<y<<endl;
cout<<"\t"<<y<<y<<endl;
cout<<"\t"<<y<<endl;
}
our prof wants this but it keeps crashing
A loop sure would be useful in this scenario
Look at the cin line more carefully
I don’t like your professor already just looking at this code 
yes but we havent learnt loop syet
lol i fixed it later
whats the difference between them?
English is my second language