Given the variables costOfBusRental and maxBusRiders, write an expression corresponding to the cost per rider (assuming the bus is full).
LANGUAGE: C++ CHALLENGE: Given the variables costOfBusRental and maxBusRiders, write an expression corresponding to the cost per rider (assuming the bus is full).
Read MoreGiven the variable pricePerCase, write an expression corresponding to the price of a dozen cases.
LANGUAGE: C++ CHALLENGE: Given the variable pricePerCase, write an expression corresponding to the price of a dozen cases.
Read Morewrite an expression corresponding to the price of a discount admission. (The variable discountAmount holds the actual amount discounted, not a percentage.)
LANGUAGE: C++ CHALLENGE: Given the variables fullAdmissionPrice and discountAmount (already declared and assigned values), write an expression corresponding to the price of a discount admission. (The variable discountAmount holds the actual amount discounted, not a percentage.)
Read MoreWrite an expression that computes the difference of the variables endingTime and startingTime.
LANGUAGE: C++ CHALLENGE: Write an expression that computes the difference of the variables endingTime and startingTime.
Read MoreGiven the variables taxablePurchases and taxFreePurchases (already declared and assigned values ), write an expression corresponding to the total amount purchased.
LANGUAGE: C++ CHALLENGE: Given the variables taxablePurchases and taxFreePurchases (already declared and assigned values ), write an expression corresponding to the total amount purchased.
Read MoreWrite a single expression whose value is the length of this wall.
LANGUAGE: C++ CHALLENGE: A wall has been built with two pieces of sheetrock, a smaller one and a larger one. The length of the smaller one is stored in the variable small. Similarly, the length of the larger one is stored in the variable large. Write a single expression whose value is the length of this wall.
Read MoreWrite an expression that computes the sum of the two variables verbalScore and mathScore (already declared and assigned values ).
LANGUAGE: C++ CHALLENGE: Write an expression that computes the sum of the two variables verbalScore and mathScore (already declared and assigned values ).
Read MoreAssume that an int variable x that has already been declared and initialized. Write an expression whose value is 1 more than x.
LANGUAGE: C++ CHALLENGE: Assume that an int variable x that has already been declared and initialized. Write an expression whose value is 1 more than x.
Read MoreWrite a literal corresponding to the value of the first 6 digits of PI (“three point one four one five nine”).
LANGUAGE: C++ CHALLENGE: Write a literal corresponding to the value of the first 6 digits of PI (“three point one four one five nine”).
Read MoreWrite a literal corresponding to the floating point value one-and-a-half.
LANGUAGE: C++ CHALLENGE: Write a literal corresponding to the floating point value one-and-a-half.
Read MoreWrite a floating point literal corresponding to the value zero.
LANGUAGE: C++ CHALLENGE: Write a floating point literal corresponding to the value zero.
Read MoreDeclare a variable x, suitable for storing values like 3.14159 and 6.02E23.
LANGUAGE: C++ CHALLENGE: Declare a variable x, suitable for storing values like 3.14159 and 6.02E23.
Read More