Write program that computes the cost of a long distance call

Assignment Help Computer Engineering
Reference no: EM133112

Question

Write down program that computes the cost of a long distance call. The cost of call is determined according to following rate schedules.


a.A call made between 8:00 AM and 6:00 PM is billed at a rate of 6 rupees per minute.

b. A call made before 8:00 AM or after 6:00 PM is charged at a rate of 3.75 rupees.

The input to program will consist of time the call started and length of call in minutes. The output will be cost of a call. The time is to be input in 24-hours notation, so time 1:30 PM is input as 13:30. The time will be input using 2 variables of type int, one used for hour and other used for minutes. The number of minutes for length of the call will also be input as a value of type int.

Reference no: EM133112

Questions Cloud

Explain the postmodernist view on migration : Explain the postmodernist view on migration Elaborate on Ravenstein's laws of migration
Describe clearly what you understand by gender inequality : Describe clearly what you understand by Gender Inequality Discuss the reasons for Gender Inequality in today's world Explain clearly six theoretical underpinnings of Gender Inequality
Critically analyze the impact of mass media : Exposure to mass media is the cultural universal that defines the modern world. Critically analyze the impact of mass media on gender roles in today's society
Write down mips program that prompts user for a string : Write down MIPS program that prompts user for a string
Write program that computes the cost of a long distance call : Write program that computes the cost of a long distance call
Create a program that displays all of numbers in the file : Create a program that displays all of numbers in the file
Marxist and socialist feminism : Radical feminism Marxist and socialist feminism Liberal feminism Black feminism
Write down python program : Write down Python program
An account of the historical development of social policy : The origin of social policy is closely linked to the establishment of the Fabian society in UK. In Mauritius the history of social policy can be dated back to the French colonisation period (i) Give an account of the historical development of so..

Reviews

Write a Review

Computer Engineering Questions & Answers

  Describe mutual strategy to maintain enterprise-level system

Describe mutual strategy to maintain enterprise-level system

  How to write code for selection sort, insertion sort

How to write code for selection sort, insertion sort. Using your performance of selection, bubble and insertion sort, add a counter in an appropriate place so as to measure the runtime of your code for example this capacity be a counter to track ..

  Propose a wiring plan for network servers

Propose a wiring plan for network servers.

  What is steady-state cpi

What is steady-state CPI

  How many address lines are needed to access memory

How many address lines are needed to access memory.

  How to produce a wired and wireless network plan

How to produce a wired and wireless network plan

  A non-linear circuit problem

Computer program which will calculate the voltage across a resistor in the circuit

  Accessing and reading a mouse

Accessing and reading a mouse

  Determine technology which has changed cafe,coffee shop

Determine technology which has changed cafe,coffee shop? Think things such as marketing, food preparation, inventory ordering or re-ordering, customer tracking, and more.

  The ways to depict constraint graph

The ways to depict constraint graph? illustrate how splitting a domain can be used to solve this problem.

  What is compensation of using rule sets

What is compensation of using rule sets

  Describe the term tco

Describe the term TCO

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd