Perulangan C++

Source code C++ :

#include <iostream>
#include <conio.h>

using namespace std;
main(){
int i,j;
char tek[12]="INFORMATIKA";
for(i=0;i<11;i++){
cout<<i<<endl;
{ for(j=0;j<=11;j++)
cout<<" "<<tek[j];
cout<<endl;
}
}
getch();
}

Output :



Share this

Related Posts

Previous
Next Post »

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
cheer