Declare and initialize the following variables monthOfYear, companyRevenue, firstClassTicketPrice, totalPopulation
LANGUAGE: C++
CHALLENGE:
Declare and initialize the following variables :
A variable monthOfYear, initialized to the value 11
A variable companyRevenue, initialized to the value 5666777
A variable firstClassTicketPrice, initialized to the value 6000
A variable totalPopulation, initialized to the value 1222333
SOLUTION:
int monthOfYear,firstClassTicketPrice; monthOfYear = 11; firstClassTicketPrice = 6000; int companyRevenue, totalPopulation; companyRevenue = 5666777; totalPopulation = 1222333;