<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-356339656451607802</id><updated>2024-10-04T11:36:21.903-07:00</updated><category term="algorithm"/><category term="c++"/><category term="code"/><category term="int"/><category term="main"/><category term="program c++"/><category term="program in c"/><category term="programming"/><category term="program"/><category term="program in c++"/><category term="programers"/><category term="programming c++"/><category term="programms"/><category term="simple"/><category term="tutor"/><category term="tutorial"/><category term="programm"/><category term="programmers"/><category term="programs"/><category term="matrix"/><category term="matrix 50 x 50"/><category term="average"/><category term="integer"/><category term="modul"/><title type='text'>C++ Programs</title><subtitle type='html'>Here you can find simple C++ code, and you can learn how to make simple c++ program by your self....</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ssendyprograms-c.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ssendyprograms-c.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ssendy</name><uri>http://www.blogger.com/profile/08971482775142198986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-356339656451607802.post-8303813550207036124</id><published>2012-12-13T14:31:00.000-08:00</published><updated>2012-12-20T13:28:52.691-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="average"/><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><category scheme="http://www.blogger.com/atom/ns#" term="code"/><category scheme="http://www.blogger.com/atom/ns#" term="int"/><category scheme="http://www.blogger.com/atom/ns#" term="integer"/><category scheme="http://www.blogger.com/atom/ns#" term="main"/><category scheme="http://www.blogger.com/atom/ns#" term="matrix"/><category scheme="http://www.blogger.com/atom/ns#" term="matrix 50 x 50"/><category scheme="http://www.blogger.com/atom/ns#" term="modul"/><category scheme="http://www.blogger.com/atom/ns#" term="program c++"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programers"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="programming c++"/><category scheme="http://www.blogger.com/atom/ns#" term="simple"/><category scheme="http://www.blogger.com/atom/ns#" term="tutor"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Program with integer, modul, average</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;BS-LATN-BA&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;/*&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;BS-LATN-BA&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;BS-LATN-BA&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;nbsp;Make a program in
which user enters a number n...If n is not integer, print a message about that
and ask a user to enter a number again...User than enters n numbers, after that program &amp;nbsp;prints an &amp;nbsp;average of entered numbers....&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;BS-LATN-BA&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;BS-LATN-BA&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;*/&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;BS-LATN-BA&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span lang=&quot;BS-LATN-BA&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span lang=&quot;BS-LATN-BA&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.redgage.com/c-ujbeab&quot; target=&quot;_blank&quot;&gt;HERE YOU CAN FIND MORE C++ PROGRAMS ON REDGAGE&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;BS-LATN-BA&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span lang=&quot;BS-LATN-BA&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;BS-LATN-BA&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;#include &amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;using namespace std;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;int main()&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;bool ok=false;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;int m;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;while(ok==false){&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;Type number n: &amp;nbsp;&quot;&amp;lt;&amp;lt;endl;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;double n;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;n;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;n=n*10;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;m=(int)n;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if(m%10==0){&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m=m/10;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;&quot;It&#39;s OK, you can continue.... &amp;nbsp;&quot;&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ok=true;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;else{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;&quot;You need to enter integer.... &amp;nbsp;&quot;&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; ok=false;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;&quot;Now type &quot;&amp;lt;&amp;lt;m&amp;lt;&amp;lt;&quot; numbers &amp;nbsp;&quot;&amp;lt;&amp;lt;endl;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;int niz[m];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;int sum=0;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;for(int i=0;i&amp;lt;m;i++){&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;niz[i];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;endl;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum=sum+niz[i];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;float as;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;float sum1=sum;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;float m1=m;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;as=sum1/m1;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;cout&amp;lt;&amp;lt;&quot;Average is: &amp;nbsp; &quot;&amp;lt;&amp;lt;as&amp;lt;&amp;lt;endl; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;system(&quot;PAUSE&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;return EXIT_SUCCESS;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ssendyprograms-c.blogspot.com/feeds/8303813550207036124/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/12/program-with-integer-modul-average.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/8303813550207036124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/8303813550207036124'/><link rel='alternate' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/12/program-with-integer-modul-average.html' title='Program with integer, modul, average'/><author><name>ssendy</name><uri>http://www.blogger.com/profile/08971482775142198986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-356339656451607802.post-4388914328875178666</id><published>2012-12-11T10:27:00.001-08:00</published><updated>2012-12-20T13:33:16.455-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><category scheme="http://www.blogger.com/atom/ns#" term="code"/><category scheme="http://www.blogger.com/atom/ns#" term="int"/><category scheme="http://www.blogger.com/atom/ns#" term="main"/><category scheme="http://www.blogger.com/atom/ns#" term="matrix"/><category scheme="http://www.blogger.com/atom/ns#" term="matrix 50 x 50"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="program c++"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="programms"/><title type='text'>Matrix 50 x 50 and secondary diagonal</title><content type='html'>/*&lt;br /&gt;
Question:&lt;br /&gt;
Make a logic of program which will use a matrix [50][50]....User types the numbers, and numbers must be less or equal to 50, if that condition is not satisfied, you need to repeat the number m....Find and multiply the numbers on secondary diagonal of matrix....(secondary diagonal goes from upper right side to downer left)&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.redgage.com/c-uijxd&quot; target=&quot;_blank&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;HERE YOU CAN FIND MORE C++ PROGRAMS ON REDGAGE&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXT1GcYAos8OPg15ArqssktgvBsig9IbeZ6Dzg0mZxeZansLnC5pWx2IIJlcIgSfmowHy8D7h8fOKS3WXtK0W0buwzzeWttAN9rts8uud9nwuMCyLfopAx5aSRBG-R09n8HRQkjQxND6CC/s1600/vedo+zadatak2.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;226&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXT1GcYAos8OPg15ArqssktgvBsig9IbeZ6Dzg0mZxeZansLnC5pWx2IIJlcIgSfmowHy8D7h8fOKS3WXtK0W0buwzzeWttAN9rts8uud9nwuMCyLfopAx5aSRBG-R09n8HRQkjQxND6CC/s320/vedo+zadatak2.bmp&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;int x=3;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;int y=3;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;int n[x][y];&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;int m;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;int sum=0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot; Type the numbers of matrix: &quot;&amp;lt;&amp;lt;x&amp;lt;&amp;lt;&quot; x &quot;&amp;lt;&amp;lt;y&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for(int i=0;i&amp;lt;x;i++){&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for(int j=0;j&amp;lt;y;j++){&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;Position &quot;&amp;lt;&amp;lt;i+1&amp;lt;&amp;lt;&quot; - &quot;&amp;lt;&amp;lt;j+1&amp;lt;&amp;lt;&quot; is: &quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;m;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(m&amp;lt;51){&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;n[i][j]=m; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; j--;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot; Type the number which is smaller or equal to 50 &quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;Matrix is: &quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for(int i=0;i&amp;lt;x;i++){&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum=sum+n[i][x-1-i];&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;n[i][x-1-i]&amp;lt;&amp;lt;&quot; &amp;nbsp; &quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;&quot;The sum of secondary diagonal is: &quot;&amp;lt;&amp;lt; sum &amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;system(&quot;PAUSE&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;return EXIT_SUCCESS;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;a href=&quot;http://www.redgage.com/c-uijxd&quot; target=&quot;_blank&quot;&gt;HERE YOU CAN FIND MORE C++ PROGRAMS ON REDGAGE&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ssendyprograms-c.blogspot.com/feeds/4388914328875178666/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/12/matrix-50-x-50-and-secondary-diagonal.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/4388914328875178666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/4388914328875178666'/><link rel='alternate' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/12/matrix-50-x-50-and-secondary-diagonal.html' title='Matrix 50 x 50 and secondary diagonal'/><author><name>ssendy</name><uri>http://www.blogger.com/profile/08971482775142198986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXT1GcYAos8OPg15ArqssktgvBsig9IbeZ6Dzg0mZxeZansLnC5pWx2IIJlcIgSfmowHy8D7h8fOKS3WXtK0W0buwzzeWttAN9rts8uud9nwuMCyLfopAx5aSRBG-R09n8HRQkjQxND6CC/s72-c/vedo+zadatak2.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-356339656451607802.post-1006017511563787358</id><published>2012-04-13T14:29:00.002-07:00</published><updated>2012-04-14T04:14:07.276-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><category scheme="http://www.blogger.com/atom/ns#" term="code"/><category scheme="http://www.blogger.com/atom/ns#" term="int"/><category scheme="http://www.blogger.com/atom/ns#" term="main"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="program c++"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programers"/><category scheme="http://www.blogger.com/atom/ns#" term="programm"/><category scheme="http://www.blogger.com/atom/ns#" term="programmers"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="programming c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programms"/><category scheme="http://www.blogger.com/atom/ns#" term="programs"/><category scheme="http://www.blogger.com/atom/ns#" term="simple"/><category scheme="http://www.blogger.com/atom/ns#" term="tutor"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>10. Simple C++ Program - Tutorial</title><content type='html'>&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int option=1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; while(option!=0){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;How many numbers you want to enter: &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int howMany;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;howMany;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int array[howMany];&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Write those numbers: &quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; for(int i=0;i&amp;lt;howMany;i++){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;array[i];&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Choose the option that you want: &amp;nbsp;&quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;1) &amp;nbsp;Write from first to last..... &quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;2) &amp;nbsp;write from last to first..... &amp;nbsp;&quot;&amp;lt;&amp;lt;endl; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;0) &amp;nbsp;Exit... &quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;option; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; switch(option){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case 1:{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for(int i=0;i&amp;lt;howMany;i++){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;array[i]&amp;lt;&amp;lt;&quot;, &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case 2:{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for(int i=howMany-1;i&amp;gt;=0;i--){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;array[i]&amp;lt;&amp;lt;&quot;, &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; system(&quot;PAUSE&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return EXIT_SUCCESS;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUSou9NdFs1PaUTUZRJNWEMjwJq1XegTqEkalKwP-o_7zQBGV7GUGbkibvD66nD6RjqwIqxRJpX7x2LtpCGs56eC9g6xykVtRHGIDaFxUZ5EhDtkCsBZIl4jOQF_BDfEr_mIt_65vFuGwn/s1600/10.c++.bmp&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUSou9NdFs1PaUTUZRJNWEMjwJq1XegTqEkalKwP-o_7zQBGV7GUGbkibvD66nD6RjqwIqxRJpX7x2LtpCGs56eC9g6xykVtRHGIDaFxUZ5EhDtkCsBZIl4jOQF_BDfEr_mIt_65vFuGwn/s400/10.c++.bmp&quot; width=&quot;338&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ssendyprograms-c.blogspot.com/feeds/1006017511563787358/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/10-simple-c-program.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/1006017511563787358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/1006017511563787358'/><link rel='alternate' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/10-simple-c-program.html' title='10. Simple C++ Program - Tutorial'/><author><name>ssendy</name><uri>http://www.blogger.com/profile/08971482775142198986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUSou9NdFs1PaUTUZRJNWEMjwJq1XegTqEkalKwP-o_7zQBGV7GUGbkibvD66nD6RjqwIqxRJpX7x2LtpCGs56eC9g6xykVtRHGIDaFxUZ5EhDtkCsBZIl4jOQF_BDfEr_mIt_65vFuGwn/s72-c/10.c++.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-356339656451607802.post-5944849355419676935</id><published>2012-04-13T09:17:00.001-07:00</published><updated>2012-04-14T04:15:45.362-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><category scheme="http://www.blogger.com/atom/ns#" term="code"/><category scheme="http://www.blogger.com/atom/ns#" term="int"/><category scheme="http://www.blogger.com/atom/ns#" term="main"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="program c++"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programers"/><category scheme="http://www.blogger.com/atom/ns#" term="programm"/><category scheme="http://www.blogger.com/atom/ns#" term="programmers"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="programming c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programms"/><category scheme="http://www.blogger.com/atom/ns#" term="programs"/><category scheme="http://www.blogger.com/atom/ns#" term="simple"/><category scheme="http://www.blogger.com/atom/ns#" term="tutor"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>9. Simple C++ Program - Tutorial</title><content type='html'>&lt;br /&gt;
/*&lt;br /&gt;
In this program we use calculating operations like adding, multiplying, dividing and subtracting numbers...&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int option=1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; while(option!=0){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; double number1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; double number2;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int option2;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Choose the option that you want: &amp;nbsp;&quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;1) &amp;nbsp;Add two numbers... &amp;nbsp;&quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;2) &amp;nbsp;Subtract two numbers... &amp;nbsp;&quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;3) &amp;nbsp;Multiply two numbers... &amp;nbsp;&quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;4) &amp;nbsp;Divide two numbers... &amp;nbsp;&quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;0) &amp;nbsp;Exit... &quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;option;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if(option!=0){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;&quot;Enter two numbers: &amp;nbsp; &quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;number1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;number2;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; switch(option){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case 1:{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;number1&amp;lt;&amp;lt;&quot; + &quot;&amp;lt;&amp;lt;number2&amp;lt;&amp;lt;&quot; = &quot;&amp;lt;&amp;lt;number1+number2&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case 2:{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;number1&amp;lt;&amp;lt;&quot; - &quot;&amp;lt;&amp;lt;number2&amp;lt;&amp;lt;&quot; = &quot;&amp;lt;&amp;lt;number1-number2&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case 3:{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;number1&amp;lt;&amp;lt;&quot; x &quot;&amp;lt;&amp;lt;number2&amp;lt;&amp;lt;&quot; = &quot;&amp;lt;&amp;lt;number1*number2&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; case 4:{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;number1&amp;lt;&amp;lt;&quot; : &quot;&amp;lt;&amp;lt;number2&amp;lt;&amp;lt;&quot; = &quot;&amp;lt;&amp;lt;number1/number2&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;br /&gt;
}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; system(&quot;PAUSE&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return EXIT_SUCCESS;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLEd4zNyiSytx5eDgKTOEJ-rgyfRf7994-Ym82A4Iqb7RFW0hZdcq-nS2wgAWPDmFyN33EOJtcqKT8bCQhxv2QaiG-XmKM2MhWIJ5vAERxqZVY1mElVsuYW2YQt9tZDaF8iKkQzkiYAiCd/s1600/9.c+++1.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLEd4zNyiSytx5eDgKTOEJ-rgyfRf7994-Ym82A4Iqb7RFW0hZdcq-nS2wgAWPDmFyN33EOJtcqKT8bCQhxv2QaiG-XmKM2MhWIJ5vAERxqZVY1mElVsuYW2YQt9tZDaF8iKkQzkiYAiCd/s400/9.c+++1.bmp&quot; width=&quot;295&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
code&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdp-dvJOrtXHoH1jpTC6uajhuZ3cof7nTA9VOw90xz70WDq4GxYuXGtqDjfQjFpzvx7rBTlsZt-DGdQlVH1ACXUqnl2eHD7YIPJdI7ZmCl-0Hoffllmj3kKWNwN-JXa-BjJEwESQCDpzn4/s1600/9.c+++2.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdp-dvJOrtXHoH1jpTC6uajhuZ3cof7nTA9VOw90xz70WDq4GxYuXGtqDjfQjFpzvx7rBTlsZt-DGdQlVH1ACXUqnl2eHD7YIPJdI7ZmCl-0Hoffllmj3kKWNwN-JXa-BjJEwESQCDpzn4/s400/9.c+++2.bmp&quot; width=&quot;308&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
after we run and use program&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ssendyprograms-c.blogspot.com/feeds/5944849355419676935/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/9-simple-c-program.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/5944849355419676935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/5944849355419676935'/><link rel='alternate' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/9-simple-c-program.html' title='9. Simple C++ Program - Tutorial'/><author><name>ssendy</name><uri>http://www.blogger.com/profile/08971482775142198986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLEd4zNyiSytx5eDgKTOEJ-rgyfRf7994-Ym82A4Iqb7RFW0hZdcq-nS2wgAWPDmFyN33EOJtcqKT8bCQhxv2QaiG-XmKM2MhWIJ5vAERxqZVY1mElVsuYW2YQt9tZDaF8iKkQzkiYAiCd/s72-c/9.c+++1.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-356339656451607802.post-6329079433699410057</id><published>2012-04-13T08:44:00.001-07:00</published><updated>2012-04-14T04:16:04.961-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><category scheme="http://www.blogger.com/atom/ns#" term="code"/><category scheme="http://www.blogger.com/atom/ns#" term="int"/><category scheme="http://www.blogger.com/atom/ns#" term="main"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="program c++"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programers"/><category scheme="http://www.blogger.com/atom/ns#" term="programm"/><category scheme="http://www.blogger.com/atom/ns#" term="programmers"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="programming c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programms"/><category scheme="http://www.blogger.com/atom/ns#" term="programs"/><category scheme="http://www.blogger.com/atom/ns#" term="simple"/><category scheme="http://www.blogger.com/atom/ns#" term="tutor"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>8. Simple C++ Program - Tutorial</title><content type='html'>&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int option=1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; while(option!=0){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int number1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int number2;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Please enter 2 numbers: &quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;number1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;number2;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;All odd numbers between these two numbers are: &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; for(int i=number1+1;i&amp;lt;number2;i++){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(i%2!=0){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;i&amp;lt;&amp;lt;&quot;, &quot;; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;To exit type 0 , if you want to try again type any other number:&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;option;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; system(&quot;PAUSE&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return EXIT_SUCCESS;&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUU3jKjo_C-Re5PMqrfbdK6AlcZiYTkgOiHcOLNsA2jWvNVDrOE516Vxo_Rt5BF1cos9GXOZxp45tPBWniBjYk56JFMseRCv5WbkvJaJwkLqWy5QB1FSl4i0OV9DWjZxV9vDyTi5RqdWIt/s1600/8.c++.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUU3jKjo_C-Re5PMqrfbdK6AlcZiYTkgOiHcOLNsA2jWvNVDrOE516Vxo_Rt5BF1cos9GXOZxp45tPBWniBjYk56JFMseRCv5WbkvJaJwkLqWy5QB1FSl4i0OV9DWjZxV9vDyTi5RqdWIt/s400/8.c++.bmp&quot; width=&quot;348&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ssendyprograms-c.blogspot.com/feeds/6329079433699410057/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/8-simple-c-program.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/6329079433699410057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/6329079433699410057'/><link rel='alternate' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/8-simple-c-program.html' title='8. Simple C++ Program - Tutorial'/><author><name>ssendy</name><uri>http://www.blogger.com/profile/08971482775142198986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUU3jKjo_C-Re5PMqrfbdK6AlcZiYTkgOiHcOLNsA2jWvNVDrOE516Vxo_Rt5BF1cos9GXOZxp45tPBWniBjYk56JFMseRCv5WbkvJaJwkLqWy5QB1FSl4i0OV9DWjZxV9vDyTi5RqdWIt/s72-c/8.c++.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-356339656451607802.post-6579873167391232840</id><published>2012-04-12T05:42:00.002-07:00</published><updated>2012-04-14T04:16:24.728-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><category scheme="http://www.blogger.com/atom/ns#" term="code"/><category scheme="http://www.blogger.com/atom/ns#" term="int"/><category scheme="http://www.blogger.com/atom/ns#" term="main"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="program c++"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programers"/><category scheme="http://www.blogger.com/atom/ns#" term="programm"/><category scheme="http://www.blogger.com/atom/ns#" term="programmers"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="programming c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programms"/><category scheme="http://www.blogger.com/atom/ns#" term="programs"/><category scheme="http://www.blogger.com/atom/ns#" term="simple"/><category scheme="http://www.blogger.com/atom/ns#" term="tutor"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>7. Simple C++ Program - Tutorial</title><content type='html'>&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int option=1; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; while(option!=0){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int number1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int number2;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Please enter 2 numbers: &quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;number1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;number2;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;All even numbers between these two numbers are: &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; for(int i=number1+1;i&amp;lt;number2;i++){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(i%2==0){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;i&amp;lt;&amp;lt;&quot;, &quot;; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;To exit type 0 , if you want to try again type any other number:&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;option;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; system(&quot;PAUSE&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return EXIT_SUCCESS;&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQbDEyNs2al7LUEH66mQxA0f52VrvtI5OXCiqqYFE7oUp538MmT1SB8LH1hDnutNHl98Do0IiKE3JFdfQj512-iI6YMmOmbnG69qZhRsAmc2UjucVmjZpnL61nC2xMK_V44dorMVGdzoB6/s1600/7.c++.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQbDEyNs2al7LUEH66mQxA0f52VrvtI5OXCiqqYFE7oUp538MmT1SB8LH1hDnutNHl98Do0IiKE3JFdfQj512-iI6YMmOmbnG69qZhRsAmc2UjucVmjZpnL61nC2xMK_V44dorMVGdzoB6/s400/7.c++.bmp&quot; width=&quot;375&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ssendyprograms-c.blogspot.com/feeds/6579873167391232840/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/7-simple-c-program.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/6579873167391232840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/6579873167391232840'/><link rel='alternate' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/7-simple-c-program.html' title='7. Simple C++ Program - Tutorial'/><author><name>ssendy</name><uri>http://www.blogger.com/profile/08971482775142198986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQbDEyNs2al7LUEH66mQxA0f52VrvtI5OXCiqqYFE7oUp538MmT1SB8LH1hDnutNHl98Do0IiKE3JFdfQj512-iI6YMmOmbnG69qZhRsAmc2UjucVmjZpnL61nC2xMK_V44dorMVGdzoB6/s72-c/7.c++.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-356339656451607802.post-8687618835144791793</id><published>2012-04-11T10:57:00.003-07:00</published><updated>2012-04-14T04:16:46.037-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><category scheme="http://www.blogger.com/atom/ns#" term="code"/><category scheme="http://www.blogger.com/atom/ns#" term="int"/><category scheme="http://www.blogger.com/atom/ns#" term="main"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="program c++"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programers"/><category scheme="http://www.blogger.com/atom/ns#" term="programm"/><category scheme="http://www.blogger.com/atom/ns#" term="programmers"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="programming c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programms"/><category scheme="http://www.blogger.com/atom/ns#" term="programs"/><category scheme="http://www.blogger.com/atom/ns#" term="simple"/><category scheme="http://www.blogger.com/atom/ns#" term="tutor"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>6. Simple C++ Program - Tutorial</title><content type='html'>&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int option=1;&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; while(option!=0){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int number1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int number2;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Please enter 2 number which you want to add: &quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;number1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;number2;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;When we add these 2 numbers we get: &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;number1+number2&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;To exit type 0 , if you want to try again type any other number:&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;option;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; system(&quot;PAUSE&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return EXIT_SUCCESS;&lt;br /&gt;
}&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYWU1W3iVEAZV-fZhwRSmrSjKNB-5vd3RoHmmVA5KJs2fDl40ImGdi7CFTFZBTd_jxb9qKUxAV4dLJaZlGtnu9T4Sa3xkOUJ85GVpSeOeKZ7f3Ewk1Sewael6xtAAK6D2GBn5Rv1a1bemd/s1600/6.c++.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYWU1W3iVEAZV-fZhwRSmrSjKNB-5vd3RoHmmVA5KJs2fDl40ImGdi7CFTFZBTd_jxb9qKUxAV4dLJaZlGtnu9T4Sa3xkOUJ85GVpSeOeKZ7f3Ewk1Sewael6xtAAK6D2GBn5Rv1a1bemd/s400/6.c++.bmp&quot; width=&quot;361&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ssendyprograms-c.blogspot.com/feeds/8687618835144791793/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/6-simple-c-program.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/8687618835144791793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/8687618835144791793'/><link rel='alternate' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/6-simple-c-program.html' title='6. Simple C++ Program - Tutorial'/><author><name>ssendy</name><uri>http://www.blogger.com/profile/08971482775142198986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYWU1W3iVEAZV-fZhwRSmrSjKNB-5vd3RoHmmVA5KJs2fDl40ImGdi7CFTFZBTd_jxb9qKUxAV4dLJaZlGtnu9T4Sa3xkOUJ85GVpSeOeKZ7f3Ewk1Sewael6xtAAK6D2GBn5Rv1a1bemd/s72-c/6.c++.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-356339656451607802.post-6403314434822254914</id><published>2012-04-10T07:11:00.001-07:00</published><updated>2012-04-14T04:17:49.442-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><category scheme="http://www.blogger.com/atom/ns#" term="code"/><category scheme="http://www.blogger.com/atom/ns#" term="int"/><category scheme="http://www.blogger.com/atom/ns#" term="main"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="program c++"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programers"/><category scheme="http://www.blogger.com/atom/ns#" term="programm"/><category scheme="http://www.blogger.com/atom/ns#" term="programmers"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="programming c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programms"/><category scheme="http://www.blogger.com/atom/ns#" term="programs"/><category scheme="http://www.blogger.com/atom/ns#" term="simple"/><category scheme="http://www.blogger.com/atom/ns#" term="tutor"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>5. Simple C++ Program - Tutorial</title><content type='html'>&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int number;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Please enter number: &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;number;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if(number&amp;gt;10){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;The number that you entered is bigger than 10&quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; else{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;The number that you entered is not bigger than 10&quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; system(&quot;PAUSE&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return EXIT_SUCCESS;&lt;br /&gt;
}&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5MhjN6aO_Ga29trXNLKW2SoQ88xpByQ4BwpuA0sBH416Ck7tNJrigJ1za83Lkue1-uLkwmmb8beC1Wj7xFAEHt3iLN0w0u5GeoJjih0nK03_JHQrn9EEJzoVjF9R8khnu0FuwGO_nOYFm/s1600/5.c++.bmp&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;317&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5MhjN6aO_Ga29trXNLKW2SoQ88xpByQ4BwpuA0sBH416Ck7tNJrigJ1za83Lkue1-uLkwmmb8beC1Wj7xFAEHt3iLN0w0u5GeoJjih0nK03_JHQrn9EEJzoVjF9R8khnu0FuwGO_nOYFm/s400/5.c++.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ssendyprograms-c.blogspot.com/feeds/6403314434822254914/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/5-simple-c-program.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/6403314434822254914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/6403314434822254914'/><link rel='alternate' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/5-simple-c-program.html' title='5. Simple C++ Program - Tutorial'/><author><name>ssendy</name><uri>http://www.blogger.com/profile/08971482775142198986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5MhjN6aO_Ga29trXNLKW2SoQ88xpByQ4BwpuA0sBH416Ck7tNJrigJ1za83Lkue1-uLkwmmb8beC1Wj7xFAEHt3iLN0w0u5GeoJjih0nK03_JHQrn9EEJzoVjF9R8khnu0FuwGO_nOYFm/s72-c/5.c++.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-356339656451607802.post-2780142801655194725</id><published>2012-04-10T06:37:00.001-07:00</published><updated>2012-04-14T04:17:08.709-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><category scheme="http://www.blogger.com/atom/ns#" term="code"/><category scheme="http://www.blogger.com/atom/ns#" term="int"/><category scheme="http://www.blogger.com/atom/ns#" term="main"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="program c++"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programers"/><category scheme="http://www.blogger.com/atom/ns#" term="programm"/><category scheme="http://www.blogger.com/atom/ns#" term="programmers"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="programming c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programms"/><category scheme="http://www.blogger.com/atom/ns#" term="programs"/><category scheme="http://www.blogger.com/atom/ns#" term="simple"/><category scheme="http://www.blogger.com/atom/ns#" term="tutor"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>4. Simple C++ Programs - Tutorial</title><content type='html'>&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int number1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int number2;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Please enter first number: &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;number1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Please enter last number: &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;number2;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Now we will write all numbers between First and the Last number: &quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Number are: &amp;nbsp;&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; for(int i=number1+1;i&amp;lt;number2;i++){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;i&amp;lt;&amp;lt;&quot;, &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; system(&quot;PAUSE&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return EXIT_SUCCESS;&lt;br /&gt;
}&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-OnAmexWjEzQ4OsoihDaMebXhvMrFsUEALFbVpRWJ508WKs4bUCFx2qph2L5NEwsGJQWrrnnfBWSGPHiVHq8CDQgAAfocRNoBCvxw0W1y14t1lnIeZ17-jrlb9rcGLTeo1bIajdhwAY0O/s1600/4.c++.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;315&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-OnAmexWjEzQ4OsoihDaMebXhvMrFsUEALFbVpRWJ508WKs4bUCFx2qph2L5NEwsGJQWrrnnfBWSGPHiVHq8CDQgAAfocRNoBCvxw0W1y14t1lnIeZ17-jrlb9rcGLTeo1bIajdhwAY0O/s400/4.c++.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ssendyprograms-c.blogspot.com/feeds/2780142801655194725/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/4-simple-c-programs.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/2780142801655194725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/2780142801655194725'/><link rel='alternate' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/4-simple-c-programs.html' title='4. Simple C++ Programs - Tutorial'/><author><name>ssendy</name><uri>http://www.blogger.com/profile/08971482775142198986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-OnAmexWjEzQ4OsoihDaMebXhvMrFsUEALFbVpRWJ508WKs4bUCFx2qph2L5NEwsGJQWrrnnfBWSGPHiVHq8CDQgAAfocRNoBCvxw0W1y14t1lnIeZ17-jrlb9rcGLTeo1bIajdhwAY0O/s72-c/4.c++.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-356339656451607802.post-2827510753008563198</id><published>2012-04-10T04:59:00.003-07:00</published><updated>2012-04-14T04:17:28.330-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><category scheme="http://www.blogger.com/atom/ns#" term="code"/><category scheme="http://www.blogger.com/atom/ns#" term="int"/><category scheme="http://www.blogger.com/atom/ns#" term="main"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="program c++"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programers"/><category scheme="http://www.blogger.com/atom/ns#" term="programm"/><category scheme="http://www.blogger.com/atom/ns#" term="programmers"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="programming c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programms"/><category scheme="http://www.blogger.com/atom/ns#" term="programs"/><category scheme="http://www.blogger.com/atom/ns#" term="simple"/><category scheme="http://www.blogger.com/atom/ns#" term="tutor"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>3. Simple C++ Program - Tutorial</title><content type='html'>&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int number;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Please enter your number: &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;number;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Write this on the screen: &amp;nbsp; &quot;&amp;lt;&amp;lt;number&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; system(&quot;PAUSE&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return EXIT_SUCCESS;&lt;br /&gt;
}&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCoLq3kzI_KJg6C9ztp57KqAC-DbNKk23PQ_eBqOBtRSrX_ku-lgAi0memQuOksUH9F11tqXbgELWgvdf4YiLjWjqtTpi_oZYDZ9CtH3I1kftgAVm5cut0lGsiC_X_r4w54iQiTHs2Rokj/s1600/3.c++.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;345&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCoLq3kzI_KJg6C9ztp57KqAC-DbNKk23PQ_eBqOBtRSrX_ku-lgAi0memQuOksUH9F11tqXbgELWgvdf4YiLjWjqtTpi_oZYDZ9CtH3I1kftgAVm5cut0lGsiC_X_r4w54iQiTHs2Rokj/s400/3.c++.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ssendyprograms-c.blogspot.com/feeds/2827510753008563198/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/3-simple-c-program.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/2827510753008563198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/2827510753008563198'/><link rel='alternate' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/3-simple-c-program.html' title='3. Simple C++ Program - Tutorial'/><author><name>ssendy</name><uri>http://www.blogger.com/profile/08971482775142198986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCoLq3kzI_KJg6C9ztp57KqAC-DbNKk23PQ_eBqOBtRSrX_ku-lgAi0memQuOksUH9F11tqXbgELWgvdf4YiLjWjqtTpi_oZYDZ9CtH3I1kftgAVm5cut0lGsiC_X_r4w54iQiTHs2Rokj/s72-c/3.c++.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-356339656451607802.post-6109286339741903617</id><published>2012-04-10T04:54:00.003-07:00</published><updated>2012-04-14T04:18:07.255-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><category scheme="http://www.blogger.com/atom/ns#" term="code"/><category scheme="http://www.blogger.com/atom/ns#" term="int"/><category scheme="http://www.blogger.com/atom/ns#" term="main"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="program c++"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programers"/><category scheme="http://www.blogger.com/atom/ns#" term="programm"/><category scheme="http://www.blogger.com/atom/ns#" term="programmers"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="programming c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programms"/><category scheme="http://www.blogger.com/atom/ns#" term="programs"/><category scheme="http://www.blogger.com/atom/ns#" term="simple"/><category scheme="http://www.blogger.com/atom/ns#" term="tutor"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>2. Simple C++ Program - Tutorial</title><content type='html'>&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int number;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; number=6;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Write this on the screen: &amp;nbsp; &quot;&amp;lt;&amp;lt;number&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; system(&quot;PAUSE&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return EXIT_SUCCESS;&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh240ykSeCqB7gfobmEU65n49S2iOI2DlAccH8viovc37qZY02DxM4ixvADaTjGzyroL7z3Leeg0kL5oYB5hLle-Bs_hKhAKylKfTeSo5ZItMukD5Mu3C8naFGRIyk1QVUQJRAobjSKBd_J/s1600/2.c++.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh240ykSeCqB7gfobmEU65n49S2iOI2DlAccH8viovc37qZY02DxM4ixvADaTjGzyroL7z3Leeg0kL5oYB5hLle-Bs_hKhAKylKfTeSo5ZItMukD5Mu3C8naFGRIyk1QVUQJRAobjSKBd_J/s400/2.c++.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ssendyprograms-c.blogspot.com/feeds/6109286339741903617/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/2-simple-c-program.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/6109286339741903617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/6109286339741903617'/><link rel='alternate' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/2-simple-c-program.html' title='2. Simple C++ Program - Tutorial'/><author><name>ssendy</name><uri>http://www.blogger.com/profile/08971482775142198986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh240ykSeCqB7gfobmEU65n49S2iOI2DlAccH8viovc37qZY02DxM4ixvADaTjGzyroL7z3Leeg0kL5oYB5hLle-Bs_hKhAKylKfTeSo5ZItMukD5Mu3C8naFGRIyk1QVUQJRAobjSKBd_J/s72-c/2.c++.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-356339656451607802.post-1287914423936446546</id><published>2012-04-10T04:36:00.000-07:00</published><updated>2012-04-14T04:18:24.186-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><category scheme="http://www.blogger.com/atom/ns#" term="code"/><category scheme="http://www.blogger.com/atom/ns#" term="int"/><category scheme="http://www.blogger.com/atom/ns#" term="main"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="program c++"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c"/><category scheme="http://www.blogger.com/atom/ns#" term="program in c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programers"/><category scheme="http://www.blogger.com/atom/ns#" term="programm"/><category scheme="http://www.blogger.com/atom/ns#" term="programmers"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="programming c++"/><category scheme="http://www.blogger.com/atom/ns#" term="programms"/><category scheme="http://www.blogger.com/atom/ns#" term="programs"/><category scheme="http://www.blogger.com/atom/ns#" term="simple"/><category scheme="http://www.blogger.com/atom/ns#" term="tutor"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>1. Simple C++ Program - Tutorial</title><content type='html'>&lt;br /&gt;
/* this is first program, and after we run program, on screen will be only &quot;Write this on the screen&quot;,as you can se on the picture....&lt;br /&gt;
*/&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Write this on the screen&quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; system(&quot;PAUSE&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return EXIT_SUCCESS;&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8vYjwX801VuWt0pJnUEXXDq62vGcByhVpbHuDGaqi_kKXLDOsn0DpMjClw6Vl94pDO0XV7dBbY74KVcva-8lVYd9JPfbaI8EcAxOAaEcuMfMi_Ztr-z1xdQLK_HeCeK9QdoL3iQ4KE6rY/s1600/laf+-+kopija.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8vYjwX801VuWt0pJnUEXXDq62vGcByhVpbHuDGaqi_kKXLDOsn0DpMjClw6Vl94pDO0XV7dBbY74KVcva-8lVYd9JPfbaI8EcAxOAaEcuMfMi_Ztr-z1xdQLK_HeCeK9QdoL3iQ4KE6rY/s400/laf+-+kopija.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ssendyprograms-c.blogspot.com/feeds/1287914423936446546/comments/default' title='Objavi komentare'/><link rel='replies' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/1-simple-c-program.html#comment-form' title='0 komentara'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/1287914423936446546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356339656451607802/posts/default/1287914423936446546'/><link rel='alternate' type='text/html' href='http://ssendyprograms-c.blogspot.com/2012/04/1-simple-c-program.html' title='1. Simple C++ Program - Tutorial'/><author><name>ssendy</name><uri>http://www.blogger.com/profile/08971482775142198986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8vYjwX801VuWt0pJnUEXXDq62vGcByhVpbHuDGaqi_kKXLDOsn0DpMjClw6Vl94pDO0XV7dBbY74KVcva-8lVYd9JPfbaI8EcAxOAaEcuMfMi_Ztr-z1xdQLK_HeCeK9QdoL3iQ4KE6rY/s72-c/laf+-+kopija.bmp" height="72" width="72"/><thr:total>0</thr:total></entry></feed>