Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

how do i write this output into my code n Chapter 1, you created two programs to display the motto for Marshall's Murals. Now write

how do i write this output into my code
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
n 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 interio. 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 Jcheduled >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 exterion ones. Use the output structure displayed above in your program's output. In order to prepend the S to currency values, the program will need to use the CultureInfo. GotcultureInfo method. In order to do this, include the statement \begin{tabular}{l} 40 interior nurals are scheduled at 5500 . e0 each for a total of $20, eee.e0 \\ 25 exterior nurals are seheduled at $750. ee each for a total of $18,750.00 \\ \hline \end{tabular} Totalrevenueexpectedin$38,75609 It is True that there are more interiox murals scheduled than exterfor ones. Show Details Results (2) Test Case incomplete Mural revenue output case 2 using statio System.Console: using System. Globalization: class MarshalisRevonue static void Main() Writeline\{ "Please enter the number of interior nurals scheduled for painting during next month"): int interiorMorals= Convert, ToInt32(Resdline()): Writeline("Ploase enter the number of exterior nurals scheduled for painting during next month"): int exterforMurals= Convert. ToInt32(Readine()): Int interiorRevenun=interiorMurals*5e9; int exter forRevenue=exter iorthurals*750; int totalRovenue= interiorfovenue+exteriorRovenue: WriteLine(" (0) interior eurala are scheduled at (1) each for a total of (2) ", interiorMurals, interiorRevenue. Tostring("C", Cultureinfo.getCultureinfo ( "en-us") )) ) WirituLina("Total revenue expected is, {0}, totalrevenue. Tostring("C", CultureInfo. GetCultureInfo("en-us")) \}: 1f (interiorMuralayexteriorMutals) Writecine( "There are nore interior muxals scheduled than exterior ones -"): else Writeline("There are nore-exterior nurals soheduled than-interior ones-")

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

Students also viewed these Databases questions

Question

If interest is 10%, what is A? 40 40 30 30 20 20 10

Answered: 1 week ago

Question

Explain why maturity models are not an exercise in futility.

Answered: 1 week ago