Question: C++ Complete the code to input and store all the information in the structure Book: title, author, year and pages. Hint: each input will be

C++

Complete the code to input and store all the information in the structure Book: title, author, year and pages.

Hint: each input will be on a new line

C++ Complete the code to input and store all the information in

main.cpp 1 #include 3 using namespace std; 4 5 struct Book 6 string title;l 7 string author 8 string year; 9 int pages; 10 12 int main() t 13 14 //Declare structure variable 15 16 //Get 4 inputs 17 18 Cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!