EET492: Assignment 3-Structure
Write a program in 'C++' to implement followings:
● Declare a structure name 'Book'
The structure has four elements, Name, Author, Publisher, Price, and Year of Publishing
Create two structure type variables. One is conventional variable, and another is a pointer.
Create one function to store the value in the structure with conventional variable.
●
●
●
●
●
●
Create one function to store the value in the structure with pointer.
Create one function to show the value in the structure with conventional variable.
Create one function to show the value in the structure with pointer.
4