Program C++

Penggunaan Array :

#include <iostream>
#include <conio.h>
using namespace std;

main(){
int x,y;
char ddp[12]="INFORMATIKA";
for(x=0;x<11;x++){
cout<<x<<endl;
}
for(y=0;y<11;y++){
cout<<ddp[y];
}
cout<<endl;


getch();
}

output :

Share this

Related Posts

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