Question: The computer assumes everything is a string unless the programmer tells them otherwise. The computer uses clues from context, like presence of a decimal point,
The computer assumes everything is a string unless the programmer tells them otherwise.
The computer uses clues from context, like presence of a decimal point, quotes, or keywords, and the previous type of the variable to decide what type to store.
The programmer needs to declare the type of a variable before assigning it a value.
The programmer must use the type function to let the computer know what type to store.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
