Posts Tagged ‘C++’
Given two integer variables matricAge and gradAge, write a statement that gives gradAge a value that is 4 more than the value of matricAge.
LANGUAGE: C++ CHALLENGE: Given two integer variables matricAge and gradAge, write a statement that gives gradAge a value that is 4 more than the value of matricAge.
Read MoreGiven two integer variables oldRecord and newRecord, write a statement that gives newRecord the same value that oldRecord has.
LANGUAGE: C++ CHALLENGE: Given two integer variables oldRecord and newRecord, write a statement that gives newRecord the same value that oldRecord has.
Read MoreGiven two integer variables num and highest, write a statement that gives highest the same value that num has.
LANGUAGE: C++ CHALLENGE: Given two integer variables num and highest, write a statement that gives highest the same value that num has.
Read MoreWrite a statement to set the value of num to 4 (num is a variable that has already been declared ).
LANGUAGE: C++ CHALLENGE: Write a statement to set the value of num to 4 (num is a variable that has already been declared ).
Read MoreGiven an integer variable drivingAge that has already been declared, write a statement that assigns the value 17 to drivingAge.
LANGUAGE: C++ CHALLENGE: Given an integer variable drivingAge that has already been declared, write a statement that assigns the value 17 to drivingAge.
Read MoreWrite a declaration for two integer variables, age and weight.
LANGUAGE: C++ CHALLENGE: Write a declaration for two integer variables, age and weight.
Read MoreDeclare an integer variable named degreesCelsius.
LANGUAGE: C++ CHALLENGE: Declare an integer variable named degreesCelsius.
Read MoreWrite a statement that declares an int variable named count.
LANGUAGE: C++ CHALLENGE: Write a statement that declares an int variable named count.
Read MoreDeclare two integer variables named profitStartOfQuarter and cashFlowEndOfYear .
LANGUAGE: C++ CHALLENGE: Declare two integer variables named profitStartOfQuarter and cashFlowEndOfYear.
Read MoreBefore a variable is used it must be
LANGUAGE: C++ CHALLENGE: Before a variable is used it must be
Read MoreWhich of the following IS a legal identifier?
LANGUAGE: C++ CHALLENGE: Which of the following IS a legal identifier?
Read MoreWhich of the following is NOT a legal identifier?
LANGUAGE: C++ CHALLENGE: Which of the following is NOT a legal identifier?
Read More