Jump to content

Help How To Create Loops


Imyoona

Recommended Posts

I bet this is assignment :). Anyway here it is.

 

Structure:

for (Start value; end condition; increase value)        statement(s);

Example For Loop Code:

#include <iostream>using namespace std; int main(){      int agz;      for ( agz = 0; agz < 14; agz++ )      {            cout << "Good Morning" << "\n";            cout << "AsianGamerZ" << "\n";      }      return 0;}

nGvHh.gif

Link to comment
Share on other sites

  • 2 weeks later...
  • 5 months later...
  • XorEax locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

 

AdBlock Extension Detected!

depositphotos_220325684-stock-illustration-hand-holding-mobile-with-ad.jpg

 

Our website is made possible by displaying online Advertisements to our members.

Please disable AdBlock browser Extension first, to be able to use our Community.

You won't be able to access this page.

I've Disabled AdBlock