Question: help plz Convert the ProjectedRaises class to an interactive application named ProjectedRaisesInteractive. Instead of assigning values to the salaries, accept them from the user as



Convert the ProjectedRaises class to an interactive application named ProjectedRaisesInteractive. Instead of assigning values to the salaries, accept them from the user as input. Output for each employee should be formatted similar to the following example for the first employee: Next year's salary for the first employee will be $26,000.00. Note: The salary in the output will change depending on the user input. In order to prepend the $ to currency values, the program will need to use the CultureInfo. GetCultureInfo method. In order to do this, include the statement using System.Globalization; at the top of your program and format the output statements as follows: WriteLine("This is an example: {0}", value. Tostring("C", CultureInfo.GetCultureInfo("enUS"))); 1. using System? 2.using statie Syatem.Console; 3. using System.Globalizationt 4 claso ProjectedRaioesinteractive btatic void Main() const double RAISE = O.0.: double 2alary1 =26000, salisy 2=38000, salary 3=51005 Writeline "Next year's palary for the firot employee nill be \{of", (aalaryl * aolaryl. * RAISE). Tostring("C" Cultut . ( ("an-usii))): ( "en-us"))); 12. Writeline("Next year's solary for the third employee will be (@)", (salary3. salary3 * RaISE).Tostring("c", Cultus ( ("en-u80))) 13:3 (20. 5a1ary3=51000; first employee wil1 be {0}, (salary1 + salary1 * RAISE).ToString("C", CultureInfo. Getcultureinfo second employee wil1 be {0}", (salary2 + balary2 * RAISE).ToString("C", CultureInfo. GetGultureInfl thixd employee wi 11 be {0}", (salary3 + solary3 * RAISE). Tostring("C", CultureInfo. GetCultureInfo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
