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":26679,"date":"2015-11-22T00:02:58","date_gmt":"2015-11-22T06:02:58","guid":{"rendered":"http:\/\/giorgio6859.wordpress.com\/?p=89"},"modified":"2015-11-22T00:02:58","modified_gmt":"2015-11-22T06:02:58","slug":"quiz-11-24","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/quiz-11-24\/","title":{"rendered":"Quiz 11"},"content":{"rendered":"

Question 1<\/p>\n

 <\/p>\n

\/\/Quiz Euler
\n#include <iostream>
\nusing namespace std;<\/p>\n

float fact (float e) {
\nint q,w;
\nq = 0;
\nw = 1;
\nwhile (q<e) {
\nw = w*(q+1);
\nq = q+1;}
\nreturn w;}<\/p>\n

\/\/ x=n\u00famero de factorial al que llegar\u00e1 el denominador
\nint main(){
\ncout<<“\u00bfHasta qu\u00e9 factorial quieres llegar en el denominador?”<<endl;
\nint x;
\ncin>>x;
\nint i;
\nfloat s=1;
\nfor(i=1;i<=x;i++){
\ns=s+1\/fact(i);
\n}
\ncout<<“eln\u00famero de Euler llegando hasta tener el factorial de “<<x<<” en el denominador es “<<s<<endl;
\nreturn 0;}<\/p>\n

Question 2<\/p>\n

\/\/Quiz Banana
\n#include <iostream>
\n#include <fstream>
\n#include <string>
\nusing namespace std;<\/p>\n

int main(){
\nifstream archivo(“archivo.txt”);
\nstring renglon;
\nint c=0;\/\/contador<\/p>\n

while (1){
\ngetline(archivo,renglon);\/\/se hace un string
\nint x;\/\/Para el for
\nfor(x=0;x<renglon.length();x++){
\nif(renglon[x]==’b’or renglon[x]==’B’){
\nif(renglon[x+1]==’a’or renglon[x+1]==’A’){
\nif(renglon[x+2]==’n’or renglon[x+2]==’N’){
\nif(renglon[x+3]==’a’or renglon[x+3]==’A’){
\nif(renglon[x+4]==’n’or renglon[x+4]==’N’){
\nif(renglon[x+5]==’a’or renglon[x+5]==’A’){
\nc=c+1;
\n}
\n}
\n}
\n}
\n}
\n}
\nelse{
\ncontinue;}
\n}
\nif (archivo.eof()) break;\/\/el while se detiene cuando termina el archivo
\n}
\ncout<<“La palabra banana se encuentra “<<c<<” veces en el archivo.”<<endl;
\nreturn 0;}<\/p>\n

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

Question 1   \/\/Quiz Euler #include <iostream> using namespace std; float fact (float e) { int q,w; q = 0; w = 1; while (q<e) { w = w*(q+1); q = q+1;} return w;} \/\/ x=número de factorial al que llegará el denominador int main(){ cout<<“¿Hasta qué factorial quieres llegar en el denominador?”<<endl; int x; […]\"\"<\/p>\n","protected":false},"author":225,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[456,46],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/26679"}],"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\/225"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=26679"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/26679\/revisions"}],"predecessor-version":[{"id":26680,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/26679\/revisions\/26680"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=26679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=26679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=26679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}