langsung saja flowchartnya:
Source code DEV C++
#include <iostream>
#include <string>
using namespace std;
int main()
{
int a;
a =1;
while (!(a>=10))
{
if (a % 2==0)
{
}
else
{
cout << a << endl; }
a =a+1;
}
system("PAUSE");
system("SUCCESS");
}
Hasilnya:
0 komentar:
Posting Komentar