#include <iostream.h>
#include <conio.h>
main( )
{
int a,b,c;
c=7;
cout<<"Program perkalian 7 :"<<endl;
cout<<endl;
for(a=0;a<=10;a++)
{
b=a*c;
cout<<a<< " * "<<c<< " = "<<b<<endl;
}
getch( );
}
COMMENTS :
0 komentar to “Perulangan For 2”
Post a Comment