refactor
This commit is contained in:
parent
b018a44f10
commit
cda6ed407a
3 changed files with 0 additions and 0 deletions
14
io.cpp
14
io.cpp
|
@ -1,14 +0,0 @@
|
|||
#include "io.h"
|
||||
#include <iostream>
|
||||
|
||||
int readNumber()
|
||||
{
|
||||
std::cout << "Enter a number to add: ";
|
||||
int x{};
|
||||
std::cin >> x;
|
||||
return x;
|
||||
}
|
||||
void writeAnswer(int x)
|
||||
{
|
||||
std::cout << "The answer is: " << x << "\n";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue