Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. #include <iostream>
  2. #include <vector>
  3. int main()
  4. {
  5.     int numOfPeriod;
  6.     std::vector<double, double> quality_year;
  7.     std::cin >> numOfPeriod;
  8.     double firstNum = 0, secNum = 0;
  9.  
  10.     for (int i = 0; i <= numOfPeriod; i++)
  11.     {
  12.         std::cin >> firstNum >> secNum;
  13.         quality_year.push_back(firstNum, secNum);
  14.     }
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement