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":23373,"date":"2015-10-21T10:40:09","date_gmt":"2015-10-21T15:40:09","guid":{"rendered":"http:\/\/myfreakingcrazythoughts.wordpress.com\/?p=133"},"modified":"2015-10-21T10:40:09","modified_gmt":"2015-10-21T15:40:09","slug":"lists","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/lists\/","title":{"rendered":"Lists!"},"content":{"rendered":"

For this weekly WSQ which is #10 We will be using \u00a0arrays in order to create a program that asks the user for 10 numbers\u00a0 (floating point). Store those numbers in a list. Show to the user the total, average and standard deviation of those numbers.<\/p>\n

So the code will look like this:<\/p>\n

\n
#include <iostream><\/span>\n#include <math.h><\/span>\nusing<\/span> namespace<\/span> std;<\/span>\n\nfloat<\/span> aver<\/span>(<\/span>float<\/span> x){<\/span>\n  return<\/span> (x\/<\/span>10<\/span>);<\/span>\n}<\/span>\n\nint<\/span> main<\/span> (){<\/span>\n\tfloat<\/span> array1[<\/span>10<\/span>];<\/span>\n\tfloat<\/span> suma=<\/span>0<\/span>;<\/span>\n\tfloat<\/span> square=<\/span>0<\/span>,<\/span> deviation;<\/span>\n\tfor<\/span> (<\/span>int<\/span> i=<\/span>0<\/span>;<\/span> i<<\/span>10<\/span>;<\/span> i++)<\/span>\n\t{<\/span>\n\t\tcout<<<\/span>\"Please introduce the value number \"<\/span><<(i+<\/span>1<\/span>)<<<\/span>\" : \"<\/span>;<\/span>\n\t\tcin>>array1[i];<\/span>\n\t}<\/span>\n\n\tfor<\/span> (<\/span>int<\/span> i=<\/span>0<\/span>;<\/span> i<<\/span>10<\/span>;<\/span> i++)<\/span>\n\t{<\/span>\n\tsuma+=array1[i];<\/span>\n\tsquare+=(array1[i])*(array1[i]);<\/span>\n\t}<\/span>\n\tdeviation=sqrt(square\/<\/span>10<\/span>);<\/span>\n\n  cout<<<\/span>\"\"<\/span><<endl;<\/span>\n\tcout<<<\/span>\"The addition is equals to: \"<\/span><<suma<<endl;<\/span>\n\tcout<<<\/span>\"The average of the numbers you introduce is: \"<\/span><<aver(suma)<<endl;<\/span>\n\tcout<<<\/span>\"The standard deviation of the numbers you introduce is: \"<\/span><<deviation<<endl;<\/span>\n\nreturn<\/span> 0<\/span>;<\/span>\n}<\/span>\n<\/pre>\n<\/div>\n

And the execution will be as the following:
\n\"Lists<\/a><\/p>\n

Once more, thank you for your attention and as always I will be leaving the codes on my GitHub account.<\/a><\/p>\n

Remember to keep practicing!<\/p>\n

-The Admin<\/p>\n

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

For this weekly WSQ which is #10 We will be using  arrays in order to create a program that asks the user for 10 numbers  (floating point). Store those numbers in a list. Show to the user the total, average… Continue Reading →<\/a>\"\"<\/p>\n","protected":false},"author":259,"featured_media":23371,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[582,388,206,152,617,614,615,88],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23373"}],"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\/259"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=23373"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23373\/revisions"}],"predecessor-version":[{"id":23375,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23373\/revisions\/23375"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media\/23371"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=23373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=23373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=23373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}