Skip to content

Instantly share code, notes, and snippets.

@salvianoo
Created May 19, 2012 20:40
Show Gist options
  • Save salvianoo/2732310 to your computer and use it in GitHub Desktop.
Save salvianoo/2732310 to your computer and use it in GitHub Desktop.
n2
#include <iostream>
#include <math.h>
using namespace std;
int main (int argc, char * const argv[]) {
int cont;
for(cont = 15; cont <= 200; cont++) {
cout << "O quadrado de "<< cont <<" = ";
cout << pow(cont, 2) <<endl;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment