Below, I will giving a simple script of Programming Loop using Syntax "for".
#include
using namespace std;
int main()
{
cout<<"Programming Loop using Syntax "for"<<endl;
//This program will printing 5 rows sentences
for(int i=1; i<=5; i++){
cout<<"This is a sentence of number "<<i<<endl;
}
return 0;
<<endl;
<<endl;
<<"Paper 4Share";
<<endl;
}