219,179pages on
this wiki
Add New Page
Discuss this page0 Share
Programa:         Unidad2Ejercicio22.cpp
Fecha:            03/11/2006
Descripción:      Muestra el cuadrado y el cubo de los 20 primeros naturales.
#include <iostream>
using namespace std;
void main()
        int n;

        cout << "num.\tcuad.\tcubo" << endl;
        for(n = 1; n <= 20; n++)
            cout << n << '\t' << n*n << '\t' << n*n*n << endl;


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random wikia