Discuss some of the ways you can make your program more readable when using selection structures.

What will be an ideal response?


Answers will vary.

One definite way to make your program code more readable is to properly indent when coding selection structures.  This will make reading the code much easier when you can see which statements go with certain clauses.  Comments are another excellent way of making the program code more readable.

Computer Science & Information Technology

You might also like to view...

In MySQL, the DECLARE statement appears in a ________ block.

a. START...END b. BEGIN...END c. TRY...CATCH d. IF...ELSEIF

Computer Science & Information Technology

Which Cisco IOS command is used on a router that is being configured with a ROAS configuration to manage untagged traffic?

A) encapsulation 802.1q vlan-id native B) encapsulation dot1q vlan-id native C) dot1q vlan-id native D) dot1q native vlan vlan-id

Computer Science & Information Technology

To execute the contents of a function, you must include a reference to the function name, known as a function __________, elsewhere in your code.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

All of the following statements are true about the Recycle Bin EXCEPT: _____.

A. It resides on the hard disk. B. Once the Recycle Bin is emptied, files can still be retrieved from the Download folder. C. Files can be restored after they are sent to the Recycle Bin. D. Double-clicking on the Recycle Bin icon displays all deleted files in File Explorer.

Computer Science & Information Technology