A bookstore summarizes monthly transaction by keeping the following information for each book in stock: Book identification number Inventory balance at the beginning of the month Number of copies received during the month Number of copies sold during the month Write a C++ program that accepts this data for each book and then displays the book identification number and an updated book inventory balance, using this relationship: New balance = Inventory balance at the beginning of the month/Number of copies received during the month + Number of copies sold during the month Your program should use a while statement with a fixed-count condition so that information on only three books is requested.
Explanation / Answer
#include void main() { int Book_ID; int IN_Start; int C_R; int C_S; int N_B; int c=1; while(c