Ad Code

Write a program to display even numbers from 30 to 10 in reverse order using C++

Advertisements

 #include<iostream.h>

#include<conio.h>

void main()

{

clrscr();

int n;

for(n=30;n>=10;n=n-2)

{

cout<<n<<endl;

}

getch();

}




Download Link
Advertisements

Post a Comment

0 Comments