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":22507,"date":"2015-09-25T13:01:05","date_gmt":"2015-09-25T18:01:05","guid":{"rendered":"https:\/\/vanessabaeza.withknown.com\/2015\/wsq06"},"modified":"2015-09-25T13:01:05","modified_gmt":"2015-09-25T18:01:05","slug":"wsq06-19","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/wsq06-19\/","title":{"rendered":"WSQ06!!"},"content":{"rendered":"
\n

Here is my code, you have to guess a number that is randomly selected by the program. I did it with no help (except for the time\/rand thing).<\/p>\n

Hope this helps you!<\/p>\n

#WSQ06<\/a> #Tc1017<\/a><\/p>\n

\u00a0<\/p>\n

#include<\/a> <\/p>\n

#include<\/a> <\/p>\n

#include<\/a> <\/p>\n

using namespace std;<\/p>\n

\u00a0<\/p>\n

int main() {<\/p>\n

\u00a0 srand(time(0)); \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \/\/time changes, the number changes<\/p>\n

\u00a0 int r=1+(rand() % 100);<\/p>\n

\u00a0 int x;<\/p>\n

\u00a0 int count = 0;<\/p>\n

\u00a0 cout\n<\/p>\n

\u00a0<\/p>\n

cout\n<\/p>\n

cin >>x;<\/p>\n

count = count+1;<\/p>\n

\u00a0<\/p>\n

while (x!=r){<\/p>\n

\u00a0 if(x<\/p>\n

\u00a0 cout\n<\/p>\n

\u00a0 cin >>x;<\/p>\n

\u00a0 count = count + 1;<\/p>\n

} else {<\/p>\n

\u00a0 if (x>r){<\/p>\n

\u00a0 \u00a0 \u00a0 cout\n<\/p>\n

\u00a0 \u00a0 \u00a0 cin >>x;<\/p>\n

\u00a0 \u00a0 \u00a0 count = count + 1;<\/p>\n

\u00a0}<\/p>\n

\u00a0 }<\/p>\n

}<\/p>\n

\u00a0<\/p>\n

cout\n<\/p>\n

\u00a0 return 0;<\/p>\n

\u00a0<\/p>\n

}<\/p>\n

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

\n

Here is my code, you have to guess a number that is randomly selected by the program. I did it with no help (except for the time\/rand thing).<\/p>\n

Hope this helps you!<\/p>\n

#WSQ06<\/a> #Tc1017<\/a><\/p>\n

 <\/p>\n

#include<\/a> <\/p>\n

#include<\/a> <\/p>\n

#include<\/a> <\/p>\n

using namespace std;<\/p>\n

 <\/p>\n

int main() {<\/p>\n

  srand(time(0));           \/\/time changes, the number changes<\/p>\n

  int r=1+(rand() % 100);<\/p>\n

  int x;<\/p>\n

  int count = 0;<\/p>\n

  cout\n<\/p>\n

 <\/p>\n

cout\n<\/p>\n

cin >>x;<\/p>\n

count = count+1;<\/p>\n

 <\/p>\n

while (x!=r){<\/p>\n

  if(x<\/p>\n

  cout\n<\/p>\n

  cin >>x;<\/p>\n

  count = count + 1;<\/p>\n

} else {<\/p>\n

  if (x>r){<\/p>\n

      cout\n<\/p>\n

      cin >>x;<\/p>\n

      count = count + 1;<\/p>\n

 }<\/p>\n

  }<\/p>\n

}<\/p>\n

 <\/p>\n

cout\n<\/p>\n

  return 0;<\/p>\n

 <\/p>\n

}<\/p>\n

\"\"<\/p>\n<\/div>\n","protected":false},"author":257,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[95,40,167],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/22507"}],"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\/257"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=22507"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/22507\/revisions"}],"predecessor-version":[{"id":22673,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/22507\/revisions\/22673"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=22507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=22507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=22507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}