0
is there anybody very good in c programming to help me with a simple problem??
please message me i would love ur help
2 Respostas
0
okay so it is a homework and i cant tell where i made a mistake:
• The first 2 minutes is 100$
• Every additional 10 seconds is 5$
Question:
Write a program that is going to read n phone call times (in seconds). And then, the program will calculate the total amount collected from all users.
Input specification
You will be given an integer number (n). Then, the following n lines will contain the talk time (in seconds) for n people.
Output specification
Calculate and show the amount due from the user.
0
it needs to have a while loop