Question: Write a C + + program for the following task: Two phone numbers and the duration of the call in minutes are read from standard
Write a C program for the following task: Two phone numbers and the duration of the call in minutes are read from standard input. Calculate the cost of the call, knowing that the first minutes cost dollarsmin and after those minutes, the price per minute is dollars. Additionally, if both phone numbers are from the same operator, a discount should be applied.Operator uses Operator uses
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
