#include <iostream.h>
#include <conio.h>
main( )
{
int n;
cout<<"masukkan angka untuk mulai : ";
cin>>n;
while(n>0)
{
cout<<n<<",";
--n;
}
cout<<"stop!";
getch( );
}
Perulangan While
Admin_arie, Selasa, 03 November 2009
Langganan:
Posting Komentar (Atom)
Comments :
Posting Komentar