I want to print my name ten times in new lines. Here is my code:
#include "stdafx.h"
#include<iostream>
using namespace std;
void main()
{
int i;
for (i = 1; i <= 10; ++i)
cout << "krishna " ;
getchar();
}
I need a break or "\n" after the first row of printing. How to get that ?