Compare commits
No commits in common. "chapter_1" and "master" have entirely different histories.
|
@ -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;
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
#ifndef IO_HPP_
|
||||
#define IO_HPP_
|
||||
|
||||
int readNumber();
|
||||
void writeAnswer(int);
|
||||
|
||||
#endif
|
|
@ -1,13 +0,0 @@
|
|||
#include "io.hpp"
|
||||
|
||||
int main()
|
||||
{
|
||||
int a = 0, b = 0;
|
||||
|
||||
a = readNumber();
|
||||
b = readNumber();
|
||||
|
||||
writeAnswer(a + b);
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue