Whole numbers represent this data type
What is an integer data type
This library is included in every program you will type in this class
what is iostream
This symbol is used to indicate to the computer that a line of code is complete
What is a semi-colon ( ; )
The process of changing one variable type to another
what is casting or Static Cast
Syntax = static_cast < new_type > ( expression )
Symbols +, - , *, and / represent this operator
What is Arithmetic Operators
Numbers such as 22.6 and 345.8 are this variable type
What is a double data type
This library is included to enter a user's entire name (first and last)
What is string
In c++ this is used to hold a value
What is a variable
This tells the computer to leave the switch statement at that point.
What is Break Statement
This logic operator is only true when any of the inputs are true
What is the or ( || ) logic operator
Letter grades are a good representation of this data type
What is a character data type
This library is included to use any math function ( such as sqrt() and pow() )
What is cmath
The ( // ) along with ( /* and */) represent this
What is a comment
This keyword never has an expression after it
What is an else statement
recall that it is ALWAYS else {
}
i.e. there is no expression associated with an else
This logic operator is only true when both inputs are true
What is the and ( && ) logic operator
User's full name can be contained in this data type
What is a string
recall that the string data type is complex and tends to not show up ad a "keyword" in an IDE
This library is included to seed the random number generator with the seconds that have transpired since Jan 1 1970
What is ctime
C++, although not exclusively, is this type of programming language that executes commands line by line
What is procedural programming language
Produces a random number between 15 and 30
What is (rand()% 16) + 15
This operator is often used to determine if a number is even or odd
What is the modulo operator
The national debt can be contained in this variable type
What is Long Long
A (unsigned) long long can be up to 9,223,372,036,854,775,807
This library is included to use the functions rand() and srand()
what is cstdlib
Please Excuse My Dear Aunt Sally is an mnemonic that refers to what
The order of operation / calculation precedence in a c++ program
Produces a random number between 64 and 78 with a seed of time
What is srand(time(0)) then ((rand()% 15) + 64)
These two operators are found in one of Shakespeare's famous quotes
What is or ( || ) and not ( ! )
The famous quote is "To be or not to be"