anonymous
  • anonymous
For each of the below variable names, indicate (with y or n) whether it is legal and whether it uses the proper style. You may skip the style portion for any that are not legal. a. _isReady b. 3rdName c. num of wheels d. money#on#hand e. taxRate f. SeatNumber
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
jamiebookeater
  • jamiebookeater
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
@hartnn I would greatly appreciate your help!
hartnn
  • hartnn
variable names cannot start with a number or special character it should only start with an alphabet
anonymous
  • anonymous
Ok so a. n b. n c. y d. y e. y f. y

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

hartnn
  • hartnn
also there shouldn't be a space in between
hartnn
  • hartnn
also # is not allowed in the name
anonymous
  • anonymous
Oh. So a. n b. n c. n d. y, y e. y, y f. y, y
hartnn
  • hartnn
actually _ in the beginning is allowed! so 1st one is valid
anonymous
  • anonymous
Ok. But how do I know if they use the proper style?
hartnn
  • hartnn
and last 2 are valid, all others are invalid :)
anonymous
  • anonymous
How do I know if they use the proper style?
anonymous
  • anonymous
They want to know if they are legal and if they use the proper style
hartnn
  • hartnn
whats the proper style?
anonymous
  • anonymous
I have no idea. Maybe with the case?
hartnn
  • hartnn
i know about whether they are legal or not, i am not sure about styles.... try to dig it in your notes maybe?
anonymous
  • anonymous
Ok thanks. It doesn't say anywhere. It only talks about proper identifier syntax
hartnn
  • hartnn
http://www.c4learn.com/c-programming/c-variable-nameing-rules/ here they have explained in more clarity for the naming rules.. will search styles on internet
anonymous
  • anonymous
Thanks!

Looking for something else?

Not the answer you are looking for? Search for more explanations.