FUNDAMENTAL OF PROGRAMMING
Monday, March 28, 2011
ASSINGMENT 2 LOOP
#include <iostream.h>
main()
{
int x,y;
for (x=1;x<=12;x++)
{
cout<<"\n";
for (y=1;y<=12;y++)
{
cout<<" "<<x*y;
}
}
return 0;
}
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment