Microsoft Visual C#
7th Edition
ISBN: 9781337102100
Author: Joyce, Farrell.
Publisher: Cengage Learning,
expand_more
expand_more
format_list_bulleted
Concept explainers
Textbook Question
Chapter 12, Problem 6E
Create a project named 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 use fonts and colors to achieve an attractive design.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Create a project named BreezyViewApartments that contains a Form for anapartment rental service. Allow the user to choose a number of bedrooms, number ofbaths, and view—street or lake. After the user makes selections, display the monthlyrent, which is calculated using a base price of $450, $550, or $700 per month for aone-, two-, or three-bedroom apartment, respectively. $75 is added to the base pricefor more than one bath, and $50 additional is added to the price for a lake view. Usethe Controls that you think are best for each function. Label items appropriately, anduse fonts and colors to achieve an attractive design.
How do i
Create a project named 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 use fonts and colors to achieve an attractive design. Along with the calculate button (or whatever you call it), please add 2 more buttons--clear and exit. Clear should reset the form so all textboxes and answers are empty. Exit should close the program.
How can errors occur? Make sure you have exception handling in place to ensure that the program does not crash.
This challenge activity consists of a series of auto-generated, randomized questions allowing unlimited submissions. You must correctly answer a question at each level before proceeding to the next level. The purpose of this first level is to familiarize yourself with how the autograder works.
Click the "Start" button to begin the challenge activity.
Copy the code provided and paste the code into the code window. The following code reads in a value for variable numCucumbers using cin >> and outputs the value of numCucumbers, followed by " cucumbers" using cout <<.
cin >> numCucumbers; cout << numCucumbers << " cucumbers" << endl;
#include <iostream>using namespace std;
int main() { int numCucumbers; // Creates an integer variable named numCucumbers
/* Your code goes here */
return 0;}
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- consumers for residential housing. Your task is to create an application to be used by the loan officers of the company when presenting loan options to its customers. The application will be a mortgage calculator that determines a monthly payment for loans. The company offers 10-, 15-, and 30-year fixed loans. The interest rates offered to customers are based on the customer’s credit score. Credit scores are classified into the following categories: Table 1: Credit Score Categories Rating Range Excellent 720-850 Good 690-719 Fair 630-689 Bad 300-629 The program should initially prompt the user (the loan officer) for the principle of the loan (i.e. the amount that is being borrowed). It should then ask him or her to enter the customer’s credit score. Based on the customer’s credit score, the program will randomly generate an interest rate based on the following ranges: Table 2: Interest Rate Assignments…arrow_forwardwrite a java GUI application that will keep track of the weekly lotto numbers for a month. The application must capture the four weekly numbers entered by a user. Create four fields and a list box to display the weekly lotto numberson the form. also create a submit button that will capture the four weely numbers entered by the user.arrow_forwardFor, Case 0 frmMain.lblMealPlan.Text = mdlsample.Meal_Plan_7.ToString("c2") MealPlans = mdlsample.Meal_Plan_7.ToString("c2") Case 1 frmMain.lblMealPlan.Text = mdlsample.Meal_Plan_14.ToString("c2") MealPlans = mdlsample.Meal_Plan_14.ToString("c2") Case 2 frmMain.lblMealPlan.Text = mdlsample.Meal_Plan_Unilimited.ToString("c2") MealPlans = mdlsample.Meal_Plan_Unilimited.ToString("c2") it says the meal_Plan_ () is not a memeber of the mdlSample. How do i fix that?arrow_forward
- Create a menu-driven application to keep track of a list of subscribers to a newsletter.The application should allow the user to add a new subscriber, remove a current subscriber, update a subscriber’s data, and display the current list of subscribers. Each subscriber should be identified by a unique ID assigned by the system.For each subscriber, you need to store first name, last name, and email address.The application must have:• A linked list as the main data structure in the application. You must use the C++ Standard Template Library (STL).• A “subscriber” class that contains data and methods related to each subscriber.arrow_forwardA blogging website wants users to enroll to get access to the blogs.The figure above shows the form layout for enrollment. Develop a Java WindowBuilder Application to implement this form. Add a Button called "Enroll" at the bottom. When the user clicks this button, the information entered by the user should be displayed in the box called Enrollment information. All the information user entered should be displayed along with their selections indicated by theCheckboxes and Radio Buttons under their proper headings (Interests, Communication Preference, How referred) Example Output:Name: xxxxxxxxxxxxEmail: aaa@bbb.comPhone: 123-456-7890City: zzzzzzzzzzzState: TX Interests Communication Preference How ReferredElectronics email WebsiteTechnologyTravelShoppingarrow_forwardCreate a new project and name it as yourlastname-firstname-Assignment4. Save this project in VB folder you created earlier. Change form’s title to: Your full name – Assignment4 - Loan. Form contains four Labels, three TextBoxes, one ListBox, and three Button controls. Use labels to identify loan components (three TextBoxes) and results (ListBox). ListBox displays the Month, Monthly Payment, Principal, Interest and Loan Balance for each month. Buttons are to Calculate, Clear Input and Exit program. See below Form Layout with Controls for more details. Note: The control Names are shown in callouts. You will declare two set of variables: - Input variables: Loan Amount (Double) Period (Integer) Interest (Double) - Output variables: Count (Integer, to be used for For Loop to keep track of Loan period) Months (Integer, to calculate Loan number of months Payment (Double, for monthly payment) ToInterest (Double, how much of the monthly payment to Interest) ToPrincipal (Double, how much…arrow_forward
- Develop a java GUI application that will display the number of medical operations performed in three different cities. On the form, create two list boxes to allow users to select between three diffrent cities and the medical operations performed. Also, add two buttons, one for submitting the selection and the other to display a medical report, displaying the total amount of medical procedures performed per operation. Once the user has selected a city and medical operation and clicks the submission button, display the number of operations performed in that city. Use the following table for the city and amount of medical operations: Appendectomy Tonsillectomy Ocular Surgery Johannesburg 3000 1500 2000 Durban 1215 1232 2200 CapeTown 1370 1331 1323arrow_forwardQuestion 1 Get room rate Room type single Number of night 3 Room rate 750.00 Get rate Close Figure 2: Get room rate GUI Write a complete program to create a graphical user interface (GUI) which calculate the room rate according to Table 1. The program should calculate and show the room rate in a text field which is not editable when the Get rate button is pressed and the system will be terminated when the Close button is pressed. The size of GUI should be set as 300 x 250. It should be shown in the centre of the screen and the program should shutdown when the user press the close button on the top right corner. Lastly, remember to create an object for the class in a main() method. Table 1: Hotel room rate according to room type Room type single Price in RM (per night) 250 double 320 suite 500arrow_forwardUsing Form.CS from visual studios Create a gui Use 3 radio buttons Use 5 checkboxes 1 textbox 1. the total in the textbox will be computed and displayed when the user makes a radio button selection and/or checkbox selection. 2. the total will at all times be accurate and reflect the number of radio buttons and checkboxes as they are selectedarrow_forward
- Create an application with a form that resembles Figure 3-48. The PictureBox controls display the images of four fruits (a banana, an apple, an orange, and a pear) and each fruit’s calories. You can find these images in the Chap3 folder of the Student Sample Programs. When the application starts, the total calories should be zero. Each time the user clicks one of the PictureBoxes, the calories for the fruit should be added to the total calories, and the total calories should be displayed. When the user clicks the Reset button, the total calories should be reset to zero. Hello, I recently sent this question, but didn't provide images as needed. I apologize for that, I'm not sure how to upload the other three fruits (an apple, an orange, and a pear) since I can only upload two. If there is a way, please let me know. Just for clarification on this question, everytime the PictureBox (fruit) is clicked on, it will display the fruits calories on the label under "Total Calories", and…arrow_forwardCreate this form!arrow_forwardQ3: Create a Windows Form application that contains a Form with 3 TextBox(s), 2 ListBox, label, and 2 Button(s). Then, when press clicks on First Button: generate n numbers randomly (n-textBox1) between m and 100 (m-textBox2), and put any prime number ending with 7 between them into listbox1 and other into listBox2. While, when pressing clicks on button2: deleted the content of two ListBox(es) and put the summation of w's digit (w←textBox3) into labell (ex: if w=2349 then sum=18). Note: The summation of digits must be performed using Digit function. C#arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,EBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTProgramming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Time Complexity Analysis - How To Calculate Running Time | InterviewBit; Author: InterviewBit;https://www.youtube.com/watch?v=--oxG4Q1PA0;License: Standard YouTube License, CC-BY