Thursday 15 December 2011

hitung kelipatan dengan for


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int a,bil;
cout<<"\n  MENAMPILKAN BILANGAN KELIPATAN 5"<<endl;
for (bil=0;bil<=90; bil+=5)
{
cout<<"  ("<<bil<<")  ";
}
getche();
}

2 comments:

  1. Sumpah lah Dari Dulu nian Aku Buat Program Gagal Tross..
    Pusing Buat Program c++ nih...

    ReplyDelete
    Replies
    1. wowowow, cintai dulu programnyo wkwkwk :D

      Delete