Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Complete each of the following exercises from the Deitel book, using the indicated C# project names. You should use a .NET Framework Console application type

Complete each of the following exercises from the Deitel book, using the indicated C# project names. You should use a .NET Framework Console application type for each project. All projects should be part of a single solution named: Cs2Apps.

How to setup multiple Projects in one Visual Studio Solution

When creating the first Project, make sure to uncheck the box for putting the solution and the project in the same folder. This will create a separate folder with the solution file by itself and the first project in a folder under that. For each subsequent project, use the "File->Add->New Project" to add each project to the **same** solution.

To switch projects among those listed in the Solution Explorer window, right click on the project and select "Set as StartUp Project". The selected startup project will display as bold text in the Solution Explorer window.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4.11 - Employee Class (Project Name: EmployeeDB) - Create a class called Employee that includes three pieces of information as either instance variables or auto-implemented properties - first name (type string), last name (type string) and a monthly salary (decimal). Your class should have a constructor that initializes the three values. Provide a property with a get and set block for any instance variables. If the monthly salary is negative, the set block should leave the instance variable unchanged. Write a test driver program for Employee that demonstrates the Employee class capabilities (use Program.cs for this). Create 3 Employee objects and display each objects yearly salary. Then give each Employee a 10% raise and display each Employees yearly salary again.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6.16 - Displaying a Bar Chart (Project Name: BarChart) - One interesting application of computers is to display graphs and bar charts. Write an app that reads three numbers between 1 and 30. For each number thats read, your app should display the same number of adjacent asterisks. For example, if your app reads the number 7, it should display 7 stars: *******

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning PostgreSQL On The Cloud Simplifying Database As A Service On Cloud Platforms

Authors: Baji Shaik ,Avinash Vallarapu

1st Edition

1484234464, 978-1484234464

More Books

Students also viewed these Databases questions

Question

What is the relation of physical mathematics with examples?

Answered: 1 week ago

Question

What are oxidation and reduction reactions? Explain with examples

Answered: 1 week ago

Question

b. Why were these values considered important?

Answered: 1 week ago