- 2

C++ program that will define empty and booked seats for a cinema hall administration

Using for loop

22nd Jun 2021, 2:12 PM
Sujuma
Sujuma - avatar
1 ответ
+ 2
Your question is incomplete i guess . you can define array like this int array[20]; this is decleration of array which can store 20 values which type will be int If u want to set values then u can write like this int arr[]={1,2,3,4,5,6}; You can access array elements by writing with indexes arr[2] =3 arr[0]=1 As per you Question u need to book seats then first you should ask name of customer for this u need char array to store name and whatever you want to mention like date ...movie name......
22nd Jun 2021, 4:06 PM
A S Raghuvanshi
A S Raghuvanshi - avatar