// triple de un número

#include <iostream>

using namespace std;
int main()
{
    int a;// variable para introducir un número
    cout<<" introduce un número"<<endl;
    cin>>a;
    cout<<"vamos a calcular el triple de tu número"<<endl;//
    
    cout<<3*a;
    
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: