josiftepe

Untitled

Nov 15th, 2020
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. #include <iostream> // input/output stream
  2. #include <fstream> // file stream
  3. using namespace std;
  4. struct student{
  5. string ime;
  6. string prezime;
  7. int brojnaindex;
  8. double prosek;
  9. };
  10. int main()
  11. {
  12.     ifstream cin("in.txt"); // input file stream
  13.     ofstream cout("out.txt"); // output file stream
  14.     int n;
  15.     cin >> n;
  16.     cout << n << endl;
  17.  
  18.     return 0;
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment