Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Programing Problem In this assignment you will implement a program called call_cost_calculator.cpp that calculates the net cost of a call (net_cost), the tax on

C++ Programing Problem

image text in transcribed

In this assignment you will implement a program called "call_cost_calculator.cpp" that calculates the net cost of a call (net_cost), the tax on a call (call_tax) and the total cost of the call (total_cost). The program should accept a cell phone number (cell_num), the number of relay stations (relays), and the length in minutes of the cal (call_length) from a user. Please consider the following The tax rate (in percent) on a call (call_rate) is simply based on the number of relay stations (relays) used to make the call_(1 50 then tax_rate = 12%) The net cost of a call is calculated by the following formula: net_cost = (relays/50.0 * 0.40 * call_Length). The tax on a call is calculated by the following formula: call_tax = net_cost * tax_rate/100. The total cost of a call (rounded to the nearest hundredth) is calculated by the following formula: total_cost = net_cost + call_tax. All tax and cost calculations should be rounded to the nearest hundredths. Use the following format information to print the variables

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions