Question: need help in c#. errors are in pics The file DebugFour3.cs has syntax and/or logical errors. Determine the problem(s), and fix the program. 1/ Program





The file DebugFour3.cs has syntax and/or logical errors. Determine the problem(s), and fix the program. 1/ Program decides tuition based on several cxiteria: 1/1 - 12 credit hours e $150 per credit hour I/ 13 - 18 oredit hours, flat fee $1960 If over 18 hours, $1900 plus $100 per credit hour over 18 /I. If year in achool is 4 , there is a 15% discount using System: using static system. Console: using System.Globalization; class DebugFour3 \{ static void Main() \{ int credits, year; string inputstring; double tuition; const int LOWCREDITS =12; const int HIGHCREDITS =18; const double HOURFEE =15000; const double DISCOUNT =0.15; const double FLAT =1900.00; const double RATE =100.00; const int SENIORYEAR =4; Writeline ("How many credits? "); inputstring = ReadLine (); credits = Convert. ToInt 32 (inputString); Writeline("Year in school? "); inputString = ReadLine () ; J How many credits? Year in school? For year 1, with 3 credits Tuition is a340.00 Output How many credits? Year in school? For year 3 , with 16 credits Tuition is 204,000.00 How many credits? Year in school? For year 4 , with 20 credits Tuition is 2,100.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
