What's Good?

Wednesday, September 21, 2016

If, if else, and switch

If else statements and switch statements overall can lead to the same conclusion in a program. They can both be used to accomplish the same objective. However, in an if else statement you need the curly brackets to add more than one variable in the else if part.
Posted by Unknown at 12:23 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Unknown
View my complete profile

Blog Archive

  • ▼  2016 (28)
    • ►  November (1)
    • ►  October (7)
    • ▼  September (15)
      • Zork is a text based game. It's is basically a rol...
      • I was raised to play video games, board games, and...
      • for(int poop=100;                             poop...
      • I believe you're doing a well job and there is no ...
      • If, if else, and switch
      • I believe that it is inevitable; we will keep crea...
      • The order of operations is called PEMDAS. It's an ...
      •  Visual studio shows you the errors/bugs you've...
      • I think no man's sky should have made the list. No...
      • Compiling changes your code into binary, that way ...
      • Bool is true/false, int holds numbers (no decimals...
      • I enjoy this picture, because I believe it has a m...
      • Compile vs Run time errors
      • Counting to Ten
      • Game creation tool would be the actual tool used t...
    • ►  August (5)
Simple theme. Powered by Blogger.