A mobile company charges the following rates to the user: For first 5 mins = $5 For next 10 mins = $2 Beyond 15 mins = $1 All users are charged for minimum $10 on monthly recharge Write a program to read the name of the users and their monthly bill and print the same.
Q: Write a program that reads a series of pairs of numbers as follows: a) Product number b) Quantity…
A: C used to answer this question
Q: A soft drink company recently surveyed 12,467 of its customers and found that approximately 14…
A: Given: A soft drink company recently surveyed 12,467 of its customers and found that approximately…
Q: Prompts the user for 4 one-word items and their corresponding prices in US dollars • Compute the…
A: Step 1 : Start Step 2 : Declare the local variables to store the Item Names and their Respective…
Q: 01: Draw a flowchart for work the traffic lights ? Q2: Write the algorithm required to find the…
A: Q1 flowchart is as given below :
Q: The monthly payment for a given loan pays the principal and the interest. The monthly interest is…
A: Answer :
Q: Write a simple flowchart and pseudocode: The Dash Cell Phone Company charges customers a basic rate…
A:
Q: The following table shows the rate of commission that will be paid to the salesman according to the…
A: PROGRAM STRUCTURE: Include the required header files. Start the definition of the main function.…
Q: IN C PROGRAMMING LANGUAGE Input a 5 digit positive integer and print the count of ODD digits in the…
A: I give the code in C along with output and code screenshot
Q: Suppose you own a tourism company for and would like to calculate the fees to be paid by a client.…
A: The answer is given below.
Q: Prompts the user for 4 one-word items and their corresponding prices in US dollars .Compute the…
A: The answer is given below:-
Q: Write a program that calculates the cost of travelling using a private jet. The program must request…
A: for input from user: Console.WriteLine("Enter name of the destination and the distance(in km) of the…
Q: Five Star Retro Video rents VHS tapes and DVDS to the same connoisseurs who like to buy LP record…
A: Below is the code screenshot and output:
Q: Assuming that all residents are given the first 1000L of water for free by the municipality, then…
A: //code in c program #include<stdio.h>#include<conio.h> int main() { const price=2; int…
Q: Write a program that prompts the user to input any digit then swap the position of the first and the…
A: Include the header file. Inside the main function take the input of the element. Take the first…
Q: Software Sales A software company sells a package that retails for $99. Quantity discounts are given…
A: Algorithm: 1. Input unit sold 2. Check if quantity is not negative. 3. Check the condition for…
Q: A country charges income tax as follows based on one’s gross salary. No tax is charged on the first…
A: 1) Since you have not specified programming language, I have written program in python 1) Below is…
Q: For each used car a salesperson sells, the commission is paid as follows: $20 plus 30% of the…
A: Program: //include the header file #include<iostream> using namespace std; //definition of…
Q: A mail order house sells five different products whose retail prices are as follows: * product 1:…
A: Logic: Use while loop to check the user inputs -1 for productNumber. Repeated accept e product…
Q: 1. In this program you will produce an output of the total tax based on your income and marital…
A: In the below steps you can find the complete code in python. Since there is no language given in the…
Q: Q1/ Write a program which takes PIN number from the user as input and then verifies his pin. If pin…
A: The given problem is related to creating a program, where the user will input a pint. The pin will…
Q: A) Write a program that inputs temperature and display a message according to the following data:…
A: Program: #include <iostream> using namespace std; int main() { float temp; cout <<…
Q: A mail order house sells five different products whose product numbers and retail prices are:…
A: Required: c++
Q: 3. Given the values of three variables a = 2, b = 4, c = 7, write a program to (1) Calculate the sum…
A: I will provide the answer of this question in C++ programming language.
Q: A company rents three types of cars. The rental charge for cars is based on type of car, mileage and…
A: The inputs will be type, mileage and number of days The output will be type, daily rental, number of…
Q: The population of a town A is less than the population of town B. However, the population of town A…
A: while (popA < popB) { popA = (int)(popA * rateA + popA); popB = (int)(popB * rateB +…
Q: he population of a town A is less than the population of town B. However, the population of town A…
A: PROGRAM CODE: import java.util.*; public class Main{ public static void main(String[] args) {…
Q: A mail order house sells five different products whose product numbers and retail prices are:…
A: C++ used to answer this question
Q: Draw a flowchart that will design a retirement planning calculator for Skulling Financial Services.…
A: The user input, is read as N- number of working years remaining M -Annual amount of money bal-…
Q: Write a program that prompts the user to enter the number of courses taken by a student. The program…
A: C++ used to answer this question
Q: Cindy uses the services of a brokerage firm to buy and sell stocks. The firm charges 1.5% service…
A: Program to find the invested amount, the total service charges, amount gained or lost, and the…
Q: Suppose the voltmeter voltage is constrained to the range Vmin = 12 volts ≤ Vm ≤ Vmax = 18 volts.…
A: Hello Student. Warm welcome from my side. Hope you are doing great. I will try my best to answer…
Q: (c programming) Write a program using switch to input a letter (L) and and number of cars(C). The…
A: Program using switch to input a letter (L) and and number of cars(C) is below with commented…
Q: Annsam Company Ltd is a sales and marketing company. The Management of the company has decided to…
A: Given that Annsam Company Ltd is a sales and marketing company. The Management of the company has…
Q: An International Internet phone company has three different subscription packages for its…
A: Given: To write a program that calculates a customer’s monthly bill. It should input the customer…
Q: e to 10 decimal places is 2.7182818285 Write a program that prompts the user for a number of decimal…
A: C++ Code: #include <iostream>#include <iomanip>using namespace std; int main() { //…
Q: p-5 P=p%2 if p!=5 or p<=5: print("Engineering Department") else: print("Business Department") What…
A: Lets see the solution.
Q: A software company sells a package that retails for $99. Quantity discounts are given according to…
A: question :- Program using C++ language without the use of logical operators (&&, || ,!) To…
Q: Write a program to: (C++ Language) Sample Input / Output where the total number of seconds is the…
A: Program: //Include required functions#include <iostream>using namespace std;//Define main…
Q: The population of a town A is less than the population of town B. However, the population of town A…
A: Program description: n1 and n2 are the user input integer variables that store the populations of…
Q: A county collects property taxes on the assessment value of property, which is 60 percent of the…
A: Since no programming language is mentioned, I am using python. Algorithm: Start Read actual value…
Q: One metric ton is approximately 2,205 pounds. Write a program that prompts the user to input the…
A: The below given C++ program will obey the following rubrics: Including necessary header files. In…
Q: 3prep Write a Python program for an online MoonBucks coffee order. Coffee is sold by the pound, and…
A: Program AlgorithmDeclare the required variables and take the input from the user for the pound’s…
Q: Write a program to calculates the cost to a company for a proposed raise. The program prompts for…
A:
Q: Suppose a person wants to apply for a loan in a bank. The bank gives loan on a fixed interest rate…
A: SOURCE CODE: #include<iostream> using namespace std; int main(){ double…
Q: An Internet service provider charges customer based on hours used. The rules are: First 100 hours,…
A: Based on python
Q: Using switch syntax to write a program that calculates and prints the bill for a cellular telephone…
A: Start Prompt the user to enter the account number and service code and store them in proper…
Q: a runner runs 14 kılometers in 45 minutes and 30 sec- onds. Write a program that displays the…
A: => Here in the program ask for a calculating average speed in miles per hour.
Q: Write a program that asks the user to enter their monthly costs for each of the following…
A: Please find the answer below :
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
A mobile company charges the following rates to the user:
For first 5 mins = $5
For next 10 mins = $2
Beyond 15 mins = $1
All users are charged for minimum $10 on monthly recharge Write a program to read the name of the users and their monthly bill and print the same.
Step by step
Solved in 4 steps with 2 images
- Malcolm Movers charges a base rate of $200 per move plus $150 per hour and $2 per mile. Write a program named MoveEstimator that prompts a user for and accepts estimates for the number of hours for a job and the number of miles involved in the move and displays the total moving fee.Write a program named Admission for a colleges admissions office. The user enters a numeric high school grade point average (for example, 3.2) and an admission test score. Display the message Accept if the student meets either of the following requirements: A grade point average of 3.0 or higher, and an admission test score of at least 60 A grade point average of less than 3.0, and an admission test score of at least 80 If the student does not meet either of the qualification criteria, display Reject.(Data processing) a. Write a program to display the following two prompts: Enter a month (use a 1 for Jan, etc.): Enter a day of the month: Have your program accept and store a number in the variable month in response to the first prompt and accept and store a number in the variable day in response to the second prompt. If the month entered is not between 1 and 12, print a message informing the user that an invalid month has been entered. If the day entered is not between 1 and 31, print a message informing the user that an invalid day has been entered. b. What will your program do if the user enters a number with a decimal point for the month? How can you make sure your if statements check for an integer number? c. In a non-leap year, February has 28 days; the months January, March, May, July, August, October, and December have 31 days; and all other months have 30 days. Using this information, modify the program written in Exercise 3a to display a message when an invalid day is entered for a user-entered month. For this program, ignore leap years.
- An Internet service provider has three different subscription packages for its customers: Package A: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. Package B: For $13.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour. Package C: For $19.95 per month unlimited access is provided. Write a program that calculates a customer’s monthly bill. It should ask the user to enter the letter of the package the customer has purchased (A, B, or C) and the number of hours that were used. It should then display the total charges. Using Visual Basic I need help finishing this code this is what I got so far Dim decpackageA As DecimalDim decpackageA1 As DecimalDim decpackageB As DecimalDim decpackageB1 As DecimalDim decpackageC As DecimalDim inthours_worked As IntegerDim dectotal_chargespackageA As DecimalDim dectotal_chargespackageB As DecimalDim dectotal_chargespackageC As DecimalDim dbltotal_charges As Double 'Assign the textbox…An Internet service provider has three different subscription packages for its customers: Package A: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. Package B: For $13.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour. Package C: For $19.95 per month unlimited access is provided. Write a program that calculates a customer’s monthly bill. It should ask the user to enter the letter of the package the customer has purchased (A, B, or C) and the number of hours that were used. It should then display the total charges. Requirements: Please include a Flowchart and the pseudocode for your program and use Visual BasicA mobile company charges the following rates to the user:For first 5 mins = $5For next 10 mins = $2Beyond 15 mins = $1All users are charged for minimum $10 on monthly recharge Write a C++ program to read the name of the users and their monthly bill and print the same.
- A mobile phone service provider has three different subscription packages for its customers: Package A: For $39.99 per month, 450 minutes are provided. Additional minutes are $0.45 per minute. Package B: For $59.99 per month, 900 minutes are provided. Additional minutes are $0.40 per minute. Package C: For $69.99 per month, unlimited minutes are provided. Write a program that calculates a customer’s monthly bill. It should ask the user to enter the letter of the package the customer has purchased (A, B, or C) and the number of minutes that were used. The program should display the total charges.Fox International sells pre-paid calling card with the following features: Calls to USo 1.2 cents per minute plus a 49 cent connection fee per call Calls to Europeo 2.3 cents per minute plus a 49 cent connection fee per call Calls to Australiao 6.4 cents per minutes plus a 49 cent connection fee per callWrite a program that work out the charges for the month. The program should accept the followinginformation: Account holders name Card number Starting Balance on card For US callso Total number of minutes of all callso Total number of calls made For European callso Total number of minutes of all callso Total number of calls made For Australian callso Total number of minutes of all callso Total number of calls madeYou are NOT expected to error check your inputs for this assignment. (e.g. checking for negative values,etc.). There is NO GST charged on the calls as the GST was paid when the card was purchased.Format of output:Review the test plan to see how the user would like the…An Internet service provider has three different subscription packages for its customers:Package A: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00per hour.Package B: For $13.95 per month 20 hours of access are provided. Additional hours are $1.00per hour.Package C: For $19.95 per month unlimited access is provided.Write a program that calculates a customer’s monthly bill. It should ask the user to enter theletter of the package the customer has purchased (A, B, or C) and the number of hours thatwere used. It should then display the total charges. Please program in C++ Requirements: Please include a Flowchart and the pseudocode for your program
- Mobile Service ProviderA mobile phone service provider has three different subscription packages for itscustomers:Package A: For $39.99 per month 450 minutes are provided. Additional minutes are$0.45 per minute.Package B: For $59.99 per month 900 minutes are provided. Additional minutes are$0.40 per minute.Package C: For $69.99 per month unlimited minutes provided.Write a program that calculates a customer’s monthly bill. It should ask which packagethe customer has purchased and how many minutes were used. It should then displaythe total amount due.Input Validation: Be sure the user only selects package A, B, or C.USING C++ PROGRAMMING LANGUAGE A mobile phone service has three different data plans for its customers: PLAN A: For $19.99 per month, 2 gigabytes are provided. Additional usage costs $8.00 per gigabyte. PLAN B: For $59.99 per month, 8 gigabytes are provided. Additional usage costs $8.00 per gigabyte. PLAN C: For $79.99 per month, Unlimited data is provided. Write a program that calculates a customer’s monthly bill. It should input the customer name, which plan was purchased, and how many gigabytes were used. It should then create a bill that includes the input information and the total amount due. It should also display how much money plan A customers would save if they purchased plan B or C, and how much money plan B customers would save if they purchased plan C. If there would be no savings, no message should be printed. Wherever possible, use named constants instead of numbers.Write a program to calculates the cost to a company for a proposed raise. The program prompts for the number of employees and each employee's salary then calculates the individual raise and the total cost of raises. Employees earning RM25,000 or less will receive a 5% raise. Employees earning between RM25,001 and RM35,000 will receive a 4% raise. Employees earning RM35,001 or greater will receive a 3% raise. Display each employee's raise and the total raises. Given below are the user-defined function prototypes : /* the function getNumber returns an integer value entered by the user giving the number of employees */ int getNumber(); /* the function getSalary returns a float value entered by the user giving the employee's salary */ double getSalary(int empNumber); /* the function calcRaise returns the raise calculated for the salary passed */ double calcRaise(double salary); /* the function totalRaises returns the new total of raises using the current total and current raise being…