#include<iostream> #include<vector> using namespace std; int main() { vector< vector< float > > v; float x; for(int i = 0;i < 3; i++) { for(int j = 0;j < 3 ; j++) { cin >> x; v.push_back(x); } } for(int i = 0;i < 3; i++) { for(int j = 0;j < 3; j++) { cout << v[i][j]; } } return 0; }
vector< vector< float > > v;
v[i].push_back(x);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)