Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<fstream>
- using namespace std;
- int main()
- {
- ifstream in("input.txt");
- ofstream out("output.txt");
- int n;
- in>>n;
- n+=10;
- out<<n;
- }
- input:5
- ouptut:15
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement