Advertisement
Guest User

Untitled

a guest
Jul 4th, 2017
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #include<fstream>
  2. using namespace std;
  3. int main()
  4. {
  5. ifstream in("input.txt");
  6. ofstream out("output.txt");
  7. int n;
  8. in>>n;
  9. n+=10;
  10. out<<n;
  11. }
  12. input:5
  13. ouptut:15
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement