Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need help in C#, i only have 50% of this right. dont know what to do but i changed the salary values to put me

need help in C#, i only have 50% of this right. dont know what to do but i changed the salary values to put me at 50% image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Convert the ProjectedRaises class to an interactive application named ProjectedRaisesinteractive. Instead of assigning values to the salaries, accep 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("en-US"))); Next year employee salaries output correctly case 1 Input 340007700054000 Output Next year's salary for the first employee will be $35,360.00 Next year's salary for the second employee will be $80,080.00 Next year's salary for the third employee will be $56,160.00 Next year employee salaries output correctly case 2 Input 100001250033400 Output Next year's salary for the first employee will be $35,360.00 Next year's salary for the second employee will be $80,080.00 Next year's salary for the third employee will be $56,160.00 Results Next yeax's selexy for the first employee will be $10,400.00 Next year's salary for the second employee will be $13,000.00 Noxt yeax's salary for the third employee will be $34,736.60 1. vsing System: 2 using atatic Syutem, Console: 3 using Syaten. Globalization; 4 class ProjectedRaisesintaractive fi: statie void Main() const double RAISE =6.04; double salaryl =34800,501ary2=77000,501 ary 3 in 54000 ("en15))): 11. "encuse) )); 13( ") (3511)))i

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

Optimization And Data Science Trends And Applications 5th Airoyoung Workshop And Airo Phd School 2021 Joint Event

Authors: Adriano Masone ,Veronica Dal Sasso ,Valentina Morandi

1st Edition

3030862887, 978-3030862886

Students also viewed these Databases questions