Hi
Good Morning Follows
_________________

am trying to write a program to get a number from user and then print even numbers as well as 0,2,4 and so on

what changes i should do ? any tips or hints will be useful


PHP Code:

# include <iostream>
using namespace std;
int main () { 

    
int n,i;

    
cout << " Enter number ";
    
cin >>n;

    
0;

    while ( 
i%== n) {
        
cout <<i<<" ";
        
i+1;
    }
    

    
system ("PAUSE");
    return 
0;