Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How do I get these numbers in red in my program Convert the ProjectedRaises class to an 2 using static System. Console; interactive application named
How do I get these numbers in red in my program
Convert the ProjectedRaises class to an 2 using static System. Console; interactive application named 3 using System. Globalization; ProjectedRaisesinteractive. Instead of assigning class ProjectedRasesinteractivo 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 employee wil1 be {0}, (salary1+salary1+Raiso). Tostring("C", CultureInfo, GetCultureInfo("en-US"))): Note The salary in the output will change Conployee will bifolino("Noxt year's salary for the second depending on the user input. Cul tureInfo for ". (3a1ary2+salary2+Raise), ToString("C", 13 Console. Writeline("Next yeer's is itarelinfo.Gotcuituroinfo("en-US")) ; employee will be (ole "Next yenr's salary for the third CultureInfo, Gotculture. (salary3+salary3+RaIse). ToString("C", In order to prepend the $ to currency values, the program will need to use the Cultureinfo. Cotculturoinfo method. In order to do this, include the statement uaing Syetom. Globalization: at the top of your program and format the output statements as followe: Writeline("Thls is an examplo: {0}, value. Tostring("C") Cul tureinfo. Ootcultureinfo("en- usin) )= Test Case Incomplete Next year employee salaries output correctly case 1 Input Output Results Next year employee salaries output correctly case 2 Input 100001250033400 Output Results Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started