Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int n;
- cin >> n;
- char ime[n][50];
- int godini[n];
- double prosek[n];
- for(int i = 0; i < n; i++) {
- cin >> ime[i];
- cin >> godini[i];
- cin >> prosek[i];
- }
- for(int i = 0; i < n; i++) {
- cout << ime[i] << " " << godini[i] << " "<< prosek[i] << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement