31 January 2008

Perulangan For 2

#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 :

Don't Spam Here

0 komentar to “Perulangan For 2”

 

Copyright © 2009 Fresh Themes Gallery | NdyTeeN. All Rights Reserved. Powered by Blogger and Distributed by Blogtemplate4u .