Homework Questions? Ask a Tutor for Answers ASAP
A small airline company bought a computer to automat reserving tickets. it asks you to build and development its system. This airline company has one plane which has ten seats . The ten seats split into two zones first five seats for business man other for normal peoples. write code to solve these problems as following: -Define a variable represents the booking zone. -display these sentences on the screen. Press 1 for business man . press 2 for normal people. -Define variables represent five seats for each zone (counter for each zone) -Reserve a ticket for one person (verify if there is empty seats then decrease the counter) -Repeat the above code to five seats. If we suppose a variable represents a passport number for person as following: double pas_num; cout<< "Enter the passport number"<> pas_num; Then we define a single array for each zone in the plane as following: doubleB_man double people write two for loops to enter passport numbers for the people booking. write a function take the array as parameters and print it. Write a code to search it any passport number is XXXXX the array or not. (for loop to passing all array elements and if statement within (for-statement) examines the gives passport number equal to array element or not) Write a function that takes three parameters as input (double pas_num.double arr,int size) Put the code in task 8 in it .This function returns 0 if pas_num didnt find in arr array and returns 1 if it finds it. Group your above answer and design a program....
Hi RRJha. Yes I still need the help asap please ..and the deadline is today at 10 pm .. Thank you.
This is my question..
Ok am waiting . Thank you very very much RRJha.
Thank you very much for the answer I am very happy with the answer Mr RRJha ..
Keep in touch.