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":8656,"date":"2015-04-02T16:55:23","date_gmt":"2015-04-02T22:55:23","guid":{"rendered":"https:\/\/osvservin.withknown.com\/2015\/mastery-22"},"modified":"2015-04-02T16:55:23","modified_gmt":"2015-04-02T22:55:23","slug":"mastery-22","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2015\/2015\/mastery-22\/","title":{"rendered":"#mastery 22"},"content":{"rendered":"
\n

#mastery22<\/a> #TC1017<\/a><\/p>\n

 <\/p>\n

In this mastery I am going to expalin when to use a type of repetition.<\/p>\n

 <\/p>\n

FOR:<\/p>\n

We can use for as a loop when you know very well how many times the repetition will be done.<\/p>\n

example:<\/p>\n

for(i=1; i<=10; i++)      In this case I know that the loop is going to be repeated 10 times, so now I can use a FOR loop<\/p>\n

 <\/p>\n

DO WHILE:<\/p>\n

We use a do while when you are not sure how many times the loop will be repeated, it is going to continue while the conditional is true, when it is not it will go out of the loop.<\/p>\n

example:<\/p>\n

do {<\/p>\n

cout <<“Hello<< endl; <\/p>\n

} while (nu<\/p>\n

1==1); <\/p>\n

as you could see we d<\/p>\n

mo not know how many times it is going to be done <\/p>\n

 <\/p>\n

WHILE DO:<\/p>\n

It is exactly the same than the do while, but in this case the structure is the oposite and at the first time it is going to do the order if the condition is true.<\/p>\n

example:<\/p>\n

while (num1==1); do {<\/p>\n

cout<<“Hello”<< endl;<\/p>\n

}<\/p>\n

 <\/p>\n

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

#mastery22 #TC1017 In this mastery I am going to expalin when to use a type of repetition. FOR:We can use for as a loop when you know very well how many times the repetition will be done.example:for(i=1; i<=10; i++)     … Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":96,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,26],"tags":[336,40],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/8656"}],"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\/96"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/comments?post=8656"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/8656\/revisions"}],"predecessor-version":[{"id":8657,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/8656\/revisions\/8657"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/media?parent=8656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/categories?post=8656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/tags?post=8656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}