Question: All correct except the data revenue for case 2 Test Case Incomplete Display Greenville Idol revenue data case 2 Input 55 54 Output Enter number



All correct except the data revenue for case 2
Test Case Incomplete Display Greenville Idol revenue data case 2 Input 55 54 Output Enter number of contestants last year : Enter number of contestants this year : Last year's competition had 55 contestants Revenue expected this year is $1,350.00 Last year revenue was bigger than this yea Results Last year's competition had 55 contestants, and thi s year's has 54 contestants Revenue expected this year is $1,350.00 It is False that this year's competition is bigger than last year's Show Details Run Checks Submit 83% GreenvilleRevenue.cs + >_ Terminal + Enter number of contestants last ye ar : I 1 using System; 2 using static System.Console; 3 using System. Globalization; 4 5 class GreenvilleRevenue 6 { 7 static void Main() 9 String lastYear value, thisYear value; 10 int LastYearValue, ThisYearValue; 11 12 13 Console.WriteLine("Enter number of contestants last year : "); 14 lastYearValue = Console.ReadLine(); 15 16 Console.WriteLine("Enter number of contestants this year : "); 17 thisYear Value Console.ReadLine(); 18 19 LastYearValue = Convert.ToInt32(lastYear value); 20 This Year Value Convert.ToInt32(thisYear value); 21 22 float thisYearrevenuevalue ThisYear Value * 25; 23 float lastYearrevenuevalue Last Year Value * 24 25; 25 26 Console.WriteLine("Last year's competition had + lastYearValue + contestants, and this year's has + thisYear value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
