I like to learn new technologies. These posts are for my own reference (I have habit of forgetting). If anybody finds these posts useful, then it will surely make me HaPpY.
Thursday, February 23, 2012
using a for loop to print Ten Non-Negative Numbers
#include <iostream> using namespace std;
int main() { for (int i=0; i!=10; i=i+1) cout << "\n" << i; } OUTOUT:
No comments:
Post a Comment