Questionwrite down program that computes the cost of a long

Assignment Help Computer Engineering
Reference no: EM13349163

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: EM13349163

Questions Cloud

Question 1read the statement below and answer the following : question 1read the statement below and answer the following question lsquoincreased migration is one of the most
Question 1a describe clearly what you understand by gender : question 1a describe clearly what you understand by gender inequalityb discuss the reasons for gender inequality in
Question 1women and the workplaceeven as western europe and : question 1women and the workplaceeven as western europe and the us struggle to emerge from the global recession china
Questionwrite down mips program that prompts user for a : questionwrite down mips program that prompts user for a string reads the string and returns the number of occurrences
Questionwrite down program that computes the cost of a long : questionwrite down program that computes the cost of a long distance call. the cost of call is determined according to
Question1 assume that a file containing a series of : question1. assume that a file containing a series of integers is named number.dat and exists on the computers disk.
Question 1the development of feminism has led to attention : question 1the development of feminism has led to attention being focused on the subordinate position of women in many
Questionwrite down python program that will read list of : questionwrite down python program that will read list of temperatures from a data file you created called tempfile.txt
Question 1 the origin of social policy is closely linked to : question 1 the origin of social policy is closely linked to the establishment of the fabian society in uk. in mauritius

Reviews

Write a Review

Computer Engineering Questions & Answers

  Define a prefix of a string is a substring string

An exact match will override a prefix match. For instance, the prefix "car" matches the given word "car" exactly. Therefore, it is understood without ambiguity that "car" is an abbreviation for "car", not for "carriage" or any of the other words i..

  Find out the netbios information for a remote machine

How can you know DNS server running on a machine?How to get atmost information when you make DNS query?

  Questionusing matlabdescribes a function named insidecircle

questionusing matlabdescribes a function named insidecircle that takes 3 arguments as input- the center of the circle

  Explaining the access controls

Access controls are built on three key principles. List and define them briefly. And also explain how to apply these key principles on the smart phone devices GPS tracking system.

  What many regard as preferential treatment from the courts

What are the major similarities and differences between the juvenile and adult justice systems in the U.S. and should juveniles continue to receive what many regard as preferential treatment from the courts Why or why not

  Write down a html script that plays a "guess the number"

The program selects the number to be guessed by selecting a random integer in the range of 1 to 1000. The script displays prompt "Guess a number between 1 and 1000" next to a text field.

  Program to carrying out the arithmetic calculations

Write down a program which will help an elementary school student learn about the addition, division, subtraction, multiplication. Utilize the and function in order to generate two positive one-digit integers.

  Questionhow do you draw a hierarchy chart and propose the

questionhow do you draw a hierarchy chart and propose the logic for a program that contains housekeeping feature loop

  Make a perl script that accepts the name of directory

build a Perl script that accepts the name of directory as an argument to the script, and lists out the files in this directory that are older than 2 hours from the time the script is executed.

  Define what is internet storage

You would like to save the digital pictures you took on vacation onto your hard drive, but it would take up too much storage space. You have heard you can enhance your computer's storage capacity by using Internet storage.

  Transcripting the case

The CTO of organization that has requested your services would like for your forensics team prepare a transcript of what you could state to CTO.

  What is the meaning of operator precedence

Depending on operator precedence, what values might be associated with the expression 6 + 2 * 3.

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