C# Programming, Chapter 12 Question 6.
Create a project naned BreezyViewApartments that contains a Form for an apartment rental service. Allow the user to choose a number of bedrooms, number of baths, and view--street or lake. After the user makes selections, display the monthly rent, which is calculated using a base price of $450, $550, or $700 per month for a one-, two-, or three-bedroom apartment, respectively. $75 is added to the base price for more than one bath, and $50 additional is added to the price for a lake view. Use the Controls that you think are best for each function. Label items appropriately, and the fonts and colors to achieve an attractive design.
Any help of input, output and comments through visual studio 2022 and Windows form would be helpful.
Step by stepSolved in 5 steps with 3 images
- A form contains six check boxes. Three of the check boxes are located in a group box. How many of the check boxes on the form can be selected at the same time? a. one b. two c. three d. sixarrow_forwardExtra 6-1 Develop the Temperature Converter In this exercise, you’ll use radio buttons to determine whether the conversion is from Fahrenheit to Celsius or vice versa. You’ll also modify the DOM so the labels change when a radio button is clicked, and the page displays an error message when the user enters invalid data. 1. Open the application in this folder: exercises_extrach06convert_temps 2. Note that the JavaScript file has some starting JavaScript code, including the $() function, three helper functions, three event handler functions, and a DOMContentLoaded event handler that attaches the three event handlers. 3. Review how the toCelsius() and toFarhenheit() event handler functions call the toggleDisplay() helper function and pass it strings to display. Also note that the toggleDisplay() helper function and the convertTemp() event handler function are incomplete. 4. Code the toggleDisplay() function so it changes the text in the labels for the text boxes to the values in the…arrow_forwardOpen the Proper Case Solution.sln file contained in the VB2017\Chap07\ProperCase Solution folder. The interface provides a text box for entering a person’s first andlast names. The btnProper_Click procedure should display the first and last namesin the proper case. In other words, the first and last names should begin with anuppercase letter and the remaining letters in each name should be lowercase. If the userenters only one name, display the name in proper case. Be sure the btnProper_Clickprocedure works correctly if the user inadvertently enters more than one space betweenthe first and last names. After displaying the name, the procedure should send the focusto the txtName control. Code the procedure. Save the solution and then start and testthe application. (If the user enters “john smith” as the name, the application shoulddisplay “John Smith”. If the user enters “carol” followed by three spaces and then “jones”,the application should display “Carol Jones”. If the user enters…arrow_forward
- Descriptión Instructions Timed Test This test has a time limit of 30 minutes.This test will save and subr Warnings appear when half the time, 5 minutes, 1 minute, and 3 Multiple Attempts Not allowed. This test can only be taken once. Force Completion This test can be saved and resumed at any point until time has exp Remaining Time: 08 minutes, 03 seconds. * Question Completion Status: A Moving to another question will save this response. Question 5 What type of structure allows you to repeat a set of instructions multiple times? O a. sequence O b. loop O c. decision O d. nested A Moving to another question will save this response. 15 7 10 % & 4.arrow_forwardmake a payroll application that will have a group box titled Payroll Information. The group box will have textboxes and labels for the user to enter the following information: Employee ID, Employee Name, Hourly Rate, and Weekly Hours Worked. There will also be a Submit and Display button (see left side on example form below).On the opposite side of the form you will need a heading and 2 labels for each of the following: Employee ID, Employee Name, Hourly Rate, Weekly Hours Worked, Overtime Hours Worked, Overtime Pay, Gross Pay, Social Security, FICA, and Net Pay. (see right side on example form below)There should also be a functional button for Clear (clears textboxes and non-identifying labels) and Exit.You should include a class called Payroll that creates private variables for id, name, wage, hours worked, social security Tax, FicaTax, gross pay, net pay, overtime hours and overtime pay. You should also have a private constant for Social Security Tax Percentage set to 6.2% and Fica…arrow_forwardC# Programming, Chapter 12 Question 6. Create a project naned BreezyViewApartments that contains a Form for an apartment rental service. Allow the user to choose a number of bedrooms, number of baths, and view--street or lake. After the user makes selections, display the monthly rent, which is calculated using a base price of $450, $550, or $700 per month for a one-, two-, or three-bedroom apartment, respectively. $75 is added to the base price for more than one bath, and $50 additional is added to the price for a lake view. Use the Controls that you think are best for each function. Label items appropriately, and the fonts and colors to achieve an attractive design.arrow_forward
- Which is it: true or false? The value of a form's Text property is initially set to be the same as the name of the form that has been produced during the process of the form being initialised.arrow_forwardSlappy’s Software Sales AssignmentYou have been hired by Slappy’s Software Sales to write a program to figure thetotal cost to customers that order Slappy’s software packages.Discounts are given based on the number of units sold:Number of Units Sold Discount Amount1 – 9 None10 – 19 20%20 – 49 30%50 – 99 40%100 or more 50%Create a form similar to this:The three boxes are labels. Remember to use the Auto Size and Border Styleproperties.The program should read the number of units sold and figure a base cost. Theunits cost $99 each. A discount should then be figured and subtracted from thebase cost. The subtotal, discount amount and total cost should be displayed, ascurrency, in the appropriate labels.Here are some screen shots of the running program:Set the tab order and access keys.Put comments in your program as to what each section is doing.Use constants for the discount rates and base price.arrow_forwardPython question please include all steps and screenshot of code. Also please provide a docstring, and comments through the code, and test the given examples below. Thanks. If there is a vote at a meeting, there are several possible outcomes based on the numberof yes and no votes (abstains are not counted). If all the votes are yes, then the proposalpasses "unanimously", if at least 2/3 of the votes are yes, then the proposal passes with"absolute majority", if at least 1/2 of the votes are yes, then the proposal passes by"simple majority", and otherwise it fails. Write function vote() that takes as input thenumber of yes votes and the number of no votes and then prints the outcome of the vote.>>> votes(9, 0)proposal passes unanimously>>> votes(6, 3)proposal passes with absolute majority>>> votes(5, 4)proposal passes with simple majority>>> votes(4, 5)arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education