20120113

Program in C++ to learn "for loop", for2.cpp

//========================
//Program in C++ to learn  "for loop", for2.cpp
//========================
#include<iostream>
using namespace std;
int main()
{
int i=0;
while(i<10)
        {
        i++;
        cout<<i<<"\t ";
        if(i==5)
        break;
        }
return 0;
}

2 comments:

  1. Program in C++/CPP/C to learn "for loop"
    Program in C++/CPP/C to learn "for loop"
    Program in C++/CPP/C to learn "for loop"
    Program in C++/CPP/C to learn "for loop"
    Program in C++/CPP/C to learn "for loop"
    Program in C++/CPP/C to learn "for loop"
    Program in C++/CPP/C to learn "for loop"
    Program in C++/CPP/C to learn "for loop"
    Program in C++/CPP/C to learn "for loop"
    Program in C++/CPP/C to learn "for loop"

    ReplyDelete
  2. C++ program to learn for loop
    C++ program to learn for loop
    C++ program to learn for loop
    C++ program to learn for loop
    C++ program to learn for loop
    C++ program to learn for loop
    C++ program to learn for loop
    C++ program to learn for loop

    ReplyDelete