Trending ▼   ResFinder  

ICSE − Q & A

ICSE
Indian Certificate of Secondary Education (ICSE), New Delhi
+Fave Message

Ask a Question

Answer a Question!

ResFinder - Thousands of Practice Papers

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 needs to be written.
asked by Anugrahkapoor24 (anugrahkapoor24) 6 years ago
0
Hey Guys!!
I'm so proud to see all of your results! I scored a 96.6 and I am pretty happy about it.
I scored less marks in English (89) .
On the other hand I got 99 in Hindi, 100 in C.A. which is good for me.
the surprise was Science and H.C.G. (97 and 98 respectively) which was totally unexpected because I was weak in those subjects. Thanks to this community for helping me get such amazing marks and the only way I can repay Res is by helping the next Batch coming along. Will you help me?
Anyways I'm really happy for all of you and wish you success for your future endeavors.
All The Best in Life.
-AK.
asked by Aameya Kulkarni (aameyak) 6 years ago
3
Omg congo y'all, shocked to find out that everyone's a scholar here ๐Ÿ˜‹ But I'm so happy for all of us...and even if y'all are disappointed remember there's much more...12th me aag laga denge๐Ÿ˜˜
asked by Gargie D'souza (gar_d02) 6 years ago
1
guys i got 97.6% is that good ? my parents r shifting me to state board because their very disappointed :(
asked by - (arhanv) 6 years ago
3
Gaaah I got 86.8 I'm happy
asked by Leander Vikram (eldiablo0829) 6 years ago
5
do we calculate our icse percentage for best 5 subjects or 6 subjects?
asked by Deekshitha Alla (alladee3) 6 years ago
1
can anyone give me their UID and all for results?
asked by Shriya (psm09) 6 years ago
0

+ 1 more questions by psm09  

on result wall do we post best 5 w/ english or overall?
asked by S T (san_tara) 6 years ago
1
Swayam Das of Mumbai is the ICSE topper with 99.40% marks
asked by Poorvi Chetty (chetty) 6 years ago
1
4 minutes to go!!!
asked by Siddhant Joshi (siddhant94) 6 years ago
0

<< Prev

    Page 474    

Next Page >>

ICSE chat

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