#include <iostream>
using namespace std;
void texto();
void soma(int n1, int n2);
int soma2(int n1, int n2);
void tr(string tra[4]);
int main(){
int res;
string transp[4]={"carro","moto","barco","aviao"};
soma(15,5);
res=soma2(175,25);
cout << "valor de res: " << res << "\n";
tr(transp);
return 0;
}
void texto(){
cout << "canal fessor bruno\n";
}
void soma(int n1, int n2){
cout << "soma dos valores: " << n1+n2 << "\n";
}
int soma2(int n1, int n2){
return n1+n2;
}
void tr(string tra[4]){
for(int i=0; i<4; i++){
cout << tra[i] << "\n";
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnZvaWQgdGV4dG8oKTsKdm9pZCBzb21hKGludCBuMSwgaW50IG4yKTsKaW50IHNvbWEyKGludCBuMSwgaW50IG4yKTsKdm9pZCB0cihzdHJpbmcgdHJhWzRdKTsKCmludCBtYWluKCl7CiAgICBpbnQgcmVzOwogICAgc3RyaW5nIHRyYW5zcFs0XT17ImNhcnJvIiwibW90byIsImJhcmNvIiwiYXZpYW8ifTsKCiAgICBzb21hKDE1LDUpOwogICAgcmVzPXNvbWEyKDE3NSwyNSk7CgogICAgY291dCA8PCAidmFsb3IgZGUgcmVzOiAiIDw8IHJlcyA8PCAiXG4iOwoKICAgIHRyKHRyYW5zcCk7CgogICAgcmV0dXJuIDA7Cn0KCnZvaWQgdGV4dG8oKXsKICAgIGNvdXQgPDwgImNhbmFsIGZlc3NvciBicnVub1xuIjsKfQoKdm9pZCBzb21hKGludCBuMSwgaW50IG4yKXsKICAgIGNvdXQgPDwgInNvbWEgZG9zIHZhbG9yZXM6ICIgPDwgbjErbjIgPDwgIlxuIjsKfQoKaW50IHNvbWEyKGludCBuMSwgaW50IG4yKXsKICAgIHJldHVybiBuMStuMjsKfQoKdm9pZCB0cihzdHJpbmcgdHJhWzRdKXsKICAgIGZvcihpbnQgaT0wOyBpPDQ7IGkrKyl7CiAgICAgICAgY291dCA8PCB0cmFbaV0gPDwgIlxuIjsKICAgIH0KfQoK