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":13911,"date":"2015-05-06T12:18:40","date_gmt":"2015-05-06T17:18:40","guid":{"rendered":"https:\/\/mauriciocoopera.withknown.com\/2015\/mastery-18"},"modified":"2015-05-06T12:18:40","modified_gmt":"2015-05-06T17:18:40","slug":"mastery-18-10","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2015\/2015\/mastery-18-10\/","title":{"rendered":"Mastery 18"},"content":{"rendered":"
\n

Nesting of conditional statements<\/span><\/p>\n

It is always legal to\u00a0nest<\/strong>\u00a0if-else statements, which means you can use one if or else if statement inside another if or else if statement(s).<\/p>\n

Syntax:<\/h2>\n

The syntax for a\u00a0nested if<\/strong>\u00a0statement is as follows:<\/p>\n

#d6d6d6; font-size: 12px; overflow: auto; color: #313131; background-color: #eeeeee;\">if<\/span>(<\/span> boolean_expression <\/span>1<\/span>)<\/span>\n{<\/span>\n   \/\/ Executes when the boolean expression 1 is true<\/span>\n   if<\/span>(<\/span>boolean_expression <\/span>2<\/span>)<\/span>\n   {<\/span>\n      \/\/ Executes when the boolean expression 2 is true<\/span>\n   }<\/span>\n}<\/span><\/pre>\n

\u00a0<\/p>\n

You can nest\u00a0else if…else<\/strong>\u00a0in the similar way as you have nested\u00a0if<\/em>\u00a0statement.<\/p>\n

Example:<\/h2>\n
#d6d6d6; font-size: 12px; overflow: auto; color: #313131; cursor: default; background-image: url('http:\/\/www.tutorialspoint.com\/cplusplus\/images\/try-it.jpg') !important; background-attachment: initial !important; background-color: #eeeeee !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: 100% 0%; background-repeat: no-repeat !important;\">#include<\/a><\/span> <\/iostream><\/span>\nusing<\/span> namespace<\/span> std<\/span>;<\/span>\n \nint<\/span> main <\/span>()<\/span>\n{<\/span>\n   \/\/ local variable declaration:<\/span>\n   int<\/span> a <\/span>=<\/span> 100<\/span>;<\/span>\n   int<\/span> b <\/span>=<\/span> 200<\/span>;<\/span>\n \n   \/\/ check the boolean condition<\/span>\n   if<\/span>(<\/span> a <\/span>==<\/span> 100<\/span> )<\/span>\n   {<\/span>\n       \/\/ if condition is true then check the following<\/span>\n       if<\/span>(<\/span> b <\/span>==<\/span> 200<\/span> )<\/span>\n       {<\/span>\n          \/\/ if condition is true then print the following<\/span>\n          cout <\/span> \"Value of a is 100 and b is 200\"<\/span>  endl<\/span>;<\/span>\n       }<\/span>\n   }<\/span>\n   cout <\/span> \"Exact value of a is : \"<\/span>  a <\/span> endl<\/span>;<\/span>\n   cout <\/span> \"Exact value of b is : \"<\/span>  b <\/span> endl<\/span>;<\/span>\n \n   return<\/span> 0<\/span>;<\/span>\n}<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/pre>\n

When the above code is compiled and executed, it produces the following result:<\/p>\n

#d6d6d6; font-size: 12px; overflow: auto; color: #313131; background-color: #eeeeee;\">Value<\/span> of a <\/span>is<\/span> 100<\/span> and<\/span> b <\/span>is<\/span> 200<\/span>\nExact<\/span> value of a <\/span>is<\/span> :<\/span> 100<\/span>\nExact<\/span> value of b <\/span>is<\/span> :<\/span> 200<\/span><\/pre>\n

Credits:<\/p>\n

<\/a>http:\/<\/wbr>\/<\/wbr>www.tutorialspoint.com\/<\/wbr>cplusplus\/<\/wbr>cpp_nested_if.htm<\/a><\/p>\n

#TC<\/a>1017 #Mastery<\/a>18<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

\n

Nesting of conditional statements<\/span><\/p>\n

It is always legal to nest<\/strong> if-else statements, which means you can use one if or else if statement inside another if or else if statement(s).<\/p>\n

Syntax:<\/h2>\n

The syntax for a nested if<\/strong> statement is as follows:<\/p>\n

#d6d6d6; font-size: 12px; overflow: auto; color: #313131; background-color: #eeeeee;\">if<\/span>(<\/span> boolean_expression <\/span>1<\/span>)<\/span>\n{<\/span>\n   \/\/ Executes when the boolean expression 1 is true<\/span>\n   if<\/span>(<\/span>boolean_expression <\/span>2<\/span>)<\/span>\n   {<\/span>\n      \/\/ Executes when the boolean expression 2 is true<\/span>\n   }<\/span>\n}<\/span><\/pre>\n

 <\/p>\n

You can nest else if…else<\/strong> in the similar way as you have nested if<\/em> statement.<\/p>\n

Example:<\/h2>\n
#d6d6d6; font-size: 12px; overflow: auto; color: #313131; cursor: default; background-image: url('http:\/\/www.tutorialspoint.com\/cplusplus\/images\/try-it.jpg') !important; background-attachment: initial !important; background-color: #eeeeee !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: 100% 0%; background-repeat: no-repeat !important;\">#include<\/a><\/span> <\/span>\nusing<\/span> namespace<\/span> std<\/span>;<\/span>\n \nint<\/span> main <\/span>()<\/span>\n{<\/span>\n   \/\/ local variable declaration:<\/span>\n   int<\/span> a <\/span>=<\/span> 100<\/span>;<\/span>\n   int<\/span> b <\/span>=<\/span> 200<\/span>;<\/span>\n \n   \/\/ check the boolean condition<\/span>\n   if<\/span>(<\/span> a <\/span>==<\/span> 100<\/span> )<\/span>\n   {<\/span>\n       \/\/ if condition is true then check the following<\/span>\n       if<\/span>(<\/span> b <\/span>==<\/span> 200<\/span> )<\/span>\n       {<\/span>\n          \/\/ if condition is true then print the following<\/span>\n          cout <\/span> \"Value of a is 100 and b is 200\"<\/span>  endl<\/span>;<\/span>\n       }<\/span>\n   }<\/span>\n   cout <\/span> \"Exact value of a is : \"<\/span>  a <\/span> endl<\/span>;<\/span>\n   cout <\/span> \"Exact value of b is : \"<\/span>  b <\/span> endl<\/span>;<\/span>\n \n   return<\/span> 0<\/span>;<\/span>\n}<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/pre>\n

When the above code is compiled and executed, it produces the following result:<\/p>\n

#d6d6d6; font-size: 12px; overflow: auto; color: #313131; background-color: #eeeeee;\">Value<\/span> of a <\/span>is<\/span> 100<\/span> and<\/span> b <\/span>is<\/span> 200<\/span>\nExact<\/span> value of a <\/span>is<\/span> :<\/span> 100<\/span>\nExact<\/span> value of b <\/span>is<\/span> :<\/span> 200<\/span><\/pre>\n

Credits:<\/p>\n

<\/a>http:\/\/www.tutorialspoint.com\/cplusplus\/cpp_nested_if.htm<\/a><\/p>\n

#TC<\/a>1017 #Mastery<\/a>18<\/p>\n<\/div>\n

Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,26],"tags":[395,520,519,517,518,144,396,521,397,394,234,213,95,180,486,40,287],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/13911"}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/comments?post=13911"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/13911\/revisions"}],"predecessor-version":[{"id":13912,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/13911\/revisions\/13912"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/media?parent=13911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/categories?post=13911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/tags?post=13911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}