Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Now write a program named GreenvilleRevenue that prompts a user for the number of contestants entered in last years competition and in this years competition.
Now write a program named GreenvilleRevenue that prompts a user for the number of contestants entered in last years competition and in this years competition.
-Display all the input data.
-Compute and display the revenue expected for this years competition if each contestant pays a $25 entrance fee.
-Also display a statement that indicates whether this years competition has more contestants than last years.
ge Proble- k-1 Instructions Ereumils In Bhapder I. you crestod two programe to disiay the motto tor the Ginsow lk kol 1 using syeten: 3. using atwtic systen. thneoln; Now mite a peogram faned Gownikienence that peompts a use tor the num be l - Dieploy al the niput data. + Compute and dieplay tho rewenus oxpoosd tor this ysar' compotilion li osoh concotant payes s 516 entranoo los. 4 Sileo elspisf a sestemont that leclestos whethor thie your's compettion has mone curtitedanis thun hea, 'wat's. An esamph of the pangysm in shtrun tonkew: Enlue number of centeatanta laat puet of 8 Entor nurber of ocntestsnes thle posr ss 14 R.verue exececed thia yeuz is $920.60 It if True that ehie yent'e eorpetitton 18 bigCer than 1 aet year' 6 , In order to prepend tho $ to ourrone valuse, the program wil rese to use tho output s.oberinents as follemex Mitelire("ThLo io un exunple: [0]', vulue. Tedunget'e", QutruteInfo, Gntsu1 tuteInfo("en-15"))\}; Grading rooneStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started