Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Alexander Zhirov | d28ee752ef |
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue