An online book club awards points to its customers based on the number of bookspurchased each month . Points are awarded as follows:Books Purchased01234 or morePoints Earned051530soWrite a program that asks the user to enter the number of books purchased this monthand then displays the number of points awarded .
Q: Happy Numbers Programming challenge description: A happy number is defined by the following process.…
A: java used to answer this question:
Q: (Calculating the Product of Odd Integers) Write an application that calculates the product of the…
A: PROGRAM CODE: class Main{ public static void main(String args[]) { int a=1; for(int…
Q: /rite a program that will ask the user to continuously enter a number until such time that the…
A: In step 2 I have pasted the python code, please go through it.
Q: You work in a local gift shop that is currently running a large sale. You have been asked to create…
A: You have not mentioned the programming language choice. We will help you out with this in java.
Q: Java VENDING MACHINE Write a program that simulates a vending machine. The program should display a…
A: Java Programming refers to the object oriented programming languages that are used to develop the…
Q: A cookie recipe calls for the following ingredients:1.5 cups of sugar1 cup of butter2.75 cups of…
A: CODE: def main(): cookies = float(input("How many cookies would you like to make?\n>"))…
Q: The monthly payment for a given loan pays the principal and the interest. The monthly interest is…
A: Answer :
Q: **using C# and Visual Studio design a program to satisfy the below problem** Create an application…
A: using System; class GuessGame { static int getRandom(){ Random random = new Random(); return…
Q: 2. (Phone key pads) The international standard letter/number mapping found on the telephone is shown…
A: The required Java code is given below: import java.util.Scanner;public class Keypad{ public static…
Q: Reza Enterprises sells tickets for buses, tours, and other travel services. Because Reza frequently…
A: Algorithm: Start READ Num Compute: lastDigit = Num % 10 Compute: modNum = Num / 10 IF modNum% ==…
Q: Malcolm Movers charges a base rate of $200 per move plus $150 per hour and $2 per mile. Write a…
A: Answer :
Q: (Phone key pads) The international standard letter/number mapping found on the telephone is shown…
A: PROGRAM CODE: import java.util.Scanner; public class Main { public static void main(String[] args)…
Q: A mail-order house sells five products whose retail prices are as follows: Product 1, $2.98; product…
A: Note: Below is the required program in the C++ language. Programming Approach: Including necessary…
Q: A mail-order house sells five products whose retail prices are as follows: Product 1, $2.98; product…
A: Note: Programming language is missing in the question. So we will answer this program in C++…
Q: design a program that changes currency from dollar to euro and from dollar to any other currency
A: Algorithm: The algorithm for the program is: Start initialise the variables Read the value from the…
Q: A Hotel Resérvation Program Write a program that allows the user to reserve a room in a hotel and…
A: Given: To write a Java program for hotel reservations.
Q: Guessing Game Application Create the Guessing Game Application. The application should receive two…
A:
Q: Q1 Election Commission of Malaysia (SPR) wants to develop a registration of voter’s program. To…
A: Rectangle: a process Parallelogram: input/output Oval: start/ end Diamond: Decision making
Q: A movie theater only keeps a percentage of the revenue earned from ticket sales. The remainder goes…
A: Following is the C++ program and its approach is given below: Declare necessary header files.…
Q: sample output: Enter product number (1-5) (0 to stop): 1 Enter quantity sold: 5 Enter product…
A: import java.util.Scanner; public class Tester{ public static void main(String[] args) { Scanner…
Q: 11. Circuit Board Profit An electronics company sells circuit boards at a 40 percent profit. If you…
A: Java program to find the profit on the circuit board. The profit is 40 percent on selling a circuit…
Q: 3. Roman Numerals . Write a program that displays the Roman numeral version of a decimal number…
A:
Q: A bag of cookies holds 40 cookies. The calorie information on the bag claims that there are 10…
A: Code: import java.util.Scanner;public class CookieCalorieCounter{ public static void main(String[]…
Q: Tom and Jerry opened a new lawn service. They provide three types of services: mowing, fertilizing,…
A: Objective: To design an algorithm that prompts the user to input the lawn area, the number of…
Q: QUESTION5: The Speed of Sound. The following table shows the approximate speed of sound in air,…
A: PROGRAM CODE: #include <iostream> // include header file for input output…
Q: QUESTION5: The Speed of Sound. The following table shows the approximate speed of sound in air,…
A:
Q: Tom and Jerry opened a new lawn service. They provide three types of services: mowing, fertilizing,…
A: Below is the algorithm for the given question: -
Q: of the month commission for their salesperson. The user should input the salesperson's sales for the…
A: Introduction of the Program: The java Program takes the Salesperson's name, Monthly Sales Amount,…
Q: Box Office: A movie theater only keeps a percentage (20%) of the revenue earned from ticket sales.…
A: Step 1:- Program Approach:- (i)Include two header file (ii) iomanip header file is used for setw()…
Q: Financial application: calculate tips) Write a program that reads the subtotal and the gratuity…
A: logic:- read subtotal, gratuityRate gratuity=(subtotal*gratuityRate)/100 total=subtotal+gratuity…
Q: *using C# and Visual Studio design a program to satisfy the below problem** Create an application…
A: using System;class HelloWorld { static void Main() { Random random = new Random(); int n =…
Q: Five Star Retro Video rents VHS tapes and DVDs to the same connoisseurs who like to buy LP record…
A: the requirement is to write a program where the customer will enter the number of videos required on…
Q: 2. (Phone key pads) The international standard letter/number mapping found on the telephone is shown…
A: import java.io.*;class Test{ public static void main(String[] args)throws Exception{…
Q: Selling a new vehicle pays a salesperson $1500. Selling a used vehicle pays a commission of 5% of…
A: In the given question, programming language is not mentioned to write the code.So, I choose java to…
Q: You are a Burger and Fries stall owner that would want to automate the computation of your orders.…
A:
Q: At a certain university, students have to submit their exams online. The administration decides that…
A: Algorithm: Start READ InitialGrade IF InitialGrade<0 AND InitialGrade>100: PRINT "Grades…
Q: Question 7
A: Following is the C++ program and its approach is given below: Declare necessary header files.…
Q: Problem definition: A college wants to know how well its students did on an exam. The following…
A: Line "1" is not a syntax error, but the number of students need not be decimal value. So you can…
Q: Use C++ programming language Ingredient Adjuster A cookie recipe calls for the following…
A: Formulas to calculate the number of cups of each ingredient needed for the specified number of…
Q: I need help with this solution in pseudocode.
A: Start the process by accepting zip code and age from user Continue if zip code is not zero Ask for…
Q: An online book club awards points to its customers based on the number of books purchased each…
A: NOTE: SINCE THE LANGUAGE OF THE CODE IS NOT GIVEN, I HAVE USED C++ FOR THE SOLUTION. Define header…
Q: Q1 Election Commission of Malaysia (SPR) wants to develop a registration of voter’s program. To…
A: Variations in Voter Identification Laws Voter ID laws can be categorized in two ways. First, the…
Q: Ingredient Adjuster A cookie recipe calls for the following ingredients: • 2.5 cups of sugar • 1 cup…
A: The program is written in Python. check the program screenshot for the indentation. Please check the…
Q: Irite a program that prompts the user to input an integer between 0 and 35. If the number is less…
A: #include <iostream>#include <iomanip> Below is the code for a given requirement using…
Q: Software Sales A software company sells a package that retails for $99. Quantity discounts are given…
A: public class SoftwareSales { public static void main( String[] args ) { Scanner…
Q: te a JAVA PROGRAM as a Currency Converter program. The program performs Currency Exchange operation…
A: I have the code below:
Q: Software Šales A software company sells a package that retails for $99. Quantity discounts are given…
A:
Q: ## Q4. Roman numeral converter Write a program that asks the user to enter a number within the range…
A: c++ used to answer this question
Q: Last month Joe purchased 100 shares of stock. Here are the details of the purchase: • When Joe…
A: Given: Last month Joe purchased 100 shares of stock. Here are the details of the purchase: • When…
Q: The company « Super discounted used cars inc.» pays their employees according to this chart: 250$…
A: Introduction The given details are related to calculating the salary of employees working for a Car…
An online book club awards points to its customers based on the number of books
purchased each month . Points are awarded as follows:
Books Purchased
0
1
2
3
4 or more
Points Earned
0
5
15
30
so
Write a
and then displays the number of points awarded .
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
- Software Sales A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Quantity Discount 10–19 20% 20–49 30% 50–99 40% 100 or more 50% Create an application that lets the user 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.Paint Job Estimator A painting company has determined that for every 115 square feet of wall space, 1 gallon of paint and 8 hours of labor will be required. The company charges $20.00 per hour for labor. Create an application that allows the user to enter the square feet of wall space to be painted and the price of the paint per gallon. The program should display the following data: • The number of gallons of paint required • The hours of labor required • The cost of the paint • The labor charges • The total cost of the paint jobSerendipity Booksellers has a book club that awards points to its customers based on the number of books purchased every month, The points are awarded as follows 1.If a customer purchases 0 books, he or she earns points 0 If a customer purchases 1 books, he or she earns points 5 If a customer purchases 2 books, he or she earns 15 points If a customer purchases 3 books, he or she earns 30 points If a customer purchases 4 or more books he or she earns 60 points Design a program using pseudocode that asks the user to enter the number of books that he or she has purchased this month and displays the number of points awarded . Here are some necessary parameters to follow to help solve the problem. Please write line numbers before each line of the algorithm, include blank numbered lines between modules and write comments 1.Create a main module. It should declare one local variable and call two other modules 2. Create a module to get input from the software user 3.Create a module to…
- Serendipity Booksellers has a book club that awards points to its customers based on the number of books purchased every month, The points are awarded as follows 1.If a customer purchases 0 books, he or she earns points 0 If a customer purchases 1 books, he or she earns points 5 If a customer purchases 2 books, he or she earns 15 points If a customer purchases 3 books, he or she earns 30 points If a customer purchases 4 or more books he or she earns 60 points Design a program using pseudocode that asks the user to enter the number of books that he or she has purchased this month and displays the number of points awarded . Here are some necessary parameters to follow to help solve the problem. Please write line numbers before each line of the algorithm, include blank numbered lines between modules and write comments Create a main module. It should declare one local variable and call two other modules Create a module to get input from the software user Create a module to…A software company sells a package that retails for $99. Quantity discounts are given according to the following table:Quantity Discount10–19 20%20–49 30%50–99 40%100 or more 50%Create an application that lets the user 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.__ComputeSumOfDigits that prompts the user to type an integer and computes the sum of the digits of that integer.
- Additional Notes: USING C# You cannot add two flights with the same flight number When you select “View Flights”, a list containing the Flight number, origin and destination for each flight must be shown. When you select “View a particular flight”, a list of all flights should be displayed and the user must be allowed to enter a particular flight number. All the information on that selected flight must be displayed. All the customers who are booked on that flight must SPECIAL NOTE: A customer can only be deleted if there are no bookings for that customer. A flight can only be deleted if there are no customers booked on the flight. You must extend the core design and add the functionality to add customers and booking features to the system. The information that must be recorded on a customer is as follows: A customer ID must be assigned to each customer by the system. (NOT entered by the user) The customer’s first name The customer’s last name. The customer’s phone (a string type…Flow Chart Ask the user his/her birthdate. Compute for the age. Display "you are still a minor" if age < 18 "you are an adult" if age => 18 "you are a senior citizen" if age => 60Name Formatter Create an application that lets the user enter the following pieces of data: • The user’s first name • The user’s middle name • The user’s last name • The user’s preferred title (Mr., Mrs., Ms., Dr., etc.) Assume the user has entered the following data: • First name: Kelly • Middle name: Jane • Last name: Smith • Title: Ms. The application should have buttons that display the user’s name formatted in the following ways: Ms. Kelly Jane Smith Kelly Jane Smith Kelly Smith Smith, Kelly Jane, Ms. Smith, Kelly Jane Smith, Kelly
- Random Number Guessing Game Create an application that generates a random number in the range of 1 through 100 and asks the user to guess what the number is. If the user’s guess is higher than the random number, the program should display “Too high, try again.” If the user’s guess is lower than the random number, the program should display “Too low, try again.” If the user guesses the number, the application should congratulate the user and then generate a new random number so the game can start over. Optional Enhancement: Enhance the game so it keeps count of the number of guesses that the user makes. When the user correctly guesses the random number, the program should display the number of guesses.Financial Assistance Application Create the Financial Assistance Application. A non-governmental organization needs your application to calculate the amount of financial assistance for needy families. The formula is as follows: • If the annual household income is between $30,000 and $40,000 and the house- hold has at least three children, the amount is $1,000 per child. • If the annual household income is between $20,000 and $30,000 and the house- hold has at least two children, the amount is $1,500 per child. • If the annual household income is less than $20,000, the amount is $2,000 per child. Implement a function for this computation. The program asks for the household income and number of children for each applicant, printing the amount returned by your function. Use -1 as a sentinel value for the input. The program output should be formatted as shown in the Sample Run. Note: You must use at least one function in your code.Book Club PointsSerendipity Booksellers has a book club that awards points to its customers based onthe number of books purchased each month. The points are awarded as follows:• If a customer purchases 0 books, he or she earns 0 points.• If a customer purchases 1 book, he or she earns 5 points.• If a customer purchases 2 books, he or she earns 15 points.• If a customer purchases 3 books, he or she earns 30 points.• If a customer purchases 4 or more books, he or she earns 60 points.Write a program that asks the user to enter the number of books that he or she haspurchased this month and then displays the number of points awarded.