Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

Q3. Which of the following are valid variable declaration(s)? 1.integer X; 2.let a_crowd=3; 3.int main=0; 4. double _2pct; 5. const E= 1; 6 double oxygen%;

OpenStudy (rsmith6559):

1. Valid, but by convention lowercase letters are used to start variable names. Uppercase letters are for class names. 2. let is usually used in BASIC dialects 3. main is a reserved function name where execution starts in C, C++ and Java. 4. Valid 5. doesn't have a type 6. variable names usually can only be letters, numbers and underscores, and must begin with either a letter or underscore.

OpenStudy (anonymous):

okk :)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!