Create a PhoneCall structure with one public field that contains the number of minutes in a call. Write a main()function that instantiates one PhoneCall object, such as myCallToGrandmaOnSunday. Assign...


Create a PhoneCall structure with one public field that contains the number of minutes


in a call. Write a main()function that instantiates one PhoneCall object, such as


myCallToGrandmaOnSunday. Assign a value to the minutes field of this object. Print


the value of the minutes field. Calculate the cost of the call at 10 cents per minute, and


display the results. Save the file as PhoneCall.cpp.



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here