#include "matrix_feltolt_bill.h"
#include <iostream>
#include "read.h"
using namespace std;

namespace bill{

bool jegy(int n){return 0<=n && n<=5;}

void feltolt(vector<vector<int> > &naplo){

	int n=read_int("Sorok száma: ","Természetes szám kell!",nat);
	int m=read_int("Oszlopok száma: ","Természetes szám kell!",nat);

	naplo.resize(n);
	for(int i=0;i<n;i++){
		naplo[i].resize(m);
		for(int j=0;j<m;j++){
			naplo[i][j]=read_int("i_j: ","Osztályzat kell!",jegy);
		}
	}
}

}
