Compare commits

..

No commits in common. "chapter_1" and "master" have entirely different histories.

3 changed files with 0 additions and 33 deletions

View File

@ -1,13 +0,0 @@
#include <iostream>
int readNumber()
{
int a = 0;
std::cin >> a;
return a;
}
void writeAnswer(int a)
{
std::cout << a << std::endl;
}

View File

@ -1,7 +0,0 @@
#ifndef IO_HPP_
#define IO_HPP_
int readNumber();
void writeAnswer(int);
#endif

View File

@ -1,13 +0,0 @@
#include "io.hpp"
int main()
{
int a = 0, b = 0;
a = readNumber();
b = readNumber();
writeAnswer(a + b);
return 0;
}