Program Deret Angka
//looping 6
#include<iostream.h>
main(){
int b=1,k=1;
while(b<=5){k=1; while(k<=5){cout<<"*";
k++;} cout<<"\n";
b++;}
return 0;
}
silahkan di modifikasi.... agar dapat di mengerti....
#include<iostream.h>
main(){
int b=1,k=1;
while(b<=5){k=1; while(k<=5){cout<<"*";
k++;} cout<<"\n";
b++;}
return 0;
}
silahkan di modifikasi.... agar dapat di mengerti....
0 komentar:
Posting Komentar