Obects and the Visual Studio IDE Programming Exercises ses in this section should look familiar to you. Each is similar to an exercise in Chapter 2, you created solutions using console input and output. We a GUI program named Inches To CentimetersGUI that allows the user to inpu ameasurement in inches, click a Button, and output the value in centimeters. There are 2.54 centimeters in an inch. Write a Gul program-named ProjectedRaisesGUI that allows a user to enter an employees salary. Then display, with explanatory text, next year's salary, which reflects 44 percent increase. 3 Write a program named Move EstimatorGUI that prompts a user for the number of hours for a moving job and the number of miles involved in the move. After the user clicks a Button, display the moving fee which includes a base rate of $200 plus $150 per hour and $2 per mile. 4 Write a GUI program named Eggs InteractiveGUI that allows a user to input the number of eggs produced in a month by each of five chickens. Sum thee the total in dozens and eggs, then display d eggs. For example, a total of 127 eggs is 10 dozen and 7 eggs. 5. Write a GUI program named MakeChangeGUI that calculates and displays the conversion of an entered number of dollars into currency denominations-twenties, tens, fives, and ones. For example, $113 is 5 twenties, 1 ten, 0 fives, and 3 ones. 5. Write a GUI progr for fir

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Question #2. Help with the errors and how to fix them oncluding the warning errors and the message too. Thanks!

Te Archets and the Visual Studio IDE
Programming Exercises
created solutions using console input and output.
es this section should look familiar to you. Each is similar to an exercise in Chapter 2,
We a GUI program named Inches To CentimetersGUI that allows the user to input
measurement in inches, click a Button, and output the value in centimeters. There
a 254 centimeters in an inch.
#4 percent increase.
1 White a Gul program named ProjectedRaisesGUI that allows a user to enter an
employee's salary. Then display, with explanatory text, next year's salary, which reflects
3 Write a program named MoveEstimatorGUI that prompts a user for the number
of hours for a moving job and the number of miles involved in the move. After the
user clicks a Button, display the moving fee which includes a base rate of $200 plus
$150 per hour and $2 per mile.
4 Write a GUI program named Eggs InteractiveGUI that allows a user to input the
number of eggs produced in a month by each of five chickens. Sum the eggs, then display
the total in dozens and eggs. For example, a total of 127 eggs is 10 dozen and 7 eggs.
5. Write a GUI program named MakeChangeGUI that calculates and displays the
conversion of an entered number of dollars into currency denominations-twenties,
tens, fives, and ones. For example, $113 is 5 twenties, 1 ten, 0 fives, and 3 ones.
5. Write a GUI progr
for fur
Transcribed Image Text:Te Archets and the Visual Studio IDE Programming Exercises created solutions using console input and output. es this section should look familiar to you. Each is similar to an exercise in Chapter 2, We a GUI program named Inches To CentimetersGUI that allows the user to input measurement in inches, click a Button, and output the value in centimeters. There a 254 centimeters in an inch. #4 percent increase. 1 White a Gul program named ProjectedRaisesGUI that allows a user to enter an employee's salary. Then display, with explanatory text, next year's salary, which reflects 3 Write a program named MoveEstimatorGUI that prompts a user for the number of hours for a moving job and the number of miles involved in the move. After the user clicks a Button, display the moving fee which includes a base rate of $200 plus $150 per hour and $2 per mile. 4 Write a GUI program named Eggs InteractiveGUI that allows a user to input the number of eggs produced in a month by each of five chickens. Sum the eggs, then display the total in dozens and eggs. For example, a total of 127 eggs is 10 dozen and 7 eggs. 5. Write a GUI program named MakeChangeGUI that calculates and displays the conversion of an entered number of dollars into currency denominations-twenties, tens, fives, and ones. For example, $113 is 5 twenties, 1 ten, 0 fives, and 3 ones. 5. Write a GUI progr for fur
Toolbox
File Edit View
③.
-
Form1.cs [Design]*
C# Projected RaisesGUI
{
HO
100 %
Error List
12
13
14
15
16
7
17
18
19
20
21
22
23
24
25
26
27
28
29
71°F
Cloudy
Git
Project
12.
?
Build
Form1.cs* + X
}
Debug
1 reference
public Form1()
{
Debug
A
3 references
public partial class Form1 : Form
*
private string lbloutput;
Any CPU
InitializeComponent();
1 Error
1L1A.1-..L
Test Analyze
mass
A2 Warnings
C# Interactive (.NET Framework 64-bit) Error List Output
Ready
Tools
Start
Extensions
O references
private void BtnDisplay_Click(object sender, EventArgs e)
{
7
Projected RaisesGUI.Form1
double salary, nextYearSalary;
object textBox = null;
ANUlusss
salary = Convert.ToDouble("textBox" (25, 000));
next YearSalary = (salary + (salary * 4) / 100);
Sea
IL
J-
▷
TUT
Entire Solution
Code
Description
A CS0649 Field 'Form1.txtSalary' is never assigned to, and will always have its default value null
CS0149 Method name expected
A CS0219 The variable 'textBox' is assigned but its value is never used
Window
40
PILTE
0 Messages 27 Build + IntelliSense
Join
&
11
Help
Search (Ctrl+Q)
= = = มมW.
Project
ProjectedRaisesGUI
Projected Raises GUI
ProjectedRaisesGUI
hp
4-
File
Form1.cs
Form1.cs
Form1.cs
Form1.Design
BtnDisplay_Click(object sender, EventArgs e)
2
P
TAL
110
Projected Rais
DI
FOAR
Ln: 28 Ch: 47
Search Error List
Line Suppression
16 Active
2.8 Active
Active
M
| Ad
Transcribed Image Text:Toolbox File Edit View ③. - Form1.cs [Design]* C# Projected RaisesGUI { HO 100 % Error List 12 13 14 15 16 7 17 18 19 20 21 22 23 24 25 26 27 28 29 71°F Cloudy Git Project 12. ? Build Form1.cs* + X } Debug 1 reference public Form1() { Debug A 3 references public partial class Form1 : Form * private string lbloutput; Any CPU InitializeComponent(); 1 Error 1L1A.1-..L Test Analyze mass A2 Warnings C# Interactive (.NET Framework 64-bit) Error List Output Ready Tools Start Extensions O references private void BtnDisplay_Click(object sender, EventArgs e) { 7 Projected RaisesGUI.Form1 double salary, nextYearSalary; object textBox = null; ANUlusss salary = Convert.ToDouble("textBox" (25, 000)); next YearSalary = (salary + (salary * 4) / 100); Sea IL J- ▷ TUT Entire Solution Code Description A CS0649 Field 'Form1.txtSalary' is never assigned to, and will always have its default value null CS0149 Method name expected A CS0219 The variable 'textBox' is assigned but its value is never used Window 40 PILTE 0 Messages 27 Build + IntelliSense Join & 11 Help Search (Ctrl+Q) = = = มมW. Project ProjectedRaisesGUI Projected Raises GUI ProjectedRaisesGUI hp 4- File Form1.cs Form1.cs Form1.cs Form1.Design BtnDisplay_Click(object sender, EventArgs e) 2 P TAL 110 Projected Rais DI FOAR Ln: 28 Ch: 47 Search Error List Line Suppression 16 Active 2.8 Active Active M | Ad
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY