#include <iostream>
#include <string>

int main() {
    // Variáveis para armazenar a entrada
    std::string U;
    int A;

    // Leitura da entrada
    std::cin >> U >> A;

    // Impressão da saída
    std::cout << U << " esta na universidade ha " << A << " anos." << std::endl;
    std::cout << std::endl; // Saltando uma linha

    return 0;
}

Embed on website

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