Tag Archives: struktur kontrol

perfect number ..

#include<iostream.h> #include<conio.h> using namespace std; int main() { char tanya; int bilangan,jumlah,i,sum,x; system(“cls”); cout<<” | ================================ |”<<endl; cout<<” | Program Perfect Number [ 1..1000 ] |”<<endl; cout<<” |================================ |”<<endl<<endl; cout<<endl; cout<<“ Perfect Number [1..1000] adalah : ” ; cout<<endl; for(int … Continue reading

Posted in Struktur Control | Tagged , , | Leave a comment