Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #include <iostream>
  2. #include <iomanip>
  3. #include <fstream>
  4. #include <math.h>
  5. using namespace std;
  6.  
  7.  
  8. int main()
  9.  
  10. {
  11.  
  12. int Area[47];
  13. int Bedrooms[47];
  14. int Price_in_USD[47];
  15. int i;
  16. int j = 0;
  17. ifstream fin;
  18. fin.open ("house_price.csv");
  19. while (!fin.eof())
  20. {
  21.  
  22.  
  23. fin >> Area[j];
  24. j++;
  25.  
  26. }
  27.  
  28.  
  29. //Afisarea
  30. for (i=0; i<47; i++)
  31. {
  32. cout << Area;
  33. }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement