питон:
Объяснение:
a = int(input())
b = a + 5
print(b)
ответ: C++
#include <iostream>
using namespace std;
int main() {
// Variables
int age;
// Input age
cout << "How old are you?" << endl;
cin >> age;
// Output solution
cout << "In 5 years, you will be " << age + 5 << " years old" << endl;
return 0;
}
питон:
Объяснение:
a = int(input())
b = a + 5
print(b)
ответ: C++
#include <iostream>
using namespace std;
int main() {
// Variables
int age;
// Input age
cout << "How old are you?" << endl;
cin >> age;
// Output solution
cout << "In 5 years, you will be " << age + 5 << " years old" << endl;
return 0;
}