#include <iostream>
#include <climits>
using namespace std;
struct Book {
string title;
int price;
};
int main() {
Book book[3];
for (int i = 0; i < 3; i++) {
cin >> book[i].title >> book[i].price;
}
for (int i = 0; i < 3; i++) {
cout << "제목: "<< book[i].title <<", 가격: "<< book[i].price<<"\n";
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: