If you have any doubts comment below
Code
#include <iostream>
using namespace std;
int main()
{
char l;
int packages;
float
total_maintanance,total_charges,total_packages_cost,maintainance_fee,package_cost,offer;
cout<<"Enter the letter of the plan:";
cin>>l;
if(l=='A' || l=='a'){
cout<<"Enter no:of packages
purchased:";
cin>>packages;
if(packages<50)
{
package_cost=49.99;
total_packages_cost = packages*package_cost; //to calculate the
total packages cost
maintainance_fee=4.99;
offer =
4.99*((float)5/100);
maintainance_fee
= maintainance_fee - offer; //maintainance fee after applying
offer
total_maintanance= packages*maintainance_fee;
total_charges=
total_packages_cost+total_maintanance;
cout<<"total charges= "<<total_charges;
}
else {
cout<<"package limit exceeded in this plan";
}
}
else if(l=='B' || l=='b')
{
cout<<"Enter no:of packages
purchased:";
cin>>packages;
//cout<<"hello";
if(packages>=50 &&
packages <100)
{
package_cost=44.99;
total_packages_cost = packages*package_cost; //to calculate the
total packages cost
maintainance_fee=4.99;
offer =
4.99*((float)10/100);
maintainance_fee
= maintainance_fee - offer; //maintainance fee after applying
offer
total_maintanance= packages*maintainance_fee;
total_charges=
total_packages_cost+total_maintanance;
cout<<"total charges= "<<total_charges;
}
else
{
cout<<"package limit exceeded in this plan";
}
}
else if(l=='C' || l=='c')
{
cout<<"Enter no:of packages
purchased:";
cin>>packages;
if(packages>=100)
{
package_cost=39.99;
total_packages_cost = packages*package_cost; //to calculate the
total packages cost
maintainance_fee=4.99;
offer =
4.99*((float)15/100);
maintainance_fee
= maintainance_fee - offer; //maintainance fee after applying
offer
total_maintanance= packages*maintainance_fee;
total_charges=
total_packages_cost+total_maintanance;
cout<<"total charges= "<<total_charges;
}
else
{
cout<<"package limit exceeded in this plan";
}
}
else
{
total_charges=0;
cout<<"Invalid plan is
selected";
}
return 0;
}



Output




An software company has three different promotion plans for its software purchase: plan A: each software...
Computer science help! A software company sells their software packages for $99.00 each. They would like you to write a program that will calculate and display an invoice for their customers. Quantity discounts are given according to the following table: Quantity Discount 1 - 9 No discount 10 – 19 20% 20 – 49 30% 50 - 99 40% 100 or more 50% Write a C++ program that asks for the customer’s name and the number of software packages sold...
Part 1: A mobile phone service provider has three different data plans for its customers: Package A: For $39.99 per month 4 gigabytes are provided. Additional data costs $10 per gigabyte. Package B: For $59.99 per month, 8 gigabytes are provided. Additional data costs $5 per gigabyte. Package C: For $69.99 per month, unlimited data is provided. Write a program that calculates a customer's monthly bill. It should ask which package the customer has purchased and how many gigabytes were...
A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Qt: 10 -19 Discount: 10% Qt: 20 -49 Discount: 20% Qt: 50 -99 Discount: 30% Qt: 100 or More Discount: 40% Write a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount. Python programming question
Code in c++ please
Q1: Software Sales A software company sells a package that retails for $99. Quantity discounts are given according to the following table: QuantityDiscount 10-19 20-49 50-99 100 or more 20% 30% 40% 50% : Write a program that asks for the number of units sold and computes the total cost of the purchase. Input validation: Make sure the number of units is greater than 0. Q2: Book Club Points Community Booksellers has a book club that...
2) Sullivan Software sells packages of a software program and one year's worth of technical support for $500. Ils packaging lists the $500 sales price as comprised of a software program at a price of $450 and technical support with a price of $100. with a $50 discount for the package deal. All of Sullivan's sales are for cash, and there are no returns. Sullivan sells the software program separately for $475 and offers a year of technical support separately...
Problem: Mobile Service Provider A mobile service provider has three different subscription packages for its customers: • Package A: For $50 per month, 5 GB data are provided. Additional data is $15 per GB. • Package B: For $65 per month, 10 data are provided. Additional data is $10 per GB. • Package C: For $75 per month unlimited data provided. Text messaging and voice services are included in all of the company's data packages. The Mobile Service Company offers...
Python Language
3. Shipping Charges The Fast Freight Shipping Company charges the following rates (per 500 miles shipped): 1. Number Guessing Game Write a program for players to guess the number that the program randomly generated. Your program should randomly generate an integer between 1 and 10. After a player guessing a number, your program should display "Too small", "Too large", or "That's it!". Weight of Package (in Kilograms) 2 kg or less Over 2 kg but not more than...
Part II – Cost Calculator (15 Points) A software company sells a package that retails for $ 99. Quantity discounts are given according to the following table: Quantity Discount 10 to 19 20% 20 to 49 30% 50 to 99 40% 100 or more 50% Write a program that asks the user to enter the number of packages purchased. The program should then display the discount percentage, amount of the discount (can be 0) and the total amount of the...
An Internet service provider has three different subscription packages for its customers: Package A: For $15 per month with 50 hours of access provided. Additional hours are $2.00 per hour over 50 hours. Assume usage is recorded in one-hour increments. Package B: For $20 per month with 100 hours of access provided. Additional hours are $1.50 per hour over 100 hours. Package C: For $25 per month with 150 hours access is provided. Additional hours are $1.00 per hour...
write in C++ Problem 1: Mobile Service Provider A cell 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 provided. Write a program that calculates a customer’s monthly bill. It should ask which package the customer has purchased...