Professional Documents
Culture Documents
###########################
1
22
333
4444
55555
666666
7777777
88888888
999999999
--------------------------------------------
5. WAP that prints a histogram of frequencies of characters occurring in a
message.
Test data: msg=hello hi
Expected output: h **
e *
l **
o *
i *
----------------------------------------
6. Collect atleast 15 real-time medical symptoms from google. WAP to display 15
symptoms to patient and ask or prompt him/her to enter their illhealth symptoms
from the list displayed. Analyse the given symptoms and display the disease name to
the patient.
----------------------------------------------
7. Generate Supermarket bill with the below constraints:
Output details:
price calculation= food===(item price+ 1% of item price)*itemcount
cosmetics===(item price+ 2% of item price)*item count
luxury===(item price+ 5% of item price)*item count
total price=sum of all items price
deductions==
if regular customer then: 1% of total price will be the discount
output format:
---------------------------------------
CBIT Academic Examination Cell
----------------------------------------
Name FN duty AN duty
-----------------------------------------
kkk x
ppp x
sss x x
.
.
.
-------------------------------------------
x - represents invigilation duty