Question: need help in c#. the code is incorrect and the issues are in the pics In Chapter 1, you created two programs to display the




In Chapter 1, you created two programs to display the motto for Marshall's Murals. Now write a program named MarshallsRevenue that prompts a user for the number of interior and exterior murals scheduled to be painted during the next month. Compute the expected revenue for each type of mural. Interior murals cost $500 each, and exterior murals cost $750 each. Also display the total expected revenue and a statement that indicates whether more interior murals are scheduled than exterior ones. An example of the program is shown below: Enter number of interior murals scheduled 3 Enter number of exterior murals scheduled 1 3 interior murals are scheduled at $500.00 each for a total of $1,500.00 1 exterior murals are scheduled at $750.00 each for a total of $750.00 Total revenue expected is $2,250.00 It is True that there are more interior murals scheduled than exterior ones. 18 int, Parse(Console we adLine()); 19// compute interior murals revenue 20 int_revaint_num* 500 ; 21 / feompute exterior murals revenue 22 ext_reva ext num+76e; 23// calculate total expected revenue 24 tot. reveint _ev + ext_revi 26//print all fenexated revenues 20 Console. Writeline(ext_numin exterior murals are scheduled for a total of "+ext arev): 27 Console.Writeline("Total revenue expected: "+tot_rev): 28 //cheok if interior murals revenue is greater than exterior murals revenue. 29 if (int_rev)ext_rev) 301 (31) Console. Writeline("The cost of interior murals is more than exterior murals"); 32.) 33 elee if(ext_revint_rev) 34. \{ Console. Writeline("The cost of exterior murals is more than interior marala"); \} Console. Rendlifne(); J Output Enter a Number of interior murals scheduled : Enter a Number of exterior murals scheduled : 25 exterior murals are scheduled for a total of 18750 Total revenue expected: 38750 The cost of interior murals is more than exterior murals Results (2) 40 Interior muxels axe scheduled at $500.00 each for a total of $20,600.60 25 exterior muxals axe scheduled at $750.00 each for a total of $18,760.00 Total revenue expected is $38,760.00 It is True that there axe more interior murels scheduled than exterior ones. Mural revenue output case 2 Input 12 24 Output Enter a Number of interior murals scheduled : Enter a Number of exterior murals scheduled : 24 exterior murals are scheduled for a total of 18000 Total revenue expected: 24000 The cost of exterior murals is more'than interior murals Results (?) 12 interior muxals axe scheduled at $500.00 each for a totel of $6,000.00 24 exterior murals axe scheduled at $750.00 each for a total of $18,060.00 Total revenue expected is $24,000.60 It is False that there are more interior murals scheduled than exterior ones. Show Details
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
