Rabu, 13 April 2011

contoh program while do c++

#include <iostream.h>
int main ()
{
int i;
i=1;
while (i<=10)
{
cout<<i<<endl;
i=i + 1;
}
return 0;
}


0 komentar:

Posting Komentar