C# 28.2 Getting a Raise (what am I missing here??)
This code clears 4 of the 5 test cases; the one it doesn't clear is a "hidden" one. I'm not sure what I'm doing wrong. Anyone have any ideas? ----------------- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { int salaryBudget = Convert.ToInt32(Console.ReadLine()); int percent = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Before the increase: " + salaryBudget); //complete the method call //**** This is part of the exercise **** Increase(ref salaryBudget, ref percent); Console.WriteLine("After the increase: " + salaryBudget); } //complete the method //**** This is part of the exercise **** static void Increase(ref int a, ref int b) { double bTemp = Convert.ToDouble("1." + (Convert.ToString(b))); a = Convert.ToInt32(Convert.ToDouble(a) * bTemp); } } }