Write an application for a furniture company; the program determines the price of a table. Ask the user to choose one for pine, 2 for oak, or three for mahogany. The output is the name of the wood chosen as well as the price of the table. Pine tables cost $100, oak tables cost $225, and mahogany tables cost $310. If the user enters an invalid wood code, set the price to zero. Save the file as Furniture.cs
Q: Write an application that determines whether the first two files are located in the same folder as…
A: Program Plan: Create the files according to the file path mentioned in the question above In the…
Q: Write an application that allows a user to enter the names and birthdates of up to 10 friends.…
A: import java.util.*; public class BirthdayRemainder { public static void main(String args[]) {…
Q: Write an application that prompts the user for a password that contains at least two uppercase…
A: Please find the answer below :
Q: Modify songVerse to play "The Name Game" (see OxfordDictionaries.com), by replacing "(Name)" with…
A: Your solution is here with an Output .
Q: Write a program named "StockPrice.py" that analyzes stock market price for a list of firms, The…
A: Required:
Q: ration (e.g. +, -, x, etc.) that they’d like to perform on the numbers. Display the answer to the…
A: the code is an given below :
Q: Write an application that allows a user to enter the names and birthdates of up to 10 friends.…
A: import java.util.*;public class BirthdayReminder { public static void main(String args[]) { Scanner…
Q: Write a C# application for a furniture company; the program determines the price of a table. Ask the…
A: Algorithm: To create this program we are using the if else conditional statement. Here using…
Q: Create an application that accepts a sentence as input and converts each word to “Pig Latin.” In one…
A: Take a string for the input. Take a string for the pig Latin. Input the string. Create an object of…
Q: yID which takes employee number as input parameter and returns string. (SQ
A: Create a package named EMP_PS which has a function named findEmpByID which takes employee number…
Q: Now extend your program to give the user the option to either enter two numbers and an operator,…
A: Q: Code the given problem (Language python)
Q: Create a program using a console application name "DragonKiller". The program should ask the user to…
A: Code: import java.util.*;public class DragonKiller { public static String RemoveSpace(String…
Q: create an application that will ask the user to enter password set in the program for only three…
A: print('Enter username and password to continue wth exam')count=0while count < 3: username =…
Q: Write an application named EnterUppercaseLetters that asks the user to type an uppercase letter from…
A: Here, Code instruction is given.
Q: Given the following code, what is displayed? Integer numFriends = 256; Integer numCookies = 256;…
A: Output of the code:
Q: 1. Write an application that prompts for and reads the user's first and last name (separately), then…
A: Answer:
Q: EnterUppercaseLetters that asks the user to type an uppercase letter from the keyboard. If the…
A: C# is a popular programming language used to write different applications using the .NET framework.…
Q: - a computer store management application with different jframes for customers and orders etc.,…
A:
Q: This is for C++. Trainer's enrollment Trainers at Tom's Athletic Club are encouraged to enroll new…
A: c++ C++ is a cross-platform language for producing advanced applications. Bjarne Stroustrup created…
Q: You're working on experiments in the lab and must make temperature measurements every millisecond…
A: %function to Convert celsius to Fahrenheit function Deg_F = celsius_to_fahrenheit(Deg_C) Deg_F =…
Q: Write an application that allows a user to enter the names and birthdates of up to 10 friends.…
A: Source Code: import java.util.*; public class BirthdayReminder { public static void main(String[]…
Q: You've been hired by Planet Pals to write a C++ console application that reads and converts planet…
A: PROGRAM: //Header file #include<iostream> #include<fstream> #include<string>…
Q: You are required to create a console application for a technology retail outlet that will allow a…
A: Java program to print the product name and the final price with VAT of product after taking input as…
Q: Create C# Console application. Within the Main() method in this application, create variables of the…
A: Reading various kinds of inputs in C#: To read string input: Console.ReadLine() To read character…
Q: create an application for Bob’s E-Z Loans. The application accepts a client’s loan amount and…
A: Given: create an application for Bob’s E-Z Loans. The application accepts a client’s loan amount and…
Q: Modify songVerse to play "The Name Game" (see OxfordDictionaries.com), by replacing "(Name)" with…
A: The string variable songVerse will always contain the substring "(Name)".The user has entered the…
Q: n java eclipse Assume a method called "readFile" exists that takes one parameter, a String…
A: Dear Student, To call a method in Java the following syntax is used - variable =…
Q: Write an application that allows a user to enter the names and birthdates of up to 10 friends.…
A: Program code: import java.util.*;//define class BirthdayReminderclass BirthdayReminder { public…
Q: Write a program called gradebook.cpp. The program should ask the user for the name, points possible,…
A: code snippet:
Q: Q3- What is the memory content for the following data section variables? L1 db 0AAh, OBBH L2 dw…
A: Data Segment L1 db 0AAh,0BBh L2 db 0CCDDh L3 db 0EEh,0FFh Program:…
Q: Q1. Which of the following is an example of Autoboxing? a) int avar = 10; Integer bvar = new…
A: Autoboxing is process of creating object of primitive data type and storing it in object of wrapper…
Q: Write an application that displays the factorial for every integer value from 1 to 10. A factorial…
A: Program : Factorial.cpp #include <iostream.h>#include<iomanip.h> int main(){…
Q: Write an application that allows the user to choose insurance options in JCheckBoxes. Use a…
A: The JCheckBox class is used to create a checkbox. It is used to turn an option on (true) or off…
Q: Create an application for generating lottery tickets of random numbers. Each lottery ticket has a…
A: Given: Create an application for generating lottery tickets of random numbers. Each lottery ticket…
Q: Create a program using a console application name "DragonKiller". The program should ask the user to…
A: Java Source Code: package Dragonkiller; import java.util.*;public class DragonKiller{ // This…
Q: Create a Console application named FirstNameLastName3CB Save the application in the…
A: Considering the time format is 24 hours. The same program can also be run for 12 hours format also.…
Q: The following needs to be in python For this application, you will need to create a Python…
A: Code: #!/usr/local/bin/python3 def main(): # initalizing filename and valid months filename =…
Q: y it and should pass 2 testcase if not then Thumbsdown.
A: I have modified the code below:
Q: Create an application for generating lottery tickets of random numbers. Each lottery ticket has a…
A: Given: Create an application for generating lottery tickets of random numbers. Each lottery ticket…
Q: The files provided in the code editor to the right contain syntax and/or logic errors. In each case,…
A: Given program: File Name: “DebugTwelve4.java”: import java.util.*; public class DebugTwelve4 {…
Q: Write an application for the Shady Rest Hotel; the program determines the price of a room. Ask the…
A: 1.a //ShadyRestRoom.java: //Import required package. import java.util.Scanner; //Define the…
Q: Create an application for generating lottery tickets of random numbers. Each lottery ticket has a…
A: code: #include<iostream>#include<vector>#include <algorithm>using namespace…
Q: Trainers at Tom's Athletic Club are encouraged to enroll new members. Write an application that…
A: As Language is not provided , doing it in Java Programming Language.
Q: Create a program using a console application name "DragonKiller". The program should ask the user to…
A: import java.util.*;public class DragonKiller { public static int RemoveSpace(String name){…
Q: NumericAnalyzer will accept a list of 1 or more numbers as command line arguments. NOTE: Don’t…
A: NumericAnalyzer will accept a list of 1 or more numbers as command line arguments. NOTE: Don’t…
Q: For the following program in phyton : Pay Check Window Cost Write an interactive program to…
A: print("WELCOME TO THE WONDERFUL WORLD OF WINDOWS!!") name = input("Name : ") age=int(input("Age :…
Q: Write an application that allows a user to enter the names and birthdays of up to 10 friends.…
A: Syntax: while ( Condition ) { // Loop-body } Flowchart:
Q: Write an application named, Lab14.java. This application will do the following:
A: // Lab14.java //===================================================== import java.io.File; import…
Write an application for a furniture company; the
the user to choose one for pine, 2 for oak, or three for mahogany. The output is the name of the
wood chosen as well as the price of the table. Pine tables cost $100, oak tables cost $225, and
mahogany tables cost $310. If the user enters an invalid wood code, set the price to zero. Save
the file as Furniture.cs
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
- Write an application that displays the factorial for every integer value from 1 to 10. A factorial of a number is the product of that number multiplied by each positive -integer lower than it. For example, 4 factorial is 4 * 3 * 2 * 1, or 24. Save the file as Factorials.cpp.Write an application that allows a user to enter any number of student test scores until the user enters 999. If the score entered is less than 0 or more than 100, display an appropriate message and do not use the score. After all the scores have been entered, display the number of scores entered, the highest score, the lowest score, and the arithmetic average. Save the file as TestScoreStatistics.cpp.In previous chapters, you created applications for the Greenville Idol competition. Now, modify the version of the GreenvilleRevenue program created in Chapter 5 so that after the user enters the number of contestants in this competition, the user is prompted for the appropriate number of contestant names and a code for each contestant that indicates the type of talent: S for singing, D for dancing, M for playing a musical instrument, or O for other. Make sure that all entered codes are valid, and if not, reprompt the user to enter a correct code. After contestant data entry is complete, display a count of each type of talent. Then, continuously prompt the user for a talent code until the user enters a sentinel value. With each code entry, display a list of the contestants with that code, or display a message that the code is not valid and reprompt the user.
- Each of the following files in the Chapter.10 folder of your downloadable student files has syntax and/or logical errors. In each case, determine the problem and fix the program. After you correct the errors, save each file using the same filename preceded with Fixed. For example, DebugTen01.cs will become FixedDebugTen01 .cs. a. DebugTen01.cs b. DebugTen02.cs c. DebugTen03.cs d. DebugTen04.csEach of the following files in the Chapter.04 folder of your downloadable student files has syntax and/or logical errors. In each case, determine the problem, and fix the program. After you correct the errors, save each file using the same filename preceded with Fixed. For example, save DebugFour1.cs as FixedDebugFour1.cs. a. DebugFour1.cs b. DebugFour2.cs c. DebugFour3.cs d. DebugFour4.csIn this exercise, you modify the Grade Calculator application from this chapter’s Apply lesson. Use Windows to make a copy of the Grade Solution folder. Rename the copy Grade Solution-Intermediate. Open the Grade Solution.sln file contained in the Grade Solution-Intermediate folder. Open the CourseGrade.vb file. The DetermineGrade method should accept an integer that represents the total number of points that can be earned in the course. (Currently, the total number of points is 200: 100 points per test.) For an A grade, the student must earn at least 90% of the total points. For a B, C, and D grade, the student must earn at least 80%, 70%, and 60%, respectively. If the student earns less than 60% of the total points, the grade is F. Make the appropriate modifications to the DetermineGrade method and then save the solution. Unlock the controls on the form. Add a label control and a text box to the form. Change the label control’s Text property to “&Maximum points:” (without the quotation marks). Change the text box’s name to txtMax. Lock the controls and then reset the tab order. Open the form’s Code Editor window. The txtMax control should accept only numbers and the Backspace key. Code the appropriate procedure. The grade should be cleared when the user makes a change to the contents of the txtMax control. Code the appropriate procedure. Modify the frmMain_Load procedure so that each list box displays numbers from 0 through 200. Locate the btnDisplay_Click procedure. If the txtMax control does not contain a value, display an appropriate message. The maximum number allowed in the txtMax control should be 400; if the control contains a number that is more than 400, display an appropriate message. The statement that calculates the grade should pass the maximum number of points to the studentGrade object’s DetermineGrade method. Make the necessary modifications to the procedure. Save the solution and then start and test the application.
- Each of the following files in the Chapter.01 folder of your downloadable student files has syntax and/or logical errors. In each case, determine the problem and fix the program. After you correct the errors, save each file using the same filename preceded with Fixed. For example, DebugOne1.cs will become FixedDebugOne1 .cs. a. DebugOne1.cs b. DebugOne2.cs c. DebugOne3.cs d. DebugOne4.csIn javas coding please Write a program that opens the salesdat.txt file and processes it contents. The program should display the following per store: The total sales for each week. (Should print 5 values - one for each week). The average daily sales for each week. (Should print 5 values - one for each week). The total sales for all the weeks. (Should print 1 value) The average weekly sales. (Should print 1 value) The week with the highest amount in sales. (Should print 1 week #) The week with the lowest amount in sales. (Should print 1 week #) All Values (Total Sales, Average Daily Sales for Each Week, Total Sales for all Weeks, Average Weekly Sales, Highest Amount in Sales, Lowest Amount in Sales) The file contains the dollars amount of sales that a retail store made each day for a number of weeks. Each line in the file contains thirty five numbers, which are sales numbers for five weeks. The number are separated by space. Each line in the file represents a separate store.…For this interactive assignment, you will create an application that grades the written portion of the driver’s license exam. The exam has 20 multiple-choice questions. Here are the correct answers: B 2. D 3. A 4. A 5. B 6. A 7. B 8. A 9. C 10. D B 12. C 13. D 14. A 15. D 16. C 17. C 18. B 19. D 20. A Your program should store these correct answers in a list. The program should read the student’s answers for each of the 20 questions from a text file and store the answers in another list. (Create your own answer text file to test the application.) After the student’s answers have been read from the text file, the program should display a message indicating whether the student passed or failed the exam. (A student must correctly answer 15 of the 20 questions to pass the exam.) It should then display the total number of correctly answered questions, the total number of incorrectly answered questions, and a list showing the…
- For this interactive assignment, you will create an application that grades the written portion of the driver’s license exam. The exam has 20 multiple-choice questions. Here are the correct answers: B 2. D 3. A 4. A 5. B 6. A 7. B 8. A 9. C 10. D B 12. C 13. D 14. A 15. D 16. C 17. C 18. B 19. D 20. A Your program should store these correct answers in a list. The program should read the student’s answers for each of the 20 questions from a text file and store the answers in another list. (Create your own answer text file to test the application.) After the student’s answers have been read from the text file, the program should display a message indicating whether the student passed or failed the exam. (A student must correctly answer 15 of the 20 questions to pass the exam.) It should then display the total number of correctly answered questions, the total number of incorrectly answered questions, and a list showing the…lent. For example, if the user enters 555-GET-FOOD, the application should display the original translated to their numeric equiva- 555-438-3663. 6. Average Number of Words have downloaded the source code from the Computer Science Portal you you will find If a file named text.txt in the Chapter 08 folder. The text that is in the file is stored as one sentence per line. Write a program that reads the file's contents and calculates the average number of words per sentence. (You can access the Computer Science Portal at www.pearsonhighered.com/gaddis.) 7. Character Analysis If you have downloaded the source code you will find a file named text.txt in the Chapter 08 folder. Write a program that reads the file's contents and determines the following: • The number of uppercase letters in the file • The number of lowercase letters in the file • The number of digits in the file • The number of whitespace characters in the file 8. Sentence Capitalizer Write a program with a function that…