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":6627,"date":"2015-02-23T22:31:16","date_gmt":"2015-02-24T04:31:16","guid":{"rendered":"http:\/\/luluisngel9.withknown.com\/2015\/mastery19---use-of-loops-with-while"},"modified":"2015-02-23T22:31:16","modified_gmt":"2015-02-24T04:31:16","slug":"mastery19-use-of-loops-with-while-3","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2015\/2015\/mastery19-use-of-loops-with-while-3\/","title":{"rendered":"#mastery19 – Use of loops with While"},"content":{"rendered":"
\n

#mastery19<\/a> #TC1016<\/a><\/p>\n

Primero se debe de llamar a la librería iostream, y así poder utilizar datos de entrada y salida.<\/p>\n

También se debe de definir el using namespace std.<\/p>\n

Una vez esto, se debe de introducir el programa principal, el int main.<\/p>\n

Se deben de definir las variables.<\/p>\n

Después, se debe de preguntar por las variables con el cin >><\/strong><\/p>\n

Unavez esto, se hace una operación, que es para saber cuantas veces seva a repetir el ciclo, que es z = (y-x)+1.<\/p>\n

Después de esto, se aplica el ciclo while<\/strong>. Para aplicar un ciclo while<\/strong> se hace lo siguiente:<\/p>\n

Se escribe while <\/strong>y seguido a esto, y entre parentesis (), se escribe la condición a seguir durante el ciclo. Después se escriben entre los corchetes {} lo que se quiere hacer durante ese ciclo, ya sea imprimir un numero, realizar operaciones, etc.<\/p>\n

En este caso, se va a sumar el primer numero proporcionado, hasta que llegue al segundo numero proporcionado y se va a imprimir esa suma. <\/p>\n

Una vez que la condición ya no se cumpla, se saldrá del ciclo while y continuará con el programa principal.<\/p>\n

Al final se compila y se corre el programa.<\/p>\n

 <\/p>\n

Aquí está el código:<\/p>\n

https:\/<\/wbr>\/<\/wbr>github.com\/<\/wbr>LuluisAngel\/<\/wbr>mastery19<\/a><\/p>\n

\"\"<\/span><\/span><\/p>\n

 <\/p>\n

 <\/p>\n

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

#mastery19 #TC1016Primero se debe de llamar a la librería iostream, y así poder utilizar datos de entrada y salida.También se debe de definir el using namespace std.Una vez esto, se debe de introducir el programa principal… Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":105,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,26],"tags":[166,115,333],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/6627"}],"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\/105"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/comments?post=6627"}],"version-history":[{"count":2,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/6627\/revisions"}],"predecessor-version":[{"id":7531,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/6627\/revisions\/7531"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/media?parent=6627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/categories?post=6627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/tags?post=6627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}