Declare and initialize the following variables : monthOfYear, initialized to the value 11 companyRevenue, initialized to the value 5666777

Declare and initialize the following variables :  monthOfYear, initialized to the value 11 companyRevenue, initialized to the value 5666777

LANGUAGE: JAVA

CHALLENGE:
Declare and initialize the following variables :

monthOfYear, initialized to the value 11
companyRevenue, initialized to the value 5666777
firstClassTicketPrice, initialized to the value 6000
totalPopulation, initialized to the value 1222333

SOLUTION:

int monthOfYear = 11;
int companyRevenue = 5666777;
int firstClassTicketPrice = 6000;
int totalPopulation = 1222333;

Add comment