Microsoft Visual C#
Microsoft Visual C#
7th Edition
ISBN: 9781337102100
Author: Joyce, Farrell.
Publisher: Cengage Learning,
bartleby

Concept explainers

Question
Book Icon
Chapter 2, Problem 2CP
Program Plan Intro

Program Plan:

Following variables are used in the program:

Interior_mur,Exterior_mur :To store the number of interior and exterior murals scheduled to be painted.

Interior_rev,Exterior_rev,Total_rev: To store the computed value of interior, exterior and total revenue.

Following functions are used in the program:

ReadLine(): To input salaries of different employees from user in string format.

WriteLine(): To display the increased salary and explanatory text.

Summary Introduction:

Program will use Main () method to ask the user to enter number of interior and exterior murals using ReadLine() method. The expected revenue for each of murals is calculated along with total revenue and then displayed to user using WriteLine() method. Program Description:

Purpose of the program is to take input number of interior and exterior murals then compute the total expected revenue for each type of mural and display the total revenue.

Blurred answer
Students have asked these similar questions
A company approaches you to create an algorithm for calculating the tax and the tip on a restaurant bill. Assume that the application will only tip on the food and beverage total without the tax added in. Your algorithm will allow the user to input the amount of the tip in custom mode or your algorithm will give the tip in 12%, 15%, 18%, 20% recommended increments. Your job is to create the first three steps of the problem-solving process for this algorithm design. Please make sure that you explore the problem space to determine the criteria and constraints in Part 1. Be creative think of all the inputs and outputs you will be using. For Part 2 think of all the questions that you might have in determining how to actually make such a program. And for Part 3 make sure that you specify (pencil and paper – take a picture of it and include it in your document) a couple of examples of your algorithmic process.
You are working as a computer programmer for a mortgage company that provides loans to consumers for residential housing. Your task is to create an application to be used by the company's loan officers when presenting loan options to its customers. The application will be a mortgage calculator that determines a monthly payment for loans and produces an amortization schedule for the life of the loan. The company offers 20, 25, 30, and 40-year fixed loans. Loan amounts are between 100000 and 250000. Annual Interest rate must be >= 1.0 and <= 10.0.
Slappy’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.

Chapter 2 Solutions

Microsoft Visual C#

Knowledge Booster
Background pattern image
Computer Science
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
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage