Back To C++ Loops Index
//program to input two numbers a and b and display numbers between them using for loop #include
#include
void main() { int a,b; int i; clrscr(); cout<<"enter value for a"; cin>>a; cout<<"enter value for b"; cin>>b; for(i=a;i<=b;i++) { cout<