lesson 16

This commit is contained in:
Alexander Zhirov 2021-07-18 17:00:17 +03:00
parent e280a4648d
commit d28ee752ef
1 changed files with 13 additions and 0 deletions

13
lesson_16/main.cpp Normal file
View File

@ -0,0 +1,13 @@
#include <iostream>
int doubleNumber(int a)
{
return a * 2;
}
int main()
{
int a;
std::cin >> a;
std::cout << doubleNumber(a) << std::endl;
}