fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct sname
  5. {
  6. char fio[256];
  7. int vozrast;
  8. }; sname f;
  9.  
  10. int main()
  11. {
  12.  
  13. for (int i = 0; i < 2; i++)
  14. {
  15. cin >> f.vozrast;
  16. cout << "Возраст:" << f.vozrast << endl;
  17. }
  18. return 0;
  19. }
Success #stdin #stdout 0s 16064KB
stdin
12  15
stdout
Возраст:12
Возраст:15