Я дошел только до этого, а дальше не знаю, помогите пожалуйста!
Код: Выделить всё
#include <conio.h>
#include <iostream.h>
int _tmain(int argc, _TCHAR* argv[])
{
int I, J, B, C, V, P[100];
cout<<"Enter Chapters Amount : ";
cin>>C;
for (I = 1; I < C; I++)
{
cout<<"Enter Pages Amount In Chapter #";
cout<<I;
cout<<" : ";
cin>>P[I];
}
cout<<"Enter Volumes Amount : ";
cin>>V;
getch();
return 0;
}