#include <iostream>
#include <conio.h>
using namespace std;
int main (){
int a,b,i;
a=-1;
cout<<"bilangan ganjil (1_100) adalah:"<<endl;
for (i=1;i<=50;i++)
{
b=2+a;
cout<<b<<" "<<endl;
a=b;
}
getch ();
return 0;
}
Output:
Menampilkan Bilanagan Ganjil 1 - 100
Subscribe for latest Apps and Games
0 komentar:
Post a Comment