{"id":762,"date":"2022-04-08T12:50:11","date_gmt":"2022-04-08T10:50:11","guid":{"rendered":"https:\/\/informatykachelm.pl\/?p=762"},"modified":"2024-12-05T10:56:48","modified_gmt":"2024-12-05T09:56:48","slug":"petla-for-cwiczenia","status":"publish","type":"post","link":"https:\/\/informatykachelm.pl\/?p=762","title":{"rendered":"P\u0119tla for &#8211; \u0107wiczenia"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<!--more-->\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\"><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p>Zadania<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Utw\u00f3rz list\u0119 wype\u0142nion\u0105 100 randomowymi liczbami z przedzia\u0142u podanymi przez u\u017cytkownika (u\u017cytkownik podaje pocz\u0105tek i koniec przedzia\u0142u) np: 30 i 100<\/li><li>Sprawd\u017a ile liczb jest parzystych<\/li><li>Sprawd\u017a ile liczb jest nieparzystych<\/li><li>Sprawd\u017a ile liczb jest podzielnych przez 7<\/li><li>Oblicz sum\u0119 liczb na indeksach nieparzystych<\/li><li>Do ka\u017cdej liczby w li\u015bcie dodaj 50 i wydrukuj list\u0119<\/li><li>Sprawd\u017a ile liczb jest wielokrotno\u015bci\u0105 \u00f3semki<\/li><li>Sprawd\u017a ile liczb jest wi\u0119ksza ni\u017c suma ma\u0142ej i du\u017cej literki a<\/li><li>Usu\u0144 z listy wszystkie nieparzyste liczby &#8211; wydrukuj now\u0105 list\u0119<\/li><\/ol>\n<\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-762","post","type-post","status-publish","format-standard","hentry","category-kp1","entry"],"_links":{"self":[{"href":"https:\/\/informatykachelm.pl\/index.php?rest_route=\/wp\/v2\/posts\/762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/informatykachelm.pl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/informatykachelm.pl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/informatykachelm.pl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/informatykachelm.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=762"}],"version-history":[{"count":1,"href":"https:\/\/informatykachelm.pl\/index.php?rest_route=\/wp\/v2\/posts\/762\/revisions"}],"predecessor-version":[{"id":763,"href":"https:\/\/informatykachelm.pl\/index.php?rest_route=\/wp\/v2\/posts\/762\/revisions\/763"}],"wp:attachment":[{"href":"https:\/\/informatykachelm.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/informatykachelm.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/informatykachelm.pl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}