[Solved] : Question 13415

A phone call cost 10 cents per minute. Write a program that generates two random numbers for hours and minutes and calculate the cost of the call. Look at exercise 12.6page 224 that shows how to create a random number.(Note: there is no input from the user).
Button Make a call
When this button is clicked, two random numbers are generated. A call cannot be more than 5 hours long. The generated hours and minutes are displayed on labels. Calculate the cost of the call in minutes and display it on a label.
The use of correct types, formatting and constants will earn you marks.

Expert Answer

Answer to : Question 13415

Leave a Comment


We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?