Perulangan menggunakan For pada Borland C++... Berikut syntax Coding nya guys....
(Inisial , Penentu Perulangan, Penentu pencatatan)
misal ( a=1; a>=7; a++)
![](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_vGsGEfP0JF4kvn2jNNDZdMxBnUP7pv1FQDneUCDAIpUySSOtixdEtyRip5NPTwwKMVEe4swHnhz3ABDd4k6s3HIOyBG_tlsE2dPKFrqDGYK9u7IglREYZiwV9UUh7O-9p6PcOwUWnoH3YE5fzITCOpF5dKxVpQcmRuGkcD=s0-d)
#include <conio.h>
#include <iostream.h>
main()
{
int a;
clrscr();
for (a=1; a<=10; a++)
cout<<a;
getch();
}
(Inisial , Penentu Perulangan, Penentu pencatatan)
misal ( a=1; a>=7; a++)
#include <conio.h>
#include <iostream.h>
main()
{
int a;
clrscr();
for (a=1; a<=10; a++)
cout<<a;
getch();
}
0 komentar
Posting Komentar