Documentation
¶
Overview ¶
Write a program that converts strings to Booleans: * The strings “true”, “yes”, or “1” are true . * The strings “false”, “no”, or “0” are false . * Display an error message for any other values. TIP The switch statement accepts multiple values per case, as covered in lesson 3.
Click to show internal directories.
Click to hide internal directories.