Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Written in C#. any help would be appreciated in figuring out what is wrong The program DebugTwo1.cs has syntax and/or logical errors. Determine the problem(s)

Written in C#. any help would be appreciated in figuring out what is wrong image text in transcribed
image text in transcribed
The program DebugTwo1.cs has syntax and/or logical errors. Determine the problem(s) and fix the program. Grading When you have completed your program, click the Submit button to record your score. 1/ Program compares your name to the name of your boss using system; using static system. Console; class DebugTwo1 \{ static void Main() \{i. //declaring variables string name, bossName; bool areNames TheSame; /lasking user name Write("Enter your name "); name = ReadLine ();// reading name // need to use String. Format() me Write("Hello {0} ! Enter the name of your boss ", name); bossName = ReadLine () ; areNames TheSame =String. Equals (name, bossName); l/remove is TheNameSame with areNamesTheSame Writeline("It is {0} that you are your own boss", areNameTheSame); (3)

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

Filing And Computer Database Projects

Authors: Jeffrey Stewart

2nd Edition

007822781X, 9780078227813

More Books

Students also viewed these Databases questions

Question

a. Describe the encounter. What made it intercultural?

Answered: 1 week ago