Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":21462,"date":"2015-09-16T18:13:20","date_gmt":"2015-09-16T23:13:20","guid":{"rendered":"http:\/\/mferprogr.wordpress.com\/?p=63"},"modified":"2015-09-16T18:13:20","modified_gmt":"2015-09-16T23:13:20","slug":"use-of-else-with-a-conditional","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/use-of-else-with-a-conditional\/","title":{"rendered":"Use of \u201delse\u201d with a conditional"},"content":{"rendered":"
\"by<\/a>
by Lynn Jacobs<\/figcaption><\/figure>\n

My last post was about the use of ”if” as a condition in c++. Now I should complement that post with an explanation about ”else”.<\/p>\n

When we use ”if”, we declare a condition. Then we make our program do something under that condition. But, what happens if the condition is not accomplished? Well, if we don’t use else, the program would end there. But, if we use else, we can make our program do some other thing when the condition we declared is not accomplished.<\/p>\n

Here’s a code as an example:<\/p>\n

#include <iostream>
\nusing namespace std;
\nint hours;
\nint main()
\n{
\ncout<<“How many hours of study do you need to approve?”;
\ncin>>hours;
\nif (hours>5)
\ncout<<“You should start now”;
\nelse
\ncout<<“You have some free time!”
\nreturn 0;
\n}<\/p>\n

And now, to clarify a little bit more what “else” works for I made a short poem:<\/p>\n

\"\"<\/a>
by RasMarley<\/figcaption><\/figure>\n

If else<\/b><\/p>\n

\n

If you do this,<\/p>\n

I’ll do that.<\/p>\n

If you say this,<\/p>\n

I’ll say that.<\/p>\n

If you take this,<\/p>\n

I’ll take that.<\/p>\n

\n

We unconditionally<\/p>\n

will state conditions,<\/p>\n

not just in reality,<\/p>\n

but in coding too.<\/p>\n

\n

\n

What if?<\/p>\n

Constantly questioning,<\/p>\n

our head is<\/p>\n

stuck in a single string.<\/p>\n

\n

We should open ourselves<\/p>\n

to a second\u00a0way,<\/p>\n

where it’s not just about if’s<\/p>\n

but also about else.<\/p>\n

\n

Else makes all clearer,<\/p>\n

else makes all brighter.<\/p>\n

”if”conditions are great, yes,<\/p>\n

but complement them with\u00a0else,<\/p>\n

that’s\u00a0even\u00a0greater.<\/p>\n

\n

“If you don’t teach me,<\/p>\n

you’ll see me failing.<\/p>\n

Else, if you do,<\/p>\n

you’ll see me nail it.”<\/p>\n

\n

\n

\"\"<\/a> \"\"<\/p>\n","protected":false},"excerpt":{"rendered":"

My last post was about the use of ”if” as a condition in c++. Now I should complement that post with an explanation about ”else”. When we use ”if”, we declare a condition. Then we make our program do something under that condition. But, what happens if the condition is not accomplished? Well, if we […]\"\"<\/p>\n","protected":false},"author":252,"featured_media":21460,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[219,193,194,62,39],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/21462"}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/users\/252"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=21462"}],"version-history":[{"count":2,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/21462\/revisions"}],"predecessor-version":[{"id":21538,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/21462\/revisions\/21538"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media\/21460"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=21462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=21462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=21462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}