Question: Write the code in C language and include trace of the code. One of the public transportation companies operating in Tirana wants to see the
Write the code in C language and include trace of the code. One of the public transportation companies operating in Tirana wants to see the bus name which has
the highest profit while calculating daily total profits. This company has n buses working during the day.
The ticket price changes according to the passenger categories as the follow:
Full ticket: leke
Teacher ticket: leke
Student ticket: leke
Foreign student: free
Polis card: free
Elderly card: free
Input Specification: In the first line you will be given the number of all buses n n working
during the day and the fuel price a floatingpoint number
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
