Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions