Even Displays the program number from 25 to 70 with c + + and raptor flowchart

This flowchart to show an even number from 25 to 70 recursively.

then we create a program in c + +.


its coding is:

#include <cstdlib>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
 {
 int i;

i =25;
 while (!(i>70))
 {
 if (i % 2==1)
 {
 }
 else
 {
 cout << i << endl; }
 i =i+1;
 }

system(“PAUSE”);
 return EXIT_SUCCESS;
 }
 well, so thank you.🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: