Question
This question has been posted but I need the output to be Last year's competition had 39 contestants, and this year's has 47 contestants instead
This question has been posted but I need the output to be
"Last year's competition had 39 contestants, and this year's has 47 contestants" instead of being in two separate statements.
I am stuck.
The question that was posted was "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."
Step 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