Back To C++ Loops Index
//program to display numbers 50 to 1 (in reverse order) with a gap of 5 between the numbers using for statement #include
#include
void main() { int i; clrscr(); for(i=50;i>=1;i-=5) { cout<