Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":9534,"date":"2015-04-06T19:35:46","date_gmt":"2015-04-07T00:35:46","guid":{"rendered":"https:\/\/mauriciocoopera.withknown.com\/2015\/mastery-17"},"modified":"2015-04-06T19:35:46","modified_gmt":"2015-04-07T00:35:46","slug":"mastery-17-6","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2015\/2015\/mastery-17-6\/","title":{"rendered":"Mastery 17"},"content":{"rendered":"
\n

Use of “switch” as a conditional<\/p>\n

switch<\/strong> statement allows a variable to be tested for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.<\/p>\n

Syntax:<\/h2>\n

The syntax for a switch<\/strong> statement in C++ is as follows:<\/p>\n

switch<\/span>(<\/span>expression<\/span>){<\/span>\n    case<\/span> constant<\/span>-<\/span>expression  <\/span>:<\/span>\n       statement<\/span>(<\/span>s<\/span>);<\/span>\n       break<\/span>;<\/span> \/\/optional<\/span>\n    case<\/span> constant<\/span>-<\/span>expression  <\/span>:<\/span>\n       statement<\/span>(<\/span>s<\/span>);<\/span>\n       break<\/span>;<\/span> \/\/optional<\/span>\n  \n    \/\/ you can have any number of case statements.<\/span>\n    default<\/span> :<\/span> \/\/Optional<\/span>\n       statement<\/span>(<\/span>s<\/span>);<\/span>\n}
<\/span><\/pre>\n

The following rules apply to a switch statement:<\/p>\n