Perulangan C++

HI guys kali ini kita bahas perulangan dalam C++, Simak ya Semoga bermanfaat :

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

main(){
char tek[15] = "INFORMATIKA";
int i=0;
while (tek[i]!=0){
cout<<tek[i]<<endl;
i++;
}
getch();
}


Share this

Related Posts

Previous
Next Post »

1 komentar:

komentar

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