Question: Declare and initialize the following variables: monthOfYear, initialized to the value 11 companyRevenue, initialized to the value 56667.77 firstClassTicketPrice, initialized to the value 6000.00 companyName,
Declare and initialize the following variables:
- monthOfYear, initialized to the value 11
- companyRevenue, initialized to the value 56667.77
- firstClassTicketPrice, initialized to the value 6000.00
- companyName, initialized to the value Starbucks
- numberOfFranchises, initialized to the value 300
- averageRevenue, initialized to the value 0
write a program and output the average revenue of each franchise.
Sample Output: The average revenue for each _____ franchise is _____
Use this to start your project public class Main{ public static void main(String[] args) { //Put your code here } }
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
