Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 15, 2021 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/413a9e3e025247c530f9bfcde5c2c64e to your computer and use it in GitHub Desktop.
Save parzibyte/413a9e3e025247c530f9bfcde5c2c64e to your computer and use it in GitHub Desktop.
/*
https://parzibyte.me/blog
*/
#include <iostream>
using namespace std;
int main()
{
// Hacemos un ciclo desde 0 hasta 100
// Vamos aumentando a i de 5 en 5 con i+= 5
for (int i = 0; i <= 100; i += 5)
{
// Imprimimos a i y luego un salto de línea con endl
cout << i << endl;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment