Contoh perulangan (for)




#include <iostream.h>
#include <conio.h>
main()
{
int n;
cout << "Start mulai angka=";
for(n=10;n>0;n--)
{
cout <<n<<",";
}
cout <<"stop ";
getch();
}

Comments

Popular posts from this blog

Animasi Lucu C++

Sistem Sensor dan Robotika

DDL Part II