Trending ▼   ResFinder  

ISC 12th − Q & A

ISC 12th
Indian School Certificate Examination (ISC), New Delhi
+Fave Message

Ask a Question

Answer a Question!

Please solve this question
A ticket at a ticket selling booth at a fair is priced at Rs.2.50/-. The booth keeps track of the total number of people who have visited the booth, the number of people who have actually purchased a ticket and the total amount of money collected. Design a class called Ticbooth which includes the following Members:

Class name	Ticbooth
Data members

no_people	number of people who have visited the booth.
amount	total amount of money collected.
Member functions

void initial() 	To assign initial values to data members.
void notsold()	
Increment total number of people only visiting the booth and not purchasing a ticket.

void sold()	
Increment total number of people purchasing a ticket and the amount collected when a ticket is sold.

void disp_totals()	
To display the total number of people visiting the booth (the total number of people purchasing the ticket as well as those not purchasing a ticket).

void disp_ticket()	
To display the total number of tickets sold and the amount collected.

Specify the class Ticbooth giving details of the functions void initial(), void sold(), void notsold(), void disp_totals() and void disp_ticket(). The main function is to be written.
asked by Anugrahkapoor24 (anugrahkapoor24) 6 years ago
0

Other Questions on This Topic

Back after a long time to Respaper. What's up guys? 👊🏻
asked by Rishi dey chowdhury (rishidc) 1 year ago
0

+ 2 more questions by rishidc  

Solved paper of Computer Science Paper (2019)
asked by Arnav Shaw (shreyaagrahari_31_) 2 years ago
0
Any notes/chapter summaries, etc. for accounts isc 12?
asked by Sahaj Shah (eternityseeker) 3 years ago
0
what are the prose and poems(echoes and reveire) which are most probable to come in eng paper 2 2020?
asked by Karan Patrick (karan_dodod) 4 years ago
1
guys,use this link to get some of respapers

https://drive.google.com/file/d/1UvdHjmUcKs1xAQNHjKmjgp-1WURiIfPk/view?usp=sharing

https://drive.google.com/file/d/1L0P8z0x7orISj_zc0_gs2Iosj9Xz46un/view?usp=sharing

https://drive.google.com/file/d/1GFdP38QANqIY2OWVAekc2OzgKJZ2AV0W/view?usp=sharing

https://drive.google.com/file/d/1ZlOpK8pjf3XhXXfIPkfS6yzQmEJOS2Aq/view?usp=sharing
asked by Tiara Elizabeth (thejtthomas) 4 years ago
0

+ 1 more questions by thejtthomas  

Isc chemistry specimen paper 2019 solved
asked by Dhanvanth (dannybro) 4 years ago
0
We should create a whatsapp group for ISC 2020 in which we can share all our prelim papers or notes...This respaper has became paid...😭😭😭
asked by Devansh Tripathi (drdevansh) 4 years ago
3
How to get prelim papers without app
asked by Zootopia (zootopia1256) 4 years ago
0
how's everyone doing...
asked by Roshan Geo Roy (yoboyyy) 4 years ago
0

Next Page >>

ISC 12th chat

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us