Fandom

Scratchpad

PLE:Unidad22Ejercicio18

219,605pages on
this wiki
Add New Page
Discuss this page0 Share
/*
Programa:       Unidad2Ejercicio18.cpp
Fecha:          28/10/2006
Descripción:    Muestra la tabla de multiplicar de un número
*/
#include <iostream>
using namespace std;
void main()
{
        int n,i;
        cout << endl << "Introduzca un numero ";
        cin >> n;

        for(i = 1; i <= 10; i++)
                cout << i << '*' << n << '=' << i*n << endl;

        cin.ignore();
        cin.get();
}

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