<?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-7861651381045108284</id><updated>2024-11-06T08:20:09.091+05:30</updated><category term="C Program"/><category term="Condition Statement"/><category term="loop statement"/><category term="if condition"/><category term="for loop"/><category term="do while loop"/><category term="while loop"/><category term="C language Tutorial"/><category term="nested loop"/><category term="patten"/><category term="blog"/><category term="Programming Language"/><category term="switch statement"/><title type='text'>Program Code</title><subtitle type='html'>You can learn basic c programming from here and  also found c language programes you can do c programming projects. After basic c programming we can also learn advance c programming. And find the source code of those all programs. Get information about programming and also learn tricks and tips in programming so here is the platform.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>34</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-1657376314869376288</id><published>2021-02-13T11:35:00.001+05:30</published><updated>2021-02-13T11:35:33.871+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="do while loop"/><category scheme="http://www.blogger.com/atom/ns#" term="for loop"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><category scheme="http://www.blogger.com/atom/ns#" term="nested loop"/><category scheme="http://www.blogger.com/atom/ns#" term="patten"/><category scheme="http://www.blogger.com/atom/ns#" term="while loop"/><title type='text'>Program to  print patten using for loop , while loop and do while loop in C Program  </title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;&amp;nbsp;Write a Program to&amp;nbsp; print patten&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;using for loop , while loop and do while loop in C Program&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #2c3e50; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1.&lt;br /&gt;Write a Program to Print Patten using for loop in c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to&amp;nbsp; print patten&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&amp;nbsp; using for loop&amp;nbsp; */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,j;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=1;i&amp;lt;=5;i++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for(j=1;j&amp;lt;=5;j++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;%d &quot;,j);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;\n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/blockquote&gt;&lt;/span&gt;&amp;nbsp;&lt;/h4&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/AVvXsEjb87sIgKKMdo-wgM0bkctAkTcnlyoL1N3_lJxT4WS8XqOPDOODO5jIXd2I6kJXleXfPQlsDjNHCXhT16LBynuSAiS72_B01nUlDNqHwJQgYH5jCGO1eTO3nK3qZOoh2LIoGfNp0Xr1Wbs/s1080/P23_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using for loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb87sIgKKMdo-wgM0bkctAkTcnlyoL1N3_lJxT4WS8XqOPDOODO5jIXd2I6kJXleXfPQlsDjNHCXhT16LBynuSAiS72_B01nUlDNqHwJQgYH5jCGO1eTO3nK3qZOoh2LIoGfNp0Xr1Wbs/w400-h400/P23_1.png&quot; title=&quot;Program to Print Patten using for loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&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/AVvXsEiDB4KgHT8_6DnOGp_pfN8EV5QpgNyC0OuHVGm3Jtu83d6XaPAAIdTxokaDbHpivCb3C-UVP-Xfrm0ZclFZc-JOXcZleYehnh6Fae2hdlvll0ipGK9YQrFEPkPBDTsFjXNdkG2kSzTic1w/s1080/P22_3_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using for loop in c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDB4KgHT8_6DnOGp_pfN8EV5QpgNyC0OuHVGm3Jtu83d6XaPAAIdTxokaDbHpivCb3C-UVP-Xfrm0ZclFZc-JOXcZleYehnh6Fae2hdlvll0ipGK9YQrFEPkPBDTsFjXNdkG2kSzTic1w/w400-h400/P22_3_1.png&quot; title=&quot;Program to Print Patten using for loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1l9fcESvL4qiH_U-SGvQBxb20bgl5MAJy/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to Print Patten using for loop in c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;h4 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #2c3e50; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2.&lt;br /&gt;Write a Program to Print Patten using while loop in c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to&amp;nbsp; print patten&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5 using while loop&amp;nbsp; */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=1,j;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(i&amp;lt;=5)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;j=1;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while(j&amp;lt;=5)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;%d &quot;,j);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; j++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;\n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp;&lt;/blockquote&gt;&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/h4&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/AVvXsEiwq-TSOKOzuT1dtavssVxutEWaS3FPVPQOr9AXjDpZklfAUxrjhkvH2wFowQwIDJpm1dRptBSmXazRvAOQrA4keixzpXdjDNi1itUWrdqz_SG9P2N1yWVkkzds8N1EI15238JjFllFiIw/s1080/P23_2%25281%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwq-TSOKOzuT1dtavssVxutEWaS3FPVPQOr9AXjDpZklfAUxrjhkvH2wFowQwIDJpm1dRptBSmXazRvAOQrA4keixzpXdjDNi1itUWrdqz_SG9P2N1yWVkkzds8N1EI15238JjFllFiIw/w400-h400/P23_2%25281%2529.png&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiKGqoIilz91kLicX3o_ge9uBQFU5TyaAUysz3O19b8IxKLacAsYGEe7WHE1C9Init5AcI-x3Qrez0KPqTaouoNCZ_HL35-TwU9zaOwhZvY4ntsvYq3Fkzspsm82a7a-BG3KPP6iJOKHpU/s1080/P23_2%25282%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKGqoIilz91kLicX3o_ge9uBQFU5TyaAUysz3O19b8IxKLacAsYGEe7WHE1C9Init5AcI-x3Qrez0KPqTaouoNCZ_HL35-TwU9zaOwhZvY4ntsvYq3Fkzspsm82a7a-BG3KPP6iJOKHpU/w400-h400/P23_2%25282%2529.png&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjlEV_4k0h6eidO6rxxAJA7p2ERDRu7F9tnmSvvKm7MaeMU1bW3p9F8EWCGK5aVfRDlVLxeCYhjamldAVr70G9VE8ND1LBp0qpPSBciQRlYEj_Uhjv70MvEO1WpIHRK2wGCesDaRzJkRbQ/s1080/P23_2_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using while loop in c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlEV_4k0h6eidO6rxxAJA7p2ERDRu7F9tnmSvvKm7MaeMU1bW3p9F8EWCGK5aVfRDlVLxeCYhjamldAVr70G9VE8ND1LBp0qpPSBciQRlYEj_Uhjv70MvEO1WpIHRK2wGCesDaRzJkRbQ/w400-h400/P23_2_1.png&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1hUI8OVukbTZh7XibcXVsyqaygw5dKXqv/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&lt;h4 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 0px; background-repeat: initial; background-size: initial; border: 0px; color: #2c3e50; font-size: 18px; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3.&lt;br /&gt;Write a Program to Print Patten using do while loop in c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;/div&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;&amp;nbsp;/* Write a Program to&amp;nbsp; print patten&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 2 3 4 5&amp;nbsp; using do while loop&amp;nbsp; */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=1,j;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;do&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;j=1;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;do&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;%d &quot;,j);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; j++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}while(j&amp;lt;=5);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;\n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;} while(i&amp;lt;=5);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEhDxcwphPn-UdXCZyug2Wfs93M0tt-mODk1hoTQV_FnI_iT48qmZe6eOJ_1hIs0E4aWepRPFiNLnQAtb2YQTUH34XemPfbLfXQbzQk1HthWM-dKlJa8UQ0c1h5V1VmUsD4NvcMMi1mHVPg/s1080/P23_3%25281%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDxcwphPn-UdXCZyug2Wfs93M0tt-mODk1hoTQV_FnI_iT48qmZe6eOJ_1hIs0E4aWepRPFiNLnQAtb2YQTUH34XemPfbLfXQbzQk1HthWM-dKlJa8UQ0c1h5V1VmUsD4NvcMMi1mHVPg/w400-h400/P23_3%25281%2529.png&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgfCyQm-rcue_bR6MzK9Quz088_-OusnEw1aGOUU2VI6bowq7NX0afg-W7T4SP2TeZnnhjGq8ctxURRpqxav8IWRBjQsiN2hK9kPEFheTC7BevoV3ic9ROdSZ-MJSp9ziIWDrqz6INSAjA/s1080/P23_3%25282%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfCyQm-rcue_bR6MzK9Quz088_-OusnEw1aGOUU2VI6bowq7NX0afg-W7T4SP2TeZnnhjGq8ctxURRpqxav8IWRBjQsiN2hK9kPEFheTC7BevoV3ic9ROdSZ-MJSp9ziIWDrqz6INSAjA/w400-h400/P23_3%25282%2529.png&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEh2UbynuBYplpk7ytgmspE3sLsfq8ne6Sb1V1qFB4SeQQPvdprZfkIyZ3r4tE_Qj9AuYizI69U9e1AcezR10u75-oxmZVpwUbwb_gHII015mlVviGTwJ7RMZKckcXeYWy0apf5UH_1KPXk/s1080/P23_3_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using do while loop in c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2UbynuBYplpk7ytgmspE3sLsfq8ne6Sb1V1qFB4SeQQPvdprZfkIyZ3r4tE_Qj9AuYizI69U9e1AcezR10u75-oxmZVpwUbwb_gHII015mlVviGTwJ7RMZKckcXeYWy0apf5UH_1KPXk/w400-h400/P23_3_1.png&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1EaXhwLrjevgSS9h3hF_h78hOgwxGjXNw/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/1657376314869376288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/02/write-program-to-print-patten-using-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/1657376314869376288'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/1657376314869376288'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/02/write-program-to-print-patten-using-for.html' title='Program to  print patten using for loop , while loop and do while loop in C Program  '/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb87sIgKKMdo-wgM0bkctAkTcnlyoL1N3_lJxT4WS8XqOPDOODO5jIXd2I6kJXleXfPQlsDjNHCXhT16LBynuSAiS72_B01nUlDNqHwJQgYH5jCGO1eTO3nK3qZOoh2LIoGfNp0Xr1Wbs/s72-w400-h400-c/P23_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-8078622687830433430</id><published>2021-02-11T17:22:00.003+05:30</published><updated>2021-02-11T17:22:48.180+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="do while loop"/><category scheme="http://www.blogger.com/atom/ns#" term="for loop"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><category scheme="http://www.blogger.com/atom/ns#" term="nested loop"/><category scheme="http://www.blogger.com/atom/ns#" term="patten"/><category scheme="http://www.blogger.com/atom/ns#" term="while loop"/><title type='text'>Program to  print patten using for loop, while loop and do while loop c program </title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;Write a Program to&amp;nbsp; print patten&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp;1 1 1 1 1&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp;2 2 2 2 2&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp;3 3 3 3 3&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp;4 4 4 4 4&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp;5 5 5 5 5&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;&amp;nbsp; using for loop , While loop and do while loop c program&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #2c3e50; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1.&lt;br /&gt;Write a Program to Print Patten using for loop in c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to&amp;nbsp; print patten&lt;br /&gt;&amp;nbsp; &amp;nbsp;1 1 1 1 1&lt;br /&gt;&amp;nbsp; &amp;nbsp;2 2 2 2 2&lt;br /&gt;&amp;nbsp; &amp;nbsp;3 3 3 3 3&lt;br /&gt;&amp;nbsp; &amp;nbsp;4 4 4 4 4&lt;br /&gt;&amp;nbsp; &amp;nbsp;5 5 5 5 5&amp;nbsp; using for loop&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,j;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=1;i&amp;lt;=5;i++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for(j=1;j&amp;lt;=5;j++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;%d &quot;,i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;\n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &lt;/blockquote&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/h4&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/AVvXsEjDin6f-wwYjOc9kGZGN_gpNCwhPhyphenhyphenRgQO2-yepv2qHjmtqBwcxgBT3l5HjRrcdVXJhQZ-Oo7HbnJfVjAtu3LI3h8H-evY1DC32xbv-aTfVnD8ZNIQI5gW3WKVE8pi1h8Jxo8Wu30PX6X0/s1080/P22_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using for loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDin6f-wwYjOc9kGZGN_gpNCwhPhyphenhyphenRgQO2-yepv2qHjmtqBwcxgBT3l5HjRrcdVXJhQZ-Oo7HbnJfVjAtu3LI3h8H-evY1DC32xbv-aTfVnD8ZNIQI5gW3WKVE8pi1h8Jxo8Wu30PX6X0/w400-h400/P22_1.png&quot; title=&quot;Program to Print Patten using for loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjVaA2NW25-wiiT98IDvvYROmhQmp_V9pzDwhO8FPAypURzh1c9vMNgEufzuHrTc1oiFUtZTL2nL9a09gJf2cRZk7VyJKj0UaQZtma4XYsJJhiyd7LNeEFUbo0-TciqB62-KN59t5COLkY/s1080/P22_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using for loop in c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVaA2NW25-wiiT98IDvvYROmhQmp_V9pzDwhO8FPAypURzh1c9vMNgEufzuHrTc1oiFUtZTL2nL9a09gJf2cRZk7VyJKj0UaQZtma4XYsJJhiyd7LNeEFUbo0-TciqB62-KN59t5COLkY/w400-h400/P22_1_1.png&quot; title=&quot;Program to Print Patten using for loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1khpEK-nPXmuHG5eV6hGdUOj7s-KVKp_M/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to Print Patten using for loop in c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #2c3e50; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2.&lt;br /&gt;Write a Program to Print Patten using while loop in c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program to&amp;nbsp; print patten&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;1 1 1 1 1&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;2 2 2 2 2&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;3 3 3 3 3&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;4 4 4 4 4&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;5 5 5 5 5&amp;nbsp; using while loop&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=1,j;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(i&amp;lt;=5)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;j=1;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while(j&amp;lt;=5)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;%d &quot;,i);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; j++;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;\n&quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/h4&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/AVvXsEgCp1uxFpgHctIgkvNHjKS6hcS6aytTXtb0T_KAGXcQfdyFnRAOY32jGNA826QGLhi1y5AnqHB_i9mR2oyc-Ut_bBaTyvcDzqnMXrwk1_Tfpw6V9TFE8fj1EHCY6vAs_GSHIUZcZRFQKt4/s1080/P22_2%25281%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCp1uxFpgHctIgkvNHjKS6hcS6aytTXtb0T_KAGXcQfdyFnRAOY32jGNA826QGLhi1y5AnqHB_i9mR2oyc-Ut_bBaTyvcDzqnMXrwk1_Tfpw6V9TFE8fj1EHCY6vAs_GSHIUZcZRFQKt4/w400-h400/P22_2%25281%2529.png&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjyiudVrZzI0Uxwt4Ye4WbbvOFeVRug6N1-xQ3OzxeXwkuTPTW7ramkQLWuFYz_a7ZBLROZwk66iv9OYML8D-fXiaK6R5tiIc5yq7wbebSHDu6PQE3tqzCZn0HwQDclh_lA6VPDOCoiCT8/s1080/P22_2%25282%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyiudVrZzI0Uxwt4Ye4WbbvOFeVRug6N1-xQ3OzxeXwkuTPTW7ramkQLWuFYz_a7ZBLROZwk66iv9OYML8D-fXiaK6R5tiIc5yq7wbebSHDu6PQE3tqzCZn0HwQDclh_lA6VPDOCoiCT8/w400-h400/P22_2%25282%2529.png&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEg3W3QVYQN2eZO1eBrVP13us35OazJA4naAtVwrzNe_VA9UNe2tjOKRC1TOtlabjXGdbKeNpH3y_V59x-0q6vj7nrs1UaVsTpNnDDOub-VxoVVIoAxjSjLUrckyp4ZhdJG-_XZtMRJ-AQU/s1080/P22_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using while loop in c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3W3QVYQN2eZO1eBrVP13us35OazJA4naAtVwrzNe_VA9UNe2tjOKRC1TOtlabjXGdbKeNpH3y_V59x-0q6vj7nrs1UaVsTpNnDDOub-VxoVVIoAxjSjLUrckyp4ZhdJG-_XZtMRJ-AQU/w400-h400/P22_2_1.png&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1e5XTsNujNyGRfeqk7CzZX9fNcKbYWCwC/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #2c3e50; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3.&lt;br /&gt;Write a Program to Print Patten using do while loop in c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #2c3e50; margin: 0px 0px 15px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/h4&gt;&lt;blockquote&gt;&lt;h4 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #2c3e50; margin: 0px 0px 15px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program to&amp;nbsp; print patten&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;1 1 1 1 1&lt;br /&gt;&amp;nbsp; &amp;nbsp;2 2 2 2 2&lt;br /&gt;&amp;nbsp; &amp;nbsp;3 3 3 3 3&lt;br /&gt;&amp;nbsp; &amp;nbsp;4 4 4 4 4&lt;br /&gt;&amp;nbsp; &amp;nbsp;5 5 5 5 5&amp;nbsp; &amp;nbsp;using do while loop&amp;nbsp; */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=1,j;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;do&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;j=1;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;do&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;%d &quot;,i);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; j++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}while(j&amp;lt;=5);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;\n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}while(i&amp;lt;=5);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/h4&gt;&lt;/blockquote&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEi3BA7vZtwgppD7HvEcmRF8lp0JMQkI3oEElJ1WFw8OVWU74CnbOwcUdeA7CYbObUN2f4EDLUAO8KejbWcfOvZJmvR4IuzJMK0FE6znmFABdh9pom8H11GYJjj456qRsSuqMOri-2qzjEA/s1080/P22_3%25281%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3BA7vZtwgppD7HvEcmRF8lp0JMQkI3oEElJ1WFw8OVWU74CnbOwcUdeA7CYbObUN2f4EDLUAO8KejbWcfOvZJmvR4IuzJMK0FE6znmFABdh9pom8H11GYJjj456qRsSuqMOri-2qzjEA/w400-h400/P22_3%25281%2529.png&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiLyj-5G5AN3c8eOI3ynVJwr_xkMDq9jSAk4KLCLDsMGZC3bP9sNR-7zI-kru9ZNHmvcts1VvAuQ0QwV88ZGdv7kOOuL6Gm5IebFofrFNEFFSC6zaUGglpFAOtYr6Zj1eutnRxp4lHpoGo/s1080/P22_3%25282%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLyj-5G5AN3c8eOI3ynVJwr_xkMDq9jSAk4KLCLDsMGZC3bP9sNR-7zI-kru9ZNHmvcts1VvAuQ0QwV88ZGdv7kOOuL6Gm5IebFofrFNEFFSC6zaUGglpFAOtYr6Zj1eutnRxp4lHpoGo/w400-h400/P22_3%25282%2529.png&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiVdpXKZEA-6cUAnZRN5q19oxOidXGeLjqifGmonFqwHMJ5j-fCXWRpIxv7eQ6uShOptNU3ZVpRpXj_KVg-r_Jm50lZ9LDBQNP3wLa9t-Mut8EdkKcus__c0kWa9coZR1VRV_HzSTPnkoc/s1080/P22_3_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using do while loop in c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVdpXKZEA-6cUAnZRN5q19oxOidXGeLjqifGmonFqwHMJ5j-fCXWRpIxv7eQ6uShOptNU3ZVpRpXj_KVg-r_Jm50lZ9LDBQNP3wLa9t-Mut8EdkKcus__c0kWa9coZR1VRV_HzSTPnkoc/w400-h400/P22_3_1.png&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1XRExtGr-c-DREIBiqDm70Lkc9T2NNobB/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/8078622687830433430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/02/program-to-print-patten-using-for-loop_58.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/8078622687830433430'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/8078622687830433430'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/02/program-to-print-patten-using-for-loop_58.html' title='Program to  print patten using for loop, while loop and do while loop c program '/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDin6f-wwYjOc9kGZGN_gpNCwhPhyphenhyphenRgQO2-yepv2qHjmtqBwcxgBT3l5HjRrcdVXJhQZ-Oo7HbnJfVjAtu3LI3h8H-evY1DC32xbv-aTfVnD8ZNIQI5gW3WKVE8pi1h8Jxo8Wu30PX6X0/s72-w400-h400-c/P22_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-4062855944353740577</id><published>2021-02-11T16:53:00.001+05:30</published><updated>2021-02-11T16:53:24.307+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="do while loop"/><category scheme="http://www.blogger.com/atom/ns#" term="for loop"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><category scheme="http://www.blogger.com/atom/ns#" term="nested loop"/><category scheme="http://www.blogger.com/atom/ns#" term="patten"/><category scheme="http://www.blogger.com/atom/ns#" term="while loop"/><title type='text'>Program to  print patten using for loop, while loop and do while loop c program </title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;&amp;nbsp;Write a Program to&amp;nbsp; print patten&lt;br /&gt;&amp;nbsp; &amp;nbsp;*&lt;br /&gt;&amp;nbsp; &amp;nbsp;* *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;using for loop , while loop and do while loop in c program&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #2c3e50; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1.&lt;br /&gt;Write a Program to Print Patten using for loop in c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to&amp;nbsp; print patten&lt;br /&gt;&amp;nbsp; &amp;nbsp;*&lt;br /&gt;&amp;nbsp; &amp;nbsp;* *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&amp;nbsp; using for loop&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,j;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=0;i&amp;lt;5;i++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for(j=0;j&amp;lt;=i;j++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;* &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;\n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/blockquote&gt;&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/h4&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/AVvXsEgKC2ZWZSVL-syxcEL4DGGn26AevADLRAV86n2x3n8wV6RzYtFw0zxthrpayq8QBgjebRV8kPBINdTPItVpwjZtwH6szEAPswGg6ww-j8IgTxDG3ba4QXQ5BpGxxzTCwLJD2U5zLvVyhww/s1080/P21_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using for loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKC2ZWZSVL-syxcEL4DGGn26AevADLRAV86n2x3n8wV6RzYtFw0zxthrpayq8QBgjebRV8kPBINdTPItVpwjZtwH6szEAPswGg6ww-j8IgTxDG3ba4QXQ5BpGxxzTCwLJD2U5zLvVyhww/w400-h400/P21_1.png&quot; title=&quot;Program to Print Patten using for loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjrbBqN9_JHLiXbGLvElzTMzAI1eQWkJbjdw6jyngOD6du6iufcTDBKR7LkgOe6_KpCwTDP6IuR7TIPOBu4R-UoewWPj8ZzTHAm1KwchGW9MwjPZ3SJFHMCYonkL9jdT0poiSsSd6QFXr8/s1080/P21_1_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using for loop in c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrbBqN9_JHLiXbGLvElzTMzAI1eQWkJbjdw6jyngOD6du6iufcTDBKR7LkgOe6_KpCwTDP6IuR7TIPOBu4R-UoewWPj8ZzTHAm1KwchGW9MwjPZ3SJFHMCYonkL9jdT0poiSsSd6QFXr8/w400-h400/P21_1_1.png&quot; title=&quot;Program to Print Patten using for loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1R8_AhbJJipfD7-UT1CeWCjkXQ7Dfs3on/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to Print Patten using for loop in c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #2c3e50; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2.&lt;br /&gt;Write a Program to Print Patten using while loop in c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to&amp;nbsp; print patten&lt;br /&gt;&amp;nbsp; &amp;nbsp;*&lt;br /&gt;&amp;nbsp; &amp;nbsp;* *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&amp;nbsp; using while loop&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=0,j;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(i&amp;lt;5)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;j=0;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while(j&amp;lt;=i)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;* &quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; j++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;\n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &lt;/blockquote&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/h4&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/AVvXsEh1Rp9VVwFTsvFjKj-7s5vcsOVnLwU7nwnjeIkTcer1b_mvkqpbxtu1ZU6dihAOvZ18p4ZDWHqsSS-k10uS0lq2ztYo-5VCBquXqDakP0fPAYiwnWTIl1-HgbpiGDCfLijqN9JUCv89pRI/s1080/P21_2%25281%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1Rp9VVwFTsvFjKj-7s5vcsOVnLwU7nwnjeIkTcer1b_mvkqpbxtu1ZU6dihAOvZ18p4ZDWHqsSS-k10uS0lq2ztYo-5VCBquXqDakP0fPAYiwnWTIl1-HgbpiGDCfLijqN9JUCv89pRI/w400-h400/P21_2%25281%2529.png&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjuk160t3uWBcAz2zxMUMEuFNF_TrWIuirZebtpba9GEYy-iwXELAl6YRGRTWoceF2bJYxNtLp3vOxNeAfeaMhyjIM2pTEHvXSthYZmvezuP36j8pvPsknSQAKq3hcLKxUZJM7dkEiAZ3c/s1080/P21_2%25282%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuk160t3uWBcAz2zxMUMEuFNF_TrWIuirZebtpba9GEYy-iwXELAl6YRGRTWoceF2bJYxNtLp3vOxNeAfeaMhyjIM2pTEHvXSthYZmvezuP36j8pvPsknSQAKq3hcLKxUZJM7dkEiAZ3c/w400-h400/P21_2%25282%2529.png&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiiI-DCSC96zduoqaB34tq5mbF2gQKOsoZUjfDbe_nd8HabNfJ3x1_orGWzvJXEzfa1gKHzBZvDS554s6Ndht5x1mZMTDaLCppvTU0BdFMxJesq2sOgiv2o7iOfUk-5oPbSrEEM-VeDrxI/s1080/P21_2_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using while loop in c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiI-DCSC96zduoqaB34tq5mbF2gQKOsoZUjfDbe_nd8HabNfJ3x1_orGWzvJXEzfa1gKHzBZvDS554s6Ndht5x1mZMTDaLCppvTU0BdFMxJesq2sOgiv2o7iOfUk-5oPbSrEEM-VeDrxI/w400-h400/P21_2_1.png&quot; title=&quot;Program to Print Patten using for loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1zyVz8VVY9BQ_sH7u22y31D9LU-VSryj5/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #2c3e50; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3.&lt;br /&gt;Write a Program to Print Patten using do while loop in c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;&amp;nbsp;/* Write a Program to&amp;nbsp; print patten&lt;br /&gt;&amp;nbsp; &amp;nbsp;*&lt;br /&gt;&amp;nbsp; &amp;nbsp;* *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&amp;nbsp; using do while loop&amp;nbsp; &amp;nbsp; */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=0,j;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;do&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;j=0;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;do&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;* &quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; j++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}while(j&amp;lt;=i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;\n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}while(i&amp;lt;5);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEjGBYvsuJlt7a98iNrPAs-mivjXtEzy0tfAlhAyMAFBUWY10I36bYhO7ppEaUrgx1BLGPAbybnNHpvz24vNrM7BJlYT2Mm63KWNp-GsuJmtB25m8K9uBtfVXjqKk0f-6Gu7j67IooQvSM0/s1080/P21_3%25281%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGBYvsuJlt7a98iNrPAs-mivjXtEzy0tfAlhAyMAFBUWY10I36bYhO7ppEaUrgx1BLGPAbybnNHpvz24vNrM7BJlYT2Mm63KWNp-GsuJmtB25m8K9uBtfVXjqKk0f-6Gu7j67IooQvSM0/w400-h400/P21_3%25281%2529.png&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiBFbswyJANTns6nBfWDJWFD0zrZrpRQ1PpPzT8YIW3MBlxR3Ocw0fEzfaFcf12HEG6sXMn2x2qjxvJTv3NEYdUoWqhFizGek7_LypFxo0DOW89wEh8QI6pizQ20_tnzR1RR0Z_ilrzSKM/s1080/P21_3%25282%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBFbswyJANTns6nBfWDJWFD0zrZrpRQ1PpPzT8YIW3MBlxR3Ocw0fEzfaFcf12HEG6sXMn2x2qjxvJTv3NEYdUoWqhFizGek7_LypFxo0DOW89wEh8QI6pizQ20_tnzR1RR0Z_ilrzSKM/w400-h400/P21_3%25282%2529.png&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEi8xra9N15gwhS1JETa982BhggUQYgjlf0h1A-M5SEI-plBxAQqmb012lS6xIsMFvXSok2QuoUUT8n3yR5tFKoHm0lMLgDgleFJkohDbNk204Zp1hP_T539FOhxdc-sCPmaKIz16MLKTmg/s1080/P21_3_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using do while loop in c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8xra9N15gwhS1JETa982BhggUQYgjlf0h1A-M5SEI-plBxAQqmb012lS6xIsMFvXSok2QuoUUT8n3yR5tFKoHm0lMLgDgleFJkohDbNk204Zp1hP_T539FOhxdc-sCPmaKIz16MLKTmg/w400-h400/P21_3_1.png&quot; title=&quot;Program to Print Patten using do while loop in c program output  - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1c5W4BteZok4GabWO8IWFz8jx5eCt8H-Q/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/4062855944353740577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/02/program-to-print-patten-using-for-loop_11.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/4062855944353740577'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/4062855944353740577'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/02/program-to-print-patten-using-for-loop_11.html' title='Program to  print patten using for loop, while loop and do while loop c program '/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKC2ZWZSVL-syxcEL4DGGn26AevADLRAV86n2x3n8wV6RzYtFw0zxthrpayq8QBgjebRV8kPBINdTPItVpwjZtwH6szEAPswGg6ww-j8IgTxDG3ba4QXQ5BpGxxzTCwLJD2U5zLvVyhww/s72-w400-h400-c/P21_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-5557982831684689259</id><published>2021-02-10T11:54:00.004+05:30</published><updated>2021-02-11T16:51:29.786+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="do while loop"/><category scheme="http://www.blogger.com/atom/ns#" term="for loop"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><category scheme="http://www.blogger.com/atom/ns#" term="nested loop"/><category scheme="http://www.blogger.com/atom/ns#" term="patten"/><category scheme="http://www.blogger.com/atom/ns#" term="while loop"/><title type='text'>Program to Print Patten using for loop , while loop and do while loop in c program - Program Code</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;Write a Program to print patten&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;using for loop&amp;nbsp; , while loop and do while loop c program - Program Code&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;1.&lt;br /&gt;Write a Program to Print Patten using for loop in c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: small;&quot;&gt;/* Write a Program to print patten&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp;* * * * *&amp;nbsp; &amp;nbsp;using for loop&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,j;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=0;i&amp;lt;5;i++)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for(j=0;j&amp;lt;5;j++)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;* &quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;\n&quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEh0Gqx31DMAK4SvzIJ0aCyntlsX6X6a8qW6vF4EgxzBvBtpFXcGm2ABxgk2mwqyrV-QI_3RBZYsejV5hzlUuzInT2K4p0xWglgpOVBXma8pQJ923YgeT-6-V2a3AOMfpewjh52a_ZRPl5I/s1080/P20_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using for loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Gqx31DMAK4SvzIJ0aCyntlsX6X6a8qW6vF4EgxzBvBtpFXcGm2ABxgk2mwqyrV-QI_3RBZYsejV5hzlUuzInT2K4p0xWglgpOVBXma8pQJ923YgeT-6-V2a3AOMfpewjh52a_ZRPl5I/w400-h400/P20_1.png&quot; title=&quot;Program to Print Patten using for loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgPUle1hg7OCJTmucv_v0u2Z2xRfFUF6g5DZIjGSkx76TlQmgcVlCvQFSAdnbtlOQNlsXatwQ_RKfKTlaJeng5qd6arphm9lpEkBDpL-vIRX7_ApYG0wsXQwgRUiyPSFXwuu6_9Q2RThEk/s1080/P20_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using for loop in c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPUle1hg7OCJTmucv_v0u2Z2xRfFUF6g5DZIjGSkx76TlQmgcVlCvQFSAdnbtlOQNlsXatwQ_RKfKTlaJeng5qd6arphm9lpEkBDpL-vIRX7_ApYG0wsXQwgRUiyPSFXwuu6_9Q2RThEk/w400-h400/P20_1_1.png&quot; title=&quot;Program to Print Patten using for loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1GczoOZCPK1wnnkGOLBFcz2tTJjnPZVYS/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to Print Patten using for loop in c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab; font-size: small;&quot;&gt;2.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab; font-size: small;&quot;&gt;Write a Program to Print Patten using while loop in c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to print patten&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&amp;nbsp; &amp;nbsp;using while loop&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=0,j;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(i&amp;lt;5)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;j=0;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while(j&amp;lt;5)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;* &quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; j++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;\n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&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/AVvXsEgSqiHzUI3qWZvXyZy_vMV0wTxyYinCZPWMy1h3WIMG2Ko5QE1mZIoT5d4tOq-R0cu1nbYSO0OTdwy1LGbfHux_cJ1VOo1y9uq68MDjRJJg7RFLneRTwO_3A_1FU-Xuzkm1zMiOoJRlfnA/s1080/P20_2%25281%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSqiHzUI3qWZvXyZy_vMV0wTxyYinCZPWMy1h3WIMG2Ko5QE1mZIoT5d4tOq-R0cu1nbYSO0OTdwy1LGbfHux_cJ1VOo1y9uq68MDjRJJg7RFLneRTwO_3A_1FU-Xuzkm1zMiOoJRlfnA/w400-h400/P20_2%25281%2529.png&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&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/AVvXsEhu4dzZq8jNKwsCYi7ViyFYLH_Jn7NpcpIYMxZaADvCjHippLvIJA9Hdwjp4Oxvkty2UQRqoM3oTMoM7qBoMwez9BNriAXg7J6UdobxPX_SZPN4vPiJJmefmA-z6oDN2eFDj8kuCXqgHPY/s1080/P20_2%25282%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu4dzZq8jNKwsCYi7ViyFYLH_Jn7NpcpIYMxZaADvCjHippLvIJA9Hdwjp4Oxvkty2UQRqoM3oTMoM7qBoMwez9BNriAXg7J6UdobxPX_SZPN4vPiJJmefmA-z6oDN2eFDj8kuCXqgHPY/w400-h400/P20_2%25282%2529.png&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiwKyDVmUDnJgfzkjyaQGILJZdrTCwzOcqs-31bjLy59hAHT8bAD0B23v5Gx5js4uHWBoh_Z6VsMMuMrNxY5X4_mJk146h6IOX4bVi9WQsBgkxyhpIxDBmdAsC5kxJbL0WcKyPPDrQrP7Q/s1080/P20_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using while loop in c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwKyDVmUDnJgfzkjyaQGILJZdrTCwzOcqs-31bjLy59hAHT8bAD0B23v5Gx5js4uHWBoh_Z6VsMMuMrNxY5X4_mJk146h6IOX4bVi9WQsBgkxyhpIxDBmdAsC5kxJbL0WcKyPPDrQrP7Q/w400-h400/P20_2_1.png&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1Z8t_bYOlYeZ9QNf2qww6E5jevfnsRnyu/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to Print Patten using while loop in c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;3.&lt;br /&gt;Write a Program to Print Patten using do while loop in c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to print patten&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&lt;br /&gt;&amp;nbsp; &amp;nbsp;* * * * *&amp;nbsp; &amp;nbsp;using do while loop */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=0,j;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(i&amp;lt;5)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;j=0;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;do&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;* &quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; j++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}while(j&amp;lt;5);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;\n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}while(i&amp;lt;5);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEiet8JZ00IzxajQCHBXhapM6G9JDKtSoyPZA3QAxgT8Eg4graUhJJfA86byapnDE75RnhK1R_egOLqnAvuvPKbmxey8c3_ERO3-rh5gBa7OlPpXmsZzGoCrbLh06lcbKC1MPq6vTTtopE8/s1080/P20_3%25281%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiet8JZ00IzxajQCHBXhapM6G9JDKtSoyPZA3QAxgT8Eg4graUhJJfA86byapnDE75RnhK1R_egOLqnAvuvPKbmxey8c3_ERO3-rh5gBa7OlPpXmsZzGoCrbLh06lcbKC1MPq6vTTtopE8/w400-h400/P20_3%25281%2529.png&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgsi0PUu32yoGZFU61DvWaRCxuV9XaEWbSWpRAu7jW-6JCoQRsvYx_Fx7UFwqveVj3_3BiO9ui4jWu157ESbvqZ_R8AzYZt9mFeWISwqsNRzMfaVUKrHW3DV-9wQZiAVNJKFetuizLxp8g/s1080/P20_3%25282%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsi0PUu32yoGZFU61DvWaRCxuV9XaEWbSWpRAu7jW-6JCoQRsvYx_Fx7UFwqveVj3_3BiO9ui4jWu157ESbvqZ_R8AzYZt9mFeWISwqsNRzMfaVUKrHW3DV-9wQZiAVNJKFetuizLxp8g/w400-h400/P20_3%25282%2529.png&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhq73gTMYoGdIkBMBjdAzxFXmooq-swNy8pxUtK_A6Hwu8k1IyAZpTTabL62eLpaHdlwIVzZLys6nUT8fQrRhVi43qYQP8g94BeEYk6GT-vdbd1vlKmHFrHFHr8FIJyb94_fzG0_Oh7EwA/s1080/P20_3_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to Print Patten using do while loop in c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq73gTMYoGdIkBMBjdAzxFXmooq-swNy8pxUtK_A6Hwu8k1IyAZpTTabL62eLpaHdlwIVzZLys6nUT8fQrRhVi43qYQP8g94BeEYk6GT-vdbd1vlKmHFrHFHr8FIJyb94_fzG0_Oh7EwA/w400-h400/P20_3_1.png&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1n--EzhFM9pdMIPL_f208yl8cbwt7eBVD/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to Print Patten using do while loop in c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/5557982831684689259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/02/program-to-print-patten-using-for-loop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/5557982831684689259'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/5557982831684689259'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/02/program-to-print-patten-using-for-loop.html' title='Program to Print Patten using for loop , while loop and do while loop in c program - Program Code'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Gqx31DMAK4SvzIJ0aCyntlsX6X6a8qW6vF4EgxzBvBtpFXcGm2ABxgk2mwqyrV-QI_3RBZYsejV5hzlUuzInT2K4p0xWglgpOVBXma8pQJ923YgeT-6-V2a3AOMfpewjh52a_ZRPl5I/s72-w400-h400-c/P20_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-5979083268493090774</id><published>2021-02-07T14:06:00.004+05:30</published><updated>2021-02-07T14:06:48.030+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="do while loop"/><category scheme="http://www.blogger.com/atom/ns#" term="for loop"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><category scheme="http://www.blogger.com/atom/ns#" term="nested loop"/><category scheme="http://www.blogger.com/atom/ns#" term="while loop"/><title type='text'>NESTING OF LOOPS in C language</title><content type='html'>&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 24pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;NESTING OF LOOPS&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 24pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 24pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;When a loop inside another loop is used, it is called
nesting of loops. The nesting can be for any number of levels. For certain
problems, nesting of loops are needed. When nesting is done, some care is
required. The outer loop should not end between the starting of inner loop and
ending of inner loop.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgTL3hqsZKi9bCJbKi6yrBagkSQCYWF4DXQT4XqWh2a_FImo1V6lJfKLh6ZiO4_yQw0gwIN2VtjFViAvvGucwLFx5e7wZ-4QpJgm5LwebHbqnnTWixr6q2gMX1RNMYLJsKVdf4gvPgXoI/s1268/nested+loop.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Nested loop in c language&quot; border=&quot;0&quot; data-original-height=&quot;1268&quot; data-original-width=&quot;1220&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgTL3hqsZKi9bCJbKi6yrBagkSQCYWF4DXQT4XqWh2a_FImo1V6lJfKLh6ZiO4_yQw0gwIN2VtjFViAvvGucwLFx5e7wZ-4QpJgm5LwebHbqnnTWixr6q2gMX1RNMYLJsKVdf4gvPgXoI/w385-h400/nested+loop.jpg&quot; title=&quot;Nested loop in c language&quot; width=&quot;385&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-align: justify; text-indent: -18pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;Nesting
For Loop&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;For ( initialization-1; condition-1;
increment/decrement )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;For( initialization-2;
condition-2; increment/decrement )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Statement(s);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: verdana;&quot;&gt;Example :-&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;for(i=0;i&amp;lt;=4;i++)&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; for(j=0;j&amp;lt;=4:j++);&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;*&amp;nbsp; &quot;);&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;\n);&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;}&lt;/span&gt;&lt;/blockquote&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;In above example, First for loop is called as outer
for loop, we set the control statement as ‘I’. and second for loop is called as
inner for loop. And we set control statement for inner loop is ‘j’. nested loop
is used in patterns that are shown in examples.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-align: justify; text-indent: -18pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;Nesting
while loop&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;Nested while loop is proceed as for loop.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;While ( condition-1 )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;{&lt;br /&gt;
&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;While (
condition-2 )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Statement
(s);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #990000; font-family: verdana; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;Example :-&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;font-size: 16pt;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 16pt;&quot;&gt;while&lt;/span&gt;&lt;span style=&quot;font-size: 16pt;&quot;&gt;(i&amp;lt;=4)&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; while(j&amp;lt;=4)&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;*&amp;nbsp; &quot;);&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;j++;&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;\n);&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; i++;&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;}&lt;/span&gt;&lt;/blockquote&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfCmk67qgg5S5RPhrlpPoP-jXD2DuOhyphenhyphen-qS-OZFaaDDhRRNqTnicfAUuwq1KvXwdZuxVcmgY-0s0r9_juRe6DgqSbww9eqywIioA3LspZTo9ePuF8mNLVpc5ownIo41JrNlJe7TPwKTKw/s563/nested+loop1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Nested loop in c language - program Code&quot; border=&quot;0&quot; data-original-height=&quot;265&quot; data-original-width=&quot;563&quot; height=&quot;189&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfCmk67qgg5S5RPhrlpPoP-jXD2DuOhyphenhyphen-qS-OZFaaDDhRRNqTnicfAUuwq1KvXwdZuxVcmgY-0s0r9_juRe6DgqSbww9eqywIioA3LspZTo9ePuF8mNLVpc5ownIo41JrNlJe7TPwKTKw/w400-h189/nested+loop1.jpg&quot; title=&quot;Nested loop in c language - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-align: justify; text-indent: -18pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;Nested
do…while Loop&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;/span&gt;Statement(s);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;} while( condition );&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}
(condition );&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: verdana; font-size: large;&quot;&gt;Example :-&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Ubuntu; font-size: large;&quot;&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;do&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;{&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; do&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;*&amp;nbsp; &quot;);&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;j++;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;while(j&amp;lt;=4);&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;\n);&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; i++;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;}while(i&amp;lt;=4);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/5979083268493090774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/02/nesting-of-loops-in-c-language.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/5979083268493090774'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/5979083268493090774'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/02/nesting-of-loops-in-c-language.html' title='NESTING OF LOOPS in C language'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgTL3hqsZKi9bCJbKi6yrBagkSQCYWF4DXQT4XqWh2a_FImo1V6lJfKLh6ZiO4_yQw0gwIN2VtjFViAvvGucwLFx5e7wZ-4QpJgm5LwebHbqnnTWixr6q2gMX1RNMYLJsKVdf4gvPgXoI/s72-w385-h400-c/nested+loop.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-686786495604929696</id><published>2021-02-05T11:17:00.003+05:30</published><updated>2021-02-05T11:17:54.355+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="do while loop"/><category scheme="http://www.blogger.com/atom/ns#" term="for loop"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><category scheme="http://www.blogger.com/atom/ns#" term="while loop"/><title type='text'>Program to take number from user and print summation of first and last Digit AND find fibonacci series up to n numberm AND check it&#39;s number is prime or not prime c program </title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;1. Write a Program to take number from user and print summation of first and last Digit c program&amp;nbsp;&lt;br /&gt;2. Write a Program to find fibonacci series up to n number using for loop c program&amp;nbsp;&lt;br /&gt;3. Write a program to take number from user check it&#39;s number is prime or not prime c program&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;1.&lt;br /&gt;Write a Program to take number from user and print summation of first and last Digit c program&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to take number from user and print summation of first and last Digit&amp;nbsp; */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,num,p,t,sum=0;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter number : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;num);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;p = num%10;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(num&amp;gt;0)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;t = num%10;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;num = num/10;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;sum = p +t;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Sum of first and last digit = %d&quot;,sum);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp;&lt;/blockquote&gt;&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/h4&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/AVvXsEirO3YLUy1uKGfxZnJ9S4P1OELS61NkH4uP84bxIhbIN4rCdowHrRfZmMUUaoJSMfPrdsORHe9iHkDtAI5sIYe-e4O-Ypg4sT3UcX3vjDBZFN2wfZDld4b7aVmq7VmVjGuIwiUvOM9Ik9k/s1080/P19_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;WProgram to take number from user and print summation of first and last Digit c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirO3YLUy1uKGfxZnJ9S4P1OELS61NkH4uP84bxIhbIN4rCdowHrRfZmMUUaoJSMfPrdsORHe9iHkDtAI5sIYe-e4O-Ypg4sT3UcX3vjDBZFN2wfZDld4b7aVmq7VmVjGuIwiUvOM9Ik9k/w400-h400/P19_1.png&quot; title=&quot;WProgram to take number from user and print summation of first and last Digit c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjRq7_qt9cAt1hIMStSDKxWnNhyphenhyphen6jTCd5c9cnqp_C8DOyUJrThj-CouBGYGGNQDDmnbHRFqx8lPxsCglxEr7iwSIv2i70b0G_MOcOmLSF_1zVVwmPuK0WYmTIiAClpM5DnS8jc0XcJUnqk/s1080/P19_1_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;WProgram to take number from user and print summation of first and last Digit c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRq7_qt9cAt1hIMStSDKxWnNhyphenhyphen6jTCd5c9cnqp_C8DOyUJrThj-CouBGYGGNQDDmnbHRFqx8lPxsCglxEr7iwSIv2i70b0G_MOcOmLSF_1zVVwmPuK0WYmTIiAClpM5DnS8jc0XcJUnqk/w400-h400/P19_1_1.png&quot; title=&quot;WProgram to take number from user and print summation of first and last Digit c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjiVEEMFcZQ5bjVm2oHHmmlJQzyK5CcnLklUccCwv-pNYSM96av3ZcMf67IbSxeH8sjlrdoC4BgbY1w39eIYtDmqRMDsgCXRfCvvVUiOdmRsu9XvsuiMkhHRofPZ1qnIvSKkeAVBffPmW4/s1080/P19_1_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;WProgram to take number from user and print summation of first and last Digit c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiVEEMFcZQ5bjVm2oHHmmlJQzyK5CcnLklUccCwv-pNYSM96av3ZcMf67IbSxeH8sjlrdoC4BgbY1w39eIYtDmqRMDsgCXRfCvvVUiOdmRsu9XvsuiMkhHRofPZ1qnIvSKkeAVBffPmW4/w400-h400/P19_1_2.png&quot; title=&quot;WProgram to take number from user and print summation of first and last Digit c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1YZIX5L_YG617xuYv7LvFc8gTRDvS_GTf/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;program to find factorial of given number using for loop c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;2.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;Write a Program to find fibonacci series up to n number using for loop c program - Program Code&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to find fibonacci series up to n number using for loop&amp;nbsp; */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,n,t1=0,t2=1,fibo;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter the number of terms : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Fibonacci series : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=0;i&amp;lt;=n;i++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d,&quot;,t1);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fibo = t1 + t2;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;t1 = t2;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;t2 = fibo;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEjdeZ8Xi34ekIfXzYjwEtGx2ST2yTbYW4lymazG3GeuJbH-nUnxYQM5-pu0UokVt8N6YZxWwFJE24EERAZq1EzvhZL4FS1iHAJH0KI4AycTmDp8TRAzZgxR-Y2dq9JXFkgBNgydUXKbM-I/s1080/P19_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to find fibonacci series up to n number using for loop c program - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdeZ8Xi34ekIfXzYjwEtGx2ST2yTbYW4lymazG3GeuJbH-nUnxYQM5-pu0UokVt8N6YZxWwFJE24EERAZq1EzvhZL4FS1iHAJH0KI4AycTmDp8TRAzZgxR-Y2dq9JXFkgBNgydUXKbM-I/w400-h400/P19_2.png&quot; title=&quot;Program to find fibonacci series up to n number using for loop c program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgcQ_uTnzvgPe2k3x6b_g7cknPd-GXTjmhaqp2IvHcCl8wUaJgCyZV0U4eP5oIu2tObkozZRki5JwBeIcTUYIghnOoa83qp5eZlCkys96BWW50icLQz5BLZ6zR8sz_CrroaEQI-W9p-BGU/s1080/P19_2_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to find fibonacci series up to n number using for loop c program output - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcQ_uTnzvgPe2k3x6b_g7cknPd-GXTjmhaqp2IvHcCl8wUaJgCyZV0U4eP5oIu2tObkozZRki5JwBeIcTUYIghnOoa83qp5eZlCkys96BWW50icLQz5BLZ6zR8sz_CrroaEQI-W9p-BGU/w400-h400/P19_2_1.png&quot; title=&quot;Program to find fibonacci series up to n number using for loop c program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEg3Y3Cn5CNazun13OZOG75X8yVh0jQuwIlgJghJUbSShQPpfxDgOQhNgY2uq52z216yKt4I-K2_IUEQd6_QhXdCijILXnmi9Wtd8feIn8jhZQ-5bJzr6PYLA0UGZksfWwt7y-oGhFkHaIw/s1080/P19_2_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to find fibonacci series up to n number using for loop c program output - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3Y3Cn5CNazun13OZOG75X8yVh0jQuwIlgJghJUbSShQPpfxDgOQhNgY2uq52z216yKt4I-K2_IUEQd6_QhXdCijILXnmi9Wtd8feIn8jhZQ-5bJzr6PYLA0UGZksfWwt7y-oGhFkHaIw/w400-h400/P19_2_2.png&quot; title=&quot;Program to find fibonacci series up to n number using for loop c program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1CRaYdlXpEQ8edpAZv4oE_c80yr1Z358V/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to find fibonacci series up to n number using for loop c program - Program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;3.&lt;br /&gt;Write a program to take number from user check it&#39;s number is prime or not prime&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a program to take number from user check it&#39;s number is prime or not prime */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,n,f=0;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter Number : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=2;i&amp;lt;n;i++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(n%i==0)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; f=1;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; break;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(f==0)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d is prime&quot;,n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d is not prime&quot;,n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEjD9uNvyqJUBlYI0h6BIU5C6gNP24ZxwH5kXwVx2e2QY2pYeYjRnIDiRt_OV7MHMlDiBnMaRifZqbQD-vgDEinHfvhx2UAQnaqf7DuEV2JBcOQH7NT5TEJpgB4py5J1tq01T6h7sburUso/s1080/P19_3%25281%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;program to take number from user check it&#39;s number is prime or not prime c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD9uNvyqJUBlYI0h6BIU5C6gNP24ZxwH5kXwVx2e2QY2pYeYjRnIDiRt_OV7MHMlDiBnMaRifZqbQD-vgDEinHfvhx2UAQnaqf7DuEV2JBcOQH7NT5TEJpgB4py5J1tq01T6h7sburUso/w400-h400/P19_3%25281%2529.png&quot; title=&quot;program to take number from user check it&#39;s number is prime or not prime c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEj1gRYggcSlKRAhgAJMvTI4GWW1KVBQbKLiMrDbu2cRBjF9GANKSsAQ1k8Gu_cymxZE5o5YPIkS71ZDuXb-xx3iboR3SE12BMRA3A8dFkRcWGxd_KMKsGyW3cNJ70KGRjuIz3-DeY_GnxY/s1080/P19_3%25282%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;program to take number from user check it&#39;s number is prime or not prime c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1gRYggcSlKRAhgAJMvTI4GWW1KVBQbKLiMrDbu2cRBjF9GANKSsAQ1k8Gu_cymxZE5o5YPIkS71ZDuXb-xx3iboR3SE12BMRA3A8dFkRcWGxd_KMKsGyW3cNJ70KGRjuIz3-DeY_GnxY/w400-h400/P19_3%25282%2529.png&quot; title=&quot;program to take number from user check it&#39;s number is prime or not prime c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgM8sX6bybNbloBW6OLNhEZFraZtkm42N13V7gUJhwYqndGlc9TWn1ZC4E8iRcJDOZgHNSSHivt0PnFoB6Jz8tjBS2cHAK1PcorD6Jg8um6DhddVr57VzTSDve4hIG2AFKPDk5MmGuFTNg/s1080/P19_3_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;program to take number from user check it&#39;s number is prime or not prime c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM8sX6bybNbloBW6OLNhEZFraZtkm42N13V7gUJhwYqndGlc9TWn1ZC4E8iRcJDOZgHNSSHivt0PnFoB6Jz8tjBS2cHAK1PcorD6Jg8um6DhddVr57VzTSDve4hIG2AFKPDk5MmGuFTNg/w400-h400/P19_3_1.png&quot; title=&quot;program to take number from user check it&#39;s number is prime or not prime c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhjmDeQw7Q3MG9yvoBXOLzG1lMBrKmESz3jhdsJj12K5-e9-y-4HrCG9IjCihIUcqKqDMWJDT5VfPSROGVSXEVHsm_c5I4DNPr_k2hPQy2vCSp9smRc2V9Dy933zL6GfoGiZQbELAo8s1Q/s1080/P19_3_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;program to take number from user check it&#39;s number is prime or not prime c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjmDeQw7Q3MG9yvoBXOLzG1lMBrKmESz3jhdsJj12K5-e9-y-4HrCG9IjCihIUcqKqDMWJDT5VfPSROGVSXEVHsm_c5I4DNPr_k2hPQy2vCSp9smRc2V9Dy933zL6GfoGiZQbELAo8s1Q/w400-h400/P19_3_2.png&quot; title=&quot;program to take number from user check it&#39;s number is prime or not prime c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1DrIsAqUjii9iql2g2G-1DNZSYq15qXoo/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;program to take number from user check it&#39;s number is prime or not prime c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/686786495604929696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/02/program-to-take-number-from-user-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/686786495604929696'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/686786495604929696'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/02/program-to-take-number-from-user-and.html' title='Program to take number from user and print summation of first and last Digit AND find fibonacci series up to n numberm AND check it&#39;s number is prime or not prime c program '/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirO3YLUy1uKGfxZnJ9S4P1OELS61NkH4uP84bxIhbIN4rCdowHrRfZmMUUaoJSMfPrdsORHe9iHkDtAI5sIYe-e4O-Ypg4sT3UcX3vjDBZFN2wfZDld4b7aVmq7VmVjGuIwiUvOM9Ik9k/s72-w400-h400-c/P19_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-2296894898818907473</id><published>2021-02-04T11:54:00.002+05:30</published><updated>2021-02-04T11:54:23.546+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="do while loop"/><category scheme="http://www.blogger.com/atom/ns#" term="for loop"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><category scheme="http://www.blogger.com/atom/ns#" term="while loop"/><title type='text'>program to find factorial of given number AND number is armstrong or not armstrong AND numberis palindron or not Palindron </title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;1. Write a program to find factorial of given number using for loop c program&lt;br /&gt;2. Write a Program to check wether number is armstrong or not armstrong c program&amp;nbsp;&lt;br /&gt;3. Write a Program to check wether numberis palindron or not Palindron c program&lt;/span&gt;&amp;nbsp;&lt;/h3&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;1.&lt;br /&gt;Write a program to find factorial of given number using for loop c program&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a program to find factorial of given number using for loop&amp;nbsp; */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int num,i,fact=1;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter Number : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;num);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=1;i&amp;lt;=num;i++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fact = fact*i;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Factorial = %d&quot;,fact);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&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;/blockquote&gt;&lt;/span&gt;&lt;/h3&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/AVvXsEiC57FZgNP5bDz9rRGytr3ly3iy4qW-hsjfacXbla_H3SLFBdEJS7lrZv5Z-8pVB1-CTrCLagPlTAh37wQwzlWAOIDbB-KLVNBDD5X7h4v7CxK7e23m9VmfVQxIC48nMx84dlyGZ6nWvro/s1080/P18_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;program to find factorial of given number using for loop c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC57FZgNP5bDz9rRGytr3ly3iy4qW-hsjfacXbla_H3SLFBdEJS7lrZv5Z-8pVB1-CTrCLagPlTAh37wQwzlWAOIDbB-KLVNBDD5X7h4v7CxK7e23m9VmfVQxIC48nMx84dlyGZ6nWvro/w400-h400/P18_1.png&quot; title=&quot;program to find factorial of given number using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiEjJbyh5oFoK3HaVlmIFeYxi4oxo2KMxNZexqeu4if-FzoubYIdjJcJm3KR7rBCIbMpmPBSPtuhF0Vv54Uz_dXDSEHUBy06tgSd384h6IyEv2ZjsJ1icecw9ivAFx1WNuWhl11ttv4x04/s1080/P18_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;program to find factorial of given number using for loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEjJbyh5oFoK3HaVlmIFeYxi4oxo2KMxNZexqeu4if-FzoubYIdjJcJm3KR7rBCIbMpmPBSPtuhF0Vv54Uz_dXDSEHUBy06tgSd384h6IyEv2ZjsJ1icecw9ivAFx1WNuWhl11ttv4x04/w400-h400/P18_1_1.png&quot; title=&quot;program to find factorial of given number using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjzrwFobV6z_wLG0mmfAvP5FkJ1lJGhIWmtC6XFjJ34YjXbPglv3IpGy7vl3UY0-3WZwmHEXlZSeVzxebK-iARj81L0JaSK7_3-GrYCWJ9NCeEAdLndJ9WhyphenhyphenHyAApISsvw2gNXCyIlKz_k/s1080/P18_1_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;program to find factorial of given number using for loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzrwFobV6z_wLG0mmfAvP5FkJ1lJGhIWmtC6XFjJ34YjXbPglv3IpGy7vl3UY0-3WZwmHEXlZSeVzxebK-iARj81L0JaSK7_3-GrYCWJ9NCeEAdLndJ9WhyphenhyphenHyAApISsvw2gNXCyIlKz_k/w400-h400/P18_1_2.png&quot; title=&quot;program to find factorial of given number using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1poGMT_9TEacRGCYgy-8gtZEYl_oiAZbg/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;program to find factorial of given number using for loop c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;2.&lt;br /&gt;Write a Program to check wether number is armstrong or not armstrong c Program&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;blockquote&gt;/* Write a Program to check wether number is armstrong or not armstrong&lt;br /&gt;&amp;nbsp; &amp;nbsp;Ex :- 153 = 1^3+5^3+3^3 = 153&amp;nbsp; */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,num,temp,t,sum=0;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter number : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;num);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;temp = num;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(num&amp;gt;0)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;t=num%10;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;num = num/10;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum = sum + t*t*t;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(temp == sum)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Number is Armstrong&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Number is Not Armstrong&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&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; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;/h4&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEhs4kdEz1-Ta7ec0sFqGolLXf8wAZuIiuBlw1p-sTmrzdNgiSjBc5lK03sQt-RNr_srvqqHMV9ItqrFqk4nMTMVcJt-8kQxp24E5VDTuBQjX6Rj6LB1UPKuPmh-DaqTR0In5P6EA9_Uxsk/s1080/P18_2%25281%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Write a Program to check wether number is armstrong or not armstrong c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs4kdEz1-Ta7ec0sFqGolLXf8wAZuIiuBlw1p-sTmrzdNgiSjBc5lK03sQt-RNr_srvqqHMV9ItqrFqk4nMTMVcJt-8kQxp24E5VDTuBQjX6Rj6LB1UPKuPmh-DaqTR0In5P6EA9_Uxsk/w400-h400/P18_2%25281%2529.png&quot; title=&quot;Write a Program to check wether number is armstrong or not armstrong c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjWJKe43UdjMYaTlIGnigvWCyuTuaDyo_tFGYZ5D95-wBYnGqypj_Lyq5-bnnYFeCiszN6aJCW4WbV31p1ZLrXEsFqCJ_JyO9X_B0lR2t-0o8CGmL9-vSPUy2ErMG3iMHp_3Vr-cM6qw_M/s1080/P18_2%25282%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Write a Program to check wether number is armstrong or not armstrong c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWJKe43UdjMYaTlIGnigvWCyuTuaDyo_tFGYZ5D95-wBYnGqypj_Lyq5-bnnYFeCiszN6aJCW4WbV31p1ZLrXEsFqCJ_JyO9X_B0lR2t-0o8CGmL9-vSPUy2ErMG3iMHp_3Vr-cM6qw_M/w400-h400/P18_2%25282%2529.png&quot; title=&quot;Write a Program to check wether number is armstrong or not armstrong c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEipqGuLLYYHSvxsQKf2doKH7FZIZVMelJ6igx1Tv6e7G-kaD3aVusxp_BtlYA_POZ6ntHrACON6Me2GSRKzZPnrEIy8wE6mQrEVYX3ESRvAo7HkG0F75BXvVmn49xW1cvEHF5yj-Pbv_Sk/s1080/P18_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Write a Program to check wether number is armstrong or not armstrong c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipqGuLLYYHSvxsQKf2doKH7FZIZVMelJ6igx1Tv6e7G-kaD3aVusxp_BtlYA_POZ6ntHrACON6Me2GSRKzZPnrEIy8wE6mQrEVYX3ESRvAo7HkG0F75BXvVmn49xW1cvEHF5yj-Pbv_Sk/w400-h400/P18_2_1.png&quot; title=&quot;Write a Program to check wether number is armstrong or not armstrong c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhXkttBKfY6rfb_haaQIbb3XTxbKvyMCNs1Q4sa-nDhCH2tMrj2lLUg_rAwtlCuiDRFA7m0aCtbIJe2ZBF42cFPFtxhQddACGUmnCAw1EULjXzkgKQebK-a0_S1DaQNTBoAqIiGY7zgvd4/s1080/P18_2_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Write a Program to check wether number is armstrong or not armstrong c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXkttBKfY6rfb_haaQIbb3XTxbKvyMCNs1Q4sa-nDhCH2tMrj2lLUg_rAwtlCuiDRFA7m0aCtbIJe2ZBF42cFPFtxhQddACGUmnCAw1EULjXzkgKQebK-a0_S1DaQNTBoAqIiGY7zgvd4/w400-h400/P18_2_2.png&quot; title=&quot;Write a Program to check wether number is armstrong or not armstrong c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1UgTpiZz6y3H4GIlL0lIOpOB5fTTQuHlC/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to check wether number is armstrong or not armstrong c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 15px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;3.&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Write a Program to check wether numberis palindron or not Palindron&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&amp;nbsp;/* Write a Program to check wether number is&amp;nbsp; palindron or not Palindron&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp;Ex :- 1331 revers = 1331&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,num,temp,t,sum=0;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter number : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;num);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;temp = num;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(num&amp;gt;0)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;t=num%10;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;num = num/10;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum = sum*10 + t;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(temp == sum)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Number is Palindron&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Number is Not Palindron&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEiHmrPF1BAEuC84bcJaFHu80ylULQQVwkQYi7aCm8ZDyHj0zQ5TLXj4x6pW7qWucvHGpdBKZBDuE_k_xOimjfxheE9Zk7fHMTzt1JOD_ZpsxrX_Kci-_6xDCznSn21F5vgchNw2D5kwEsU/s1080/P18_3%25281%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to check wether numberis palindron or not Palindron c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHmrPF1BAEuC84bcJaFHu80ylULQQVwkQYi7aCm8ZDyHj0zQ5TLXj4x6pW7qWucvHGpdBKZBDuE_k_xOimjfxheE9Zk7fHMTzt1JOD_ZpsxrX_Kci-_6xDCznSn21F5vgchNw2D5kwEsU/w400-h400/P18_3%25281%2529.png&quot; title=&quot;Program to check wether numberis palindron or not Palindron c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjtzF9lfmq8ag9FOh9wf1zqjC84nvhhqua63R_w0ymaS3IHFW6VlfWnetdYWfTrzEVypsNUTUHfpYfQYxRfyH4GJfJWJfJRVtCgPcS5JU9HfLY6mMBfSgjFh7UsDhVeCPGKfqbmN66IrW0/s1080/P18_3%25282%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to check wether numberis palindron or not Palindron c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtzF9lfmq8ag9FOh9wf1zqjC84nvhhqua63R_w0ymaS3IHFW6VlfWnetdYWfTrzEVypsNUTUHfpYfQYxRfyH4GJfJWJfJRVtCgPcS5JU9HfLY6mMBfSgjFh7UsDhVeCPGKfqbmN66IrW0/w400-h400/P18_3%25282%2529.png&quot; title=&quot;Program to check wether numberis palindron or not Palindron c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjBwcnxHYOxX_9qo4F6IAO8E2WIvRHmXVyjdiypuU8-4u5yyqcC-Pr6wbv6tI_LNSPLX0xKwswYGb9bKFcHP8GmRx5SUStdANh8YpntAuHe6HPrHpFpX3NbD3T36piYh3BD9gqWJ7jIi_4/s1080/P18_3_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to check wether numberis palindron or not Palindron c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBwcnxHYOxX_9qo4F6IAO8E2WIvRHmXVyjdiypuU8-4u5yyqcC-Pr6wbv6tI_LNSPLX0xKwswYGb9bKFcHP8GmRx5SUStdANh8YpntAuHe6HPrHpFpX3NbD3T36piYh3BD9gqWJ7jIi_4/w400-h400/P18_3_1.png&quot; title=&quot;Program to check wether numberis palindron or not Palindron c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjlLme0vJfCkDz7TbplvvDbZ2bo7IMIqraKvmV-i7wq8PLni7QIFmpc-ds9Zl8QR0tQciaGsr5k5kRaA7TntWSH0XOV3jVrqXmSxdj9-7t9GwD7FIhbArgsYaGHsYrrerOf6a79bG1mDmQ/s1080/P18_3_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program to check wether numberis palindron or not Palindron c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlLme0vJfCkDz7TbplvvDbZ2bo7IMIqraKvmV-i7wq8PLni7QIFmpc-ds9Zl8QR0tQciaGsr5k5kRaA7TntWSH0XOV3jVrqXmSxdj9-7t9GwD7FIhbArgsYaGHsYrrerOf6a79bG1mDmQ/w400-h400/P18_3_2.png&quot; title=&quot;Program to check wether numberis palindron or not Palindron c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1aht22z8uzffsXiJhDoe18c916IzF6jPi/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Program to check wether numberis palindron or not Palindron c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/2296894898818907473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/02/program-to-find-factorial-of-given.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/2296894898818907473'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/2296894898818907473'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/02/program-to-find-factorial-of-given.html' title='program to find factorial of given number AND number is armstrong or not armstrong AND numberis palindron or not Palindron '/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC57FZgNP5bDz9rRGytr3ly3iy4qW-hsjfacXbla_H3SLFBdEJS7lrZv5Z-8pVB1-CTrCLagPlTAh37wQwzlWAOIDbB-KLVNBDD5X7h4v7CxK7e23m9VmfVQxIC48nMx84dlyGZ6nWvro/s72-w400-h400-c/P18_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-7572673357814807243</id><published>2021-02-03T12:15:00.002+05:30</published><updated>2021-02-03T12:15:32.937+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="for loop"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><title type='text'>program to find out the sum of serise 1+1/2+1/3+1/4+.....+1/n AND  sum of serise 1+1/3+1/5+1/7+.....+1/n AND sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1)  using for loop </title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;&lt;b&gt;1. Write a program to find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program&amp;nbsp;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;2. Write a program to find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loo c Program&amp;nbsp;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;3. Write a program to find out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c Program&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;1.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;Write a program to find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program - Program Code&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a program to find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop&amp;nbsp; */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;float i,n,sum=0;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter N : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%f&quot;,&amp;amp;n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=1;i&amp;lt;=n;i++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum = sum + 1/i;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Sum of series = %f&quot;,sum);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEi3unDPy0ubPe1rAiQotgsQnMPC3Ua6ZdbApjM_Pxf69C2HLHJGKg1fJ406lOn0CzA5A8JCaYeiSxHmND5Bgt_L5X0Z3vv7mIqyGw0ceKq2tWgnflgsPHeCwCqRRSZj3lxmyKnRndsMLxU/s1080/P17_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3unDPy0ubPe1rAiQotgsQnMPC3Ua6ZdbApjM_Pxf69C2HLHJGKg1fJ406lOn0CzA5A8JCaYeiSxHmND5Bgt_L5X0Z3vv7mIqyGw0ceKq2tWgnflgsPHeCwCqRRSZj3lxmyKnRndsMLxU/w400-h400/P17_1.png&quot; title=&quot;find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgCAGrsEICxTTdcJOCSX-llslb5VpX2dsveJCsUdBFQ3Uqn4YzBU0eVo2yudA24har9RtK1LuWff9gVsWvfLDeZE3_FSGeAeGAYhw-AQkkLFzd8Pl1CZq1dBxKK7ijRZWrXRA0uOsH-YF0/s1080/P17_1_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCAGrsEICxTTdcJOCSX-llslb5VpX2dsveJCsUdBFQ3Uqn4YzBU0eVo2yudA24har9RtK1LuWff9gVsWvfLDeZE3_FSGeAeGAYhw-AQkkLFzd8Pl1CZq1dBxKK7ijRZWrXRA0uOsH-YF0/w400-h400/P17_1_1.png&quot; title=&quot;find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgnigIZUlwYg4a0GEknbpkX6Lhdc7b5VR42D8KxW2XjkUNTkHC6Q3Qvl7aKOHk7DyR2NWpPD4gQbFYDEPl2yEhVh6VXl2wlHo0YZQ3r9DXEqzILS1RvDfYO1i_Jk9Yo-yRsZdudPr4A918/s1080/P17_1_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnigIZUlwYg4a0GEknbpkX6Lhdc7b5VR42D8KxW2XjkUNTkHC6Q3Qvl7aKOHk7DyR2NWpPD4gQbFYDEPl2yEhVh6VXl2wlHo0YZQ3r9DXEqzILS1RvDfYO1i_Jk9Yo-yRsZdudPr4A918/w400-h400/P17_1_2.png&quot; title=&quot;find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1hOUCANAoiVgnKYL4Qo7hRwdNOHvYBY4L/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;2.&lt;br /&gt;Write a program to find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loo c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a program to find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loop&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;float i,n,sum=0;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter N : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%f&quot;,&amp;amp;n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=1;i&amp;lt;=n;i=i+2)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum = sum + 1/i;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Sum of series = %f&quot;,sum);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEgQGh1fLZo8sZPt8bsaJENdiqYdM6fx1JEmUHX2sasOsg7ZucaYG3FzOc7xUkjtj6H2NGegPbNv4OMQBOwMG5J2yx9uLrKeZCbRZ2R_SiWSrjV5pLKIxPyM2dw5XhvygmCHW8oavFK-E-g/s1080/P17_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loop c Program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQGh1fLZo8sZPt8bsaJENdiqYdM6fx1JEmUHX2sasOsg7ZucaYG3FzOc7xUkjtj6H2NGegPbNv4OMQBOwMG5J2yx9uLrKeZCbRZ2R_SiWSrjV5pLKIxPyM2dw5XhvygmCHW8oavFK-E-g/w400-h400/P17_2.png&quot; title=&quot;find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loop c Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhHGdRvlGdbF-X5uaQ8XpAWriDbRGf5CcsOZGjfrLwGCB0efpe8j-cOO3wvd5pSbAMtXT7qk6gKT-f9HRr23zZmORQd_eEF1h_1MdvHTaGQKXMdwcvmtO_Bd-AcMMci-2S6RDdyT5HXotE/s1080/P17_2_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loop c Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHGdRvlGdbF-X5uaQ8XpAWriDbRGf5CcsOZGjfrLwGCB0efpe8j-cOO3wvd5pSbAMtXT7qk6gKT-f9HRr23zZmORQd_eEF1h_1MdvHTaGQKXMdwcvmtO_Bd-AcMMci-2S6RDdyT5HXotE/w400-h400/P17_2_1.png&quot; title=&quot;find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loop c Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEg7IthyEmPl4KOPLZvNjLLiFgkRZ7cJxvsUuR7QVR1ym0iCR_06C93g0ri-s3-jTwXDbjSBS8u9GIGz_s0sYkGY6Bo9tYdclhpqb-BUURZhQ8IEoLDro1D5VYsg76giMGmN3vdN_GKduks/s1080/P17_2_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loop c Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7IthyEmPl4KOPLZvNjLLiFgkRZ7cJxvsUuR7QVR1ym0iCR_06C93g0ri-s3-jTwXDbjSBS8u9GIGz_s0sYkGY6Bo9tYdclhpqb-BUURZhQ8IEoLDro1D5VYsg76giMGmN3vdN_GKduks/w400-h400/P17_2_2.png&quot; title=&quot;find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loop c Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1oI-oIdQgulwYKcEFI09pyeqVvSeHdoI4/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loop c Program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;3.&lt;br /&gt;Write a program to find out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp;/* Write a program to find out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1)&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;float i,n,sum=0,a;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter N : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%f&quot;,&amp;amp;n);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=1;i&amp;lt;=n;i++)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a = (i*2)-1;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum = sum + i/a;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Sum of series = %f&quot;,sum);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/blockquote&gt;&lt;/h4&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/AVvXsEi6dyKLKJ49Tm5aWOkygiCOsFzEH1AeylX6iDSzSl5rR1UKCmcU7hUotCI2DZiAgqPiHGZmvKIc8hEl6T762RS780gNaTmtzmbxHV4ILIWZ05O9KFvJloAe5N-Y3hJNHyLA1fwNdzcCOuo/s1080/P17_3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Wfind out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c Program - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6dyKLKJ49Tm5aWOkygiCOsFzEH1AeylX6iDSzSl5rR1UKCmcU7hUotCI2DZiAgqPiHGZmvKIc8hEl6T762RS780gNaTmtzmbxHV4ILIWZ05O9KFvJloAe5N-Y3hJNHyLA1fwNdzcCOuo/w400-h400/P17_3.png&quot; title=&quot;Wfind out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c Program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgfUnCAgWOf8eA91n90lM8xnYyHXJ4Kd3NVFwiRxWvYeBS5X56ZNv3e3pkUDpSafhXH80nhN41cmK-E3ps-y-JgIlM0UHo2_MKpUAnUy_2O0wqRfe4-aTG6qPU3nKnZVK4DM0Sn1zoysQg/s1080/P17_3_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Wfind out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c Program output - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfUnCAgWOf8eA91n90lM8xnYyHXJ4Kd3NVFwiRxWvYeBS5X56ZNv3e3pkUDpSafhXH80nhN41cmK-E3ps-y-JgIlM0UHo2_MKpUAnUy_2O0wqRfe4-aTG6qPU3nKnZVK4DM0Sn1zoysQg/w400-h400/P17_3_1.png&quot; title=&quot;Wfind out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c Program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjVws87yOGiYepcShpvyw6tSZ1BQqSdMQ5UsE7ksBqpso5nxIyz-e0Qi0ZsXVlbZuGvozzLi2fbGHlfz5jmtZvxrHWND8gBK5Np26MShuEZyNE-F662Hh2-Uit7stFMl3rjd1MBHGmDfNE/s1080/P17_3_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Wfind out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c Program output - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVws87yOGiYepcShpvyw6tSZ1BQqSdMQ5UsE7ksBqpso5nxIyz-e0Qi0ZsXVlbZuGvozzLi2fbGHlfz5jmtZvxrHWND8gBK5Np26MShuEZyNE-F662Hh2-Uit7stFMl3rjd1MBHGmDfNE/w400-h400/P17_3_2.png&quot; title=&quot;Wfind out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c Program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1oI-oIdQgulwYKcEFI09pyeqVvSeHdoI4/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Wfind out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c Program - Program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/7572673357814807243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/02/program-to-find-out-sum-of-serise.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/7572673357814807243'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/7572673357814807243'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/02/program-to-find-out-sum-of-serise.html' title='program to find out the sum of serise 1+1/2+1/3+1/4+.....+1/n AND  sum of serise 1+1/3+1/5+1/7+.....+1/n AND sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1)  using for loop '/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3unDPy0ubPe1rAiQotgsQnMPC3Ua6ZdbApjM_Pxf69C2HLHJGKg1fJ406lOn0CzA5A8JCaYeiSxHmND5Bgt_L5X0Z3vv7mIqyGw0ceKq2tWgnflgsPHeCwCqRRSZj3lxmyKnRndsMLxU/s72-w400-h400-c/P17_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-8299014644930366044</id><published>2021-02-01T12:18:00.003+05:30</published><updated>2021-02-01T12:18:50.800+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="do while loop"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><category scheme="http://www.blogger.com/atom/ns#" term="while loop"/><title type='text'>take input from user print sum of it&#39;s number AND print number in reverse order AND print table of that number using while loop </title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;1. Write a Program to take input from user print sum of it&#39;s number using while loop c program&amp;nbsp;&lt;br /&gt;2. Write a Program to take input from user print number in reverse order using while loop c program&amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp;Ex :- 3586&lt;br /&gt;&amp;nbsp; &amp;nbsp;Output :- 6853&amp;nbsp;&lt;br /&gt;3. Write a Program&amp;nbsp; take number from user and print table of that number using while loop c program&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;1.&lt;br /&gt;Write a Program to take input from user print sum of it&#39;s number using while loop c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program to take input from user print sum of it&#39;s number using while loop&amp;nbsp; */&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,a,num,sum=0;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter number : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;num);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(num!=0)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a=num%10;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum = sum + a;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;num=num/10;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Sum of it&#39;s number = %d&quot;,sum);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEimjqUS0OFylssWKiW5ZCgrnKKyYOWcnE4Y-mh_ii5mrGuNegi1uAFh3g_0Z5wJ8Q_wWpRQVEF3lmm1u21Oe6H8mnrwnxcvlPGImkfJXiVtV4MkS0Qos75t9vp0YAfFCyLhrxHAKi2FnvQ/s1080/P16_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;take input and print sum of it&#39;s number using while loop c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimjqUS0OFylssWKiW5ZCgrnKKyYOWcnE4Y-mh_ii5mrGuNegi1uAFh3g_0Z5wJ8Q_wWpRQVEF3lmm1u21Oe6H8mnrwnxcvlPGImkfJXiVtV4MkS0Qos75t9vp0YAfFCyLhrxHAKi2FnvQ/w400-h400/P16_1.png&quot; title=&quot;take input and print sum of it&#39;s number using while loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiywJG0YQ0HRJkYY9Dfyv6GNcfMc5BWHThIYQZJAR87IHIMD3Jnj8dPEq9SGkVTW2YqvyKj5_CVITmsRC0B9D3LKnk_zINPDZCbdHWvOMXgZgJUbUVXDy0sVR16aAkg42ozXXnyI_MyD7Q/s1080/P16_1_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;take input and print sum of it&#39;s number using while loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiywJG0YQ0HRJkYY9Dfyv6GNcfMc5BWHThIYQZJAR87IHIMD3Jnj8dPEq9SGkVTW2YqvyKj5_CVITmsRC0B9D3LKnk_zINPDZCbdHWvOMXgZgJUbUVXDy0sVR16aAkg42ozXXnyI_MyD7Q/w400-h400/P16_1_1.png&quot; title=&quot;take input and print sum of it&#39;s number using while loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEg19NchnRh1S8Q-ur_kV33Dt0iCdOX9KlXwCj_-IF6-m9JneOThh652qVHGqHMkhb8N9XECBem7xl13LN2I51K_Iijg2kp51Od_uIxDIoc1W0z7CO_xolQzpUW67g83_boz3-1fJjHHfD8/s1080/P16_1_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;take input and print sum of it&#39;s number using while loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg19NchnRh1S8Q-ur_kV33Dt0iCdOX9KlXwCj_-IF6-m9JneOThh652qVHGqHMkhb8N9XECBem7xl13LN2I51K_Iijg2kp51Od_uIxDIoc1W0z7CO_xolQzpUW67g83_boz3-1fJjHHfD8/w400-h400/P16_1_2.png&quot; title=&quot;take input and print sum of it&#39;s number using while loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1PItq92VmzzIT_cIa73PHlDaKzXLDFRus/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;take input and print sum of it&#39;s number using while loop c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;2.&lt;br /&gt;Write a Program to take input from user print number in reverse order using while loop c program - Program Code&lt;br /&gt;&amp;nbsp; &amp;nbsp;Ex :- 3586&lt;br /&gt;&amp;nbsp; &amp;nbsp;Output :- 6853&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program to take input from user print number in reverse order using while loop&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;Ex :- 3586&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;Output :- 6853&amp;nbsp; */&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,num,reverse=0,a;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter number : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;num);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while (num!=0)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a=num%10;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;reverse = reverse*10+a;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;num=num/10;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Reverse number = %d&quot;,reverse);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&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;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEg0piH1q3GVp7bvix5eEcilL29jPHqtr6_XGqU4ZBCUpEoe9Oq7oPEZA-awMnjxnkyiNFk7GRpxf83gqokSt_Kjmkag1QfYpDwvY2w0x-FvtutLmI05KnZ9CeQyvAk_DqOpVHu_WLAEGps/s1080/P16_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;take input print number in reverse order using while loop c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0piH1q3GVp7bvix5eEcilL29jPHqtr6_XGqU4ZBCUpEoe9Oq7oPEZA-awMnjxnkyiNFk7GRpxf83gqokSt_Kjmkag1QfYpDwvY2w0x-FvtutLmI05KnZ9CeQyvAk_DqOpVHu_WLAEGps/w400-h400/P16_2.png&quot; title=&quot;take input print number in reverse order using while loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEj2_8Tya1_i3sR5eg70jVcOtFanUKVOVAIhzQI3txbCCev7AO6cCw0Hkr4ovnw1SBMv9yPJIyCajLSpOKzENeWtgIb0x6psxIuHIWmsQze1P2BuJzd_FYqibQVs2ljSa-MXxzbOlOsNMYw/s1080/P16_2_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;take input print number in reverse order using while loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2_8Tya1_i3sR5eg70jVcOtFanUKVOVAIhzQI3txbCCev7AO6cCw0Hkr4ovnw1SBMv9yPJIyCajLSpOKzENeWtgIb0x6psxIuHIWmsQze1P2BuJzd_FYqibQVs2ljSa-MXxzbOlOsNMYw/w400-h400/P16_2_1.png&quot; title=&quot;take input print number in reverse order using while loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEg5bGIelPDAX9VAoKIs9esdg1QK7oKHi2XP2-CCLV9OSv7wA2LQbDxd6-5wn0TAaNIR_XXPlyVa3T56CmxYf71lM-uODxQJ1FKVHzjRQtzyVnl1Pmr7mxTvAaJHYLny0JlqRtmC3bw4YGk/s1080/P16_2_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;take input print number in reverse order using while loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5bGIelPDAX9VAoKIs9esdg1QK7oKHi2XP2-CCLV9OSv7wA2LQbDxd6-5wn0TAaNIR_XXPlyVa3T56CmxYf71lM-uODxQJ1FKVHzjRQtzyVnl1Pmr7mxTvAaJHYLny0JlqRtmC3bw4YGk/w400-h400/P16_2_2.png&quot; title=&quot;take input print number in reverse order using while loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1q8av4Dj4mYbAJMKMKE0xDO3KDkSNBYfJ/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;take input print number in reverse order using while loop c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 15px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;3.&lt;br /&gt;Write a Program&amp;nbsp; take number from user and print table of that number using while loop c Program - Program Code&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program&amp;nbsp; take number from user and print table of that number using while loop&amp;nbsp; */&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=1,num;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter number : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;num);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Table of %d number\n&quot;,num);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(i&amp;lt;=10)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d * %d = %d\n&quot;,num,i,num*i);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEiAip0YjW4AGSm-_FMYdtSbQOHGDLGeqK3qT4duPg5fz42y61x6-Mapp_zkDV7r4jgpnfcPzAABbk8FvYoWqWPTZwXxFkRg2wbzAjfY3iJcscIuZEyYRiS4xJkx-EpHH2pwobIPYiypZ-M/s1080/P16_3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;take number and print table of that number using while loop c program - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAip0YjW4AGSm-_FMYdtSbQOHGDLGeqK3qT4duPg5fz42y61x6-Mapp_zkDV7r4jgpnfcPzAABbk8FvYoWqWPTZwXxFkRg2wbzAjfY3iJcscIuZEyYRiS4xJkx-EpHH2pwobIPYiypZ-M/w400-h400/P16_3.png&quot; title=&quot;take number and print table of that number using while loop c program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgFcT7xc0ROR4W2GamTK_ybzrbkhuJHTbIFnzND6GG64JwZ-IUnjvzWWXj9-LVTKmy-3UgbRQ1Z8qN_6BDTzldf63hIxL9pywBgYmE1GAwKL7rk5OybfIHAZZgcBL1R_r1l70nnGoVp_jQ/s1080/P16_3_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;take number and print table of that number using while loop c program output - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFcT7xc0ROR4W2GamTK_ybzrbkhuJHTbIFnzND6GG64JwZ-IUnjvzWWXj9-LVTKmy-3UgbRQ1Z8qN_6BDTzldf63hIxL9pywBgYmE1GAwKL7rk5OybfIHAZZgcBL1R_r1l70nnGoVp_jQ/w400-h400/P16_3_1.png&quot; title=&quot;take number and print table of that number using while loop c program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEif__BOTlC7V7Bn9-pojK-nHMkJ80bh-O4756x_uCrhkchnnK3ie_IjSWR3kdbblf3Qln8dhhBzxykmBK68rjr9pU6gisVFlIIEz74hteCofGSBlfmWaYuTtMXyMTriLegSjEO86BCck9I/s1080/P16_3_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;take number and print table of that number using while loop c program output - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif__BOTlC7V7Bn9-pojK-nHMkJ80bh-O4756x_uCrhkchnnK3ie_IjSWR3kdbblf3Qln8dhhBzxykmBK68rjr9pU6gisVFlIIEz74hteCofGSBlfmWaYuTtMXyMTriLegSjEO86BCck9I/w400-h400/P16_3_2.png&quot; title=&quot;take number and print table of that number using while loop c program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #800180; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1G7eF-Ky2zSSImink0HkTUPDxua65evoA/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; color: #3cc091; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;take number and print table of that number using while loop c program - Program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/8299014644930366044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/02/take-input-from-user-print-sum-of-its.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/8299014644930366044'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/8299014644930366044'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/02/take-input-from-user-print-sum-of-its.html' title='take input from user print sum of it&#39;s number AND print number in reverse order AND print table of that number using while loop '/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimjqUS0OFylssWKiW5ZCgrnKKyYOWcnE4Y-mh_ii5mrGuNegi1uAFh3g_0Z5wJ8Q_wWpRQVEF3lmm1u21Oe6H8mnrwnxcvlPGImkfJXiVtV4MkS0Qos75t9vp0YAfFCyLhrxHAKi2FnvQ/s72-w400-h400-c/P16_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-8770371531009980725</id><published>2021-01-31T10:33:00.003+05:30</published><updated>2021-01-31T10:36:13.138+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="for loop"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><title type='text'>print sum of it&#39;s number AND print number in reverse order AND print table using for loop c program </title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;1.Write a Program take input from user print sum of it&#39;s number using for loop c&amp;nbsp; program&amp;nbsp;&lt;br /&gt;2. Write a Program to take input from user print number in reverse order using for loop c program&amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp;Ex :- 3586&lt;br /&gt;&amp;nbsp; &amp;nbsp;Output :- 6853&amp;nbsp; &amp;nbsp;.&lt;br /&gt;3. Write a Program&amp;nbsp; take number from user and print table of that number using for loop c program&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;1.&lt;br /&gt;Write a Program take input from user print sum of it&#39;s number using for loop c&amp;nbsp; program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program take input from user print sum of it&#39;s number using for loop&amp;nbsp; */&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,n,a,sum=0;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter number : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=0;n!=0;i++)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a=n%10;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum=sum+a;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;n=n/10;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;sum = %d&quot;,sum);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;/h4&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/AVvXsEh2eMMr-HeC1dUMBPT912xkxXHyR8lrMsytUkWzKpwBmSErHD5SsubQC8aGbkH8Zch4JnGxm0hbPd0UcLttnNhy0_rLP-WDIuoEnD0Vld9vKQKU7EvPpk1wucYSP624AXUQdARRCJSbnaY/s1080/P15_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print sum of it&#39;s number using for loop c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2eMMr-HeC1dUMBPT912xkxXHyR8lrMsytUkWzKpwBmSErHD5SsubQC8aGbkH8Zch4JnGxm0hbPd0UcLttnNhy0_rLP-WDIuoEnD0Vld9vKQKU7EvPpk1wucYSP624AXUQdARRCJSbnaY/w400-h400/P15_1.png&quot; title=&quot;print sum of it&#39;s number using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhcIQQPduoGE1pA0O6Wmf0Bs5sSjl72nzDhtsBtX2vKc71z6Oxx2TDILMFj1tBMC7gKG81QblBEbwM1jZrl0SWcvNKMQ7J8_saJGyCrxDuATxitdYTTq1jJeLN4wzycyFRKqNzYUUJURCg/s1080/P15_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print sum of it&#39;s number using for loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcIQQPduoGE1pA0O6Wmf0Bs5sSjl72nzDhtsBtX2vKc71z6Oxx2TDILMFj1tBMC7gKG81QblBEbwM1jZrl0SWcvNKMQ7J8_saJGyCrxDuATxitdYTTq1jJeLN4wzycyFRKqNzYUUJURCg/w400-h400/P15_1_1.png&quot; title=&quot;print sum of it&#39;s number using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgzcw1mMhTiNXBY1Q521dOIz1ehOXRKAH-9LCYucty8oj2bVlMyaRsrg-BZGqyvdaKCeyaBQo8zjNWVkFTWKVXelfwXY1igAFm9PVv7aZLWG0Uy9sbNrSjDb9lwQcwhS-XNVSRMbPP1IgY/s1080/P15_1_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print sum of it&#39;s number using for loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzcw1mMhTiNXBY1Q521dOIz1ehOXRKAH-9LCYucty8oj2bVlMyaRsrg-BZGqyvdaKCeyaBQo8zjNWVkFTWKVXelfwXY1igAFm9PVv7aZLWG0Uy9sbNrSjDb9lwQcwhS-XNVSRMbPP1IgY/w400-h400/P15_1_2.png&quot; title=&quot;print sum of it&#39;s number using for loop c program - Program Code`&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1wU_aWuPFDW0ya68V8ufyNUp8sq3cKqRF/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;print sum of it&#39;s number using for loop c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;2.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;Write a Program to take input from user print number in reverse order using for loop c program - Program Code&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp;Ex :- 3586&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp;Output :- 6853&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to take input from user print number in reverse order using for loop&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp;Ex :- 3586&lt;br /&gt;&amp;nbsp; &amp;nbsp;Output :- 6853&amp;nbsp; */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,n,ans=0,a;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter number : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=0;n!=0;i++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a=n%10;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ans = ans*10+a;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;n=n/10;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Reverse number = %d&quot;,ans);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEguzfnX_WDQi48RESDTSYD7K3cbQ1YclZ-dDEqddERzHIsIe7gl2cbLkLGHgve-Uqw4xcQ-CD398P5OnlPfpT0xVT9p2OONEmseXnHKljAL1yN6OlDNqEAbxWyB14b_KdF21M1dMU7wOZw/s1080/P15_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print number in reverse order using for loop c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguzfnX_WDQi48RESDTSYD7K3cbQ1YclZ-dDEqddERzHIsIe7gl2cbLkLGHgve-Uqw4xcQ-CD398P5OnlPfpT0xVT9p2OONEmseXnHKljAL1yN6OlDNqEAbxWyB14b_KdF21M1dMU7wOZw/w400-h400/P15_2.png&quot; title=&quot;print number in reverse order using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjjGQimNUWpdbnsqCk_9IEQaxwBmxfcD89NB0mTPVREgApkn9yhhHzrO0BbJjifbvx8MXKo3bdRgmyhxpMhfpi7iWgMToFLXqMDAtCARP6pXYDfcUG87KJePlOK6Tjm5pybRNLXt0ASnxU/s1080/P15_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print number in reverse order using for loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjGQimNUWpdbnsqCk_9IEQaxwBmxfcD89NB0mTPVREgApkn9yhhHzrO0BbJjifbvx8MXKo3bdRgmyhxpMhfpi7iWgMToFLXqMDAtCARP6pXYDfcUG87KJePlOK6Tjm5pybRNLXt0ASnxU/w400-h400/P15_2_1.png&quot; title=&quot;print number in reverse order using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhFdIla_d8WX1MYFP4ZoM9a1ZNwY62SVFPy2uKag-lkKubkm-KHiskZ24Ao3GCaPuy9ra21Zohh3gQqmY6wUmG6WaiNt0tj8vQ-Db4a9ETKFzecyAxGvxTSw2WAlp8Sxnq2pbOcdKs2U9Q/s1080/P15_2_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print number in reverse order using for loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFdIla_d8WX1MYFP4ZoM9a1ZNwY62SVFPy2uKag-lkKubkm-KHiskZ24Ao3GCaPuy9ra21Zohh3gQqmY6wUmG6WaiNt0tj8vQ-Db4a9ETKFzecyAxGvxTSw2WAlp8Sxnq2pbOcdKs2U9Q/w400-h400/P15_2_2.png&quot; title=&quot;print number in reverse order using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1GMW1sf1Rc0NH7qdW6sj2rdCYWIEuUC2Q/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;print number in reverse order using for loop c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;3.&lt;br /&gt;Write a Program&amp;nbsp; take number from user and print table of that number using for loop c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program&amp;nbsp; take number from user and print table of that number using for loop */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,num;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter number : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;num);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Table of %d number\n&quot;,num);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=1;i&amp;lt;=10;i++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d * %d = %d\n&quot;,num,i,num*i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/blockquote&gt;&lt;/span&gt;&lt;/h3&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/AVvXsEjYEErZ1W2qMI-hTWfoGAw3Bz6P6o4vNNoC0Sfxq9qOpcMXP7muRsMVp-Scu662vdXN0rdRIQ47h9qhhv8zru3wxy8ab8CytxBdx5BdNS83slPFx2PF1kPxa06UuQLwNawiaF0_enPdo2Q/s1080/P15_3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Write a Program  take number from user and print table of that number using for loop c program - program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYEErZ1W2qMI-hTWfoGAw3Bz6P6o4vNNoC0Sfxq9qOpcMXP7muRsMVp-Scu662vdXN0rdRIQ47h9qhhv8zru3wxy8ab8CytxBdx5BdNS83slPFx2PF1kPxa06UuQLwNawiaF0_enPdo2Q/w400-h400/P15_3.png&quot; title=&quot;Write a Program  take number from user and print table of that number using for loop c program - program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiq8VFzjJ3MjNXnSfZzdCAhiITPlq0faS31Hwuks2Rs16XL_vQgmIkzsilrRsQ0RfTpK20RXtZANelYIXQht9FX5LjdVKG1eAzKhy6bEuAcW6ZeGjt3kjBQNuHOYZGW3cbUhLbO4ZdHKAE/s1080/P15_3_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Write a Program  take number from user and print table of that number using for loop c program output - program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq8VFzjJ3MjNXnSfZzdCAhiITPlq0faS31Hwuks2Rs16XL_vQgmIkzsilrRsQ0RfTpK20RXtZANelYIXQht9FX5LjdVKG1eAzKhy6bEuAcW6ZeGjt3kjBQNuHOYZGW3cbUhLbO4ZdHKAE/w400-h400/P15_3_1.png&quot; title=&quot;Write a Program  take number from user and print table of that number using for loop c program - program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhYIiXakfNRla2Nq5copG64Dl3RH3ROtLgR85SKwMo0lmoEjY2OkAX3EbcMDogRjHktakmgzfgZ-1qpn7EPpKOY0XjxdP3nVbg1pI0U10l2kSfo-8GpGMqkFtvolqG1kudTpUza1JioM7s/s1080/P15_3_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Write a Program  take number from user and print table of that number using for loop c program output - program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYIiXakfNRla2Nq5copG64Dl3RH3ROtLgR85SKwMo0lmoEjY2OkAX3EbcMDogRjHktakmgzfgZ-1qpn7EPpKOY0XjxdP3nVbg1pI0U10l2kSfo-8GpGMqkFtvolqG1kudTpUza1JioM7s/w400-h400/P15_3_2.png&quot; title=&quot;Write a Program  take number from user and print table of that number using for loop c program - program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1Di4YiFgKvyDCMkmbnn8nvyLqPtN3TaDw/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Write a Program  take number from user and print table of that number using for loop c program - program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/8770371531009980725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/01/print-sum-of-its-number-and-print.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/8770371531009980725'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/8770371531009980725'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/01/print-sum-of-its-number-and-print.html' title='print sum of it&#39;s number AND print number in reverse order AND print table using for loop c program '/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2eMMr-HeC1dUMBPT912xkxXHyR8lrMsytUkWzKpwBmSErHD5SsubQC8aGbkH8Zch4JnGxm0hbPd0UcLttnNhy0_rLP-WDIuoEnD0Vld9vKQKU7EvPpk1wucYSP624AXUQdARRCJSbnaY/s72-w400-h400-c/P15_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-39559248265821174</id><published>2021-01-29T17:44:00.008+05:30</published><updated>2021-01-29T17:49:25.321+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="for loop"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><title type='text'>Print addition of 1 to n number AND find sum of series 1^2+2^2+3^2+4^2+....+n^2  AND 1^3+2^3+3^3+4^3+....+n^3 using for loop</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;&lt;b&gt;1. Write a Program to print addition of 1 to n number using for loop c program&amp;nbsp;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;2. Write a Program to find sum of series 1^2+2^2+3^2+4^2+5^2+6^2+......+n^2 using for loop c program&amp;nbsp;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;3. Write a Program to find sum of series 1^3+2^3+3^3+4^3+5^3+6^3+......+n^3 using for loop c Program&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;1&lt;br /&gt;Write a Program to print addition of 1 to n number using for loop c program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program to print addition of 1 to n number using for loop&amp;nbsp; */&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,n,sum=0;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter N : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=1;i&amp;lt;=n;i++)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum=sum+i;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Addition = %d&quot;,sum);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;/h4&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/AVvXsEiHPTvlJL6YDI4eSwTUXMKMRXtooML1PtncHzQRBVuOUM1Pi01l1N5HjbCZDxWsZPb8maT0UqSYcvbIxCFoSZWnOqc1xsfYjA6orMmpOBOBlj5fRokpulZ8VLt4lMCZrS-a8Oes_ApKu44/s1080/P14_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print addition of 1 to n number using for loop c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHPTvlJL6YDI4eSwTUXMKMRXtooML1PtncHzQRBVuOUM1Pi01l1N5HjbCZDxWsZPb8maT0UqSYcvbIxCFoSZWnOqc1xsfYjA6orMmpOBOBlj5fRokpulZ8VLt4lMCZrS-a8Oes_ApKu44/w400-h400/P14_1.png&quot; title=&quot;print addition of 1 to n number using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEh_8EMWHdssPTY5aIPu6K1vglJ_qI2V1Mm7s-8OCCnET7ElkVBUMPMModY4fYa6vCK5_d5plieu20kxlcKm6fcEm5V03Bm4xz8Wpkl5fOILjJGndKJkUVDH1gO2uSn0HMEz1Gr_rVFxP80/s1080/P14_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print addition of 1 to n number using for loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_8EMWHdssPTY5aIPu6K1vglJ_qI2V1Mm7s-8OCCnET7ElkVBUMPMModY4fYa6vCK5_d5plieu20kxlcKm6fcEm5V03Bm4xz8Wpkl5fOILjJGndKJkUVDH1gO2uSn0HMEz1Gr_rVFxP80/w400-h400/P14_1_1.png&quot; title=&quot;print addition of 1 to n number using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEg3PCkoLQg5fU1we5yLv0elox9tXoMMHKE0pYvRDftG5g4yWpyaY2Sm_E8it7Z3DvlcJ3HLAxPbVMcggV6e_8b-SouZphDSPv8R2kD0_hmSXVzilujeGvrKMBZ-SEFVpmt6GCUnlH4ClyI/s1080/P14_1_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print addition of 1 to n number using for loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3PCkoLQg5fU1we5yLv0elox9tXoMMHKE0pYvRDftG5g4yWpyaY2Sm_E8it7Z3DvlcJ3HLAxPbVMcggV6e_8b-SouZphDSPv8R2kD0_hmSXVzilujeGvrKMBZ-SEFVpmt6GCUnlH4ClyI/w400-h400/P14_1_2.png&quot; title=&quot;print addition of 1 to n number using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/11Ser7Sqs3-mhzgO2dow0EmqHX60DH-_v/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;print addition of 1 to n number using for loop c program&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;2.&lt;br /&gt;Write a Program to find sum of series 1^2+2^2+3^2+4^2+5^2+6^2+......+n^2 for loop c program - Program Code&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program to find sum of series 1^2+2^2+3^2+4^2+5^2+6^2+......+n^2&amp;nbsp; */&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,n,sum=0;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter N : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=1;i&amp;lt;=n;i++)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum = sum + i*i;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Sum of series = %d&quot;,sum);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEhVFMU2R9tjznEeJ6gRTNnPNrNfPygCCwDRjvn7qiGe1UQhKF-0_94x6fqLhLSN4erjrq3WosKpTpH8yzJIOWAWPW587f3DJJEGbZFjZUZvbNQ9DbeYqdg4_4rQ8rB-cfxZG7XUu_BqwpU/s1080/P14_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;find sum of series 1^2+2^2+3^2+4^2+5^2+6^2+......+n^2 for loop c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVFMU2R9tjznEeJ6gRTNnPNrNfPygCCwDRjvn7qiGe1UQhKF-0_94x6fqLhLSN4erjrq3WosKpTpH8yzJIOWAWPW587f3DJJEGbZFjZUZvbNQ9DbeYqdg4_4rQ8rB-cfxZG7XUu_BqwpU/w400-h400/P14_2.png&quot; title=&quot;find sum of series 1^2+2^2+3^2+4^2+5^2+6^2+......+n^2 for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEggHF3cU29FbjYs6raM4ipUdo-Onvo8MjR8IF3Hx9Nm8l1U-N_0ITiWIw2xE8TlC5GU36lUVLqKWgIXwm-xHpE5Du0bsxxydKzz0IbD2ClvbUn4VxKq5Ou0y9LXZnlnLnbiK51sHuink6I/s1080/P14_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;find sum of series 1^2+2^2+3^2+4^2+5^2+6^2+......+n^2 for loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggHF3cU29FbjYs6raM4ipUdo-Onvo8MjR8IF3Hx9Nm8l1U-N_0ITiWIw2xE8TlC5GU36lUVLqKWgIXwm-xHpE5Du0bsxxydKzz0IbD2ClvbUn4VxKq5Ou0y9LXZnlnLnbiK51sHuink6I/w400-h400/P14_2_1.png&quot; title=&quot;find sum of series 1^2+2^2+3^2+4^2+5^2+6^2+......+n^2 for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjl6hq5l83Sy7v3t7oc-mGsZj6kFQeARqMI1zJ6f8vs3_YZQ4rC5Y1yDqAIsnGc0liRl7VVhecMrX5kgvNr6Ins7yMTJ-0jZ5lZZ-QA2eDovsT9Kg5djSkvbBlnPOgakQS1JsxcJfCm1uc/s1080/P14_2_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;find sum of series 1^2+2^2+3^2+4^2+5^2+6^2+......+n^2 for loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl6hq5l83Sy7v3t7oc-mGsZj6kFQeARqMI1zJ6f8vs3_YZQ4rC5Y1yDqAIsnGc0liRl7VVhecMrX5kgvNr6Ins7yMTJ-0jZ5lZZ-QA2eDovsT9Kg5djSkvbBlnPOgakQS1JsxcJfCm1uc/w400-h400/P14_2_2.png&quot; title=&quot;find sum of series 1^2+2^2+3^2+4^2+5^2+6^2+......+n^2 for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1mhvAJcc-pcIoooHbHK2xlesXIyxnMDQ9/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;find sum of series 1^2+2^2+3^2+4^2+5^2+6^2+......+n^2 for loop c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;3.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Write a Program to find sum of series 1^3+2^3+3^3+4^3+5^3+6^3+......+n^3 using for loop c program - Program Code&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program to find sum of series 1^3+2^3+3^3+4^3+5^3+6^3+......+n^3&amp;nbsp; */&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,n,sum=0;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter N : &quot;) ;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=1;i&amp;lt;=n;i++)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum = sum + i*i*i;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Sum of series = %d&quot;,sum);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEiZvTFgYuD0hABMPAb7Z1MpwGK57zQzuN_f1IVttGWoKDq2Ztlm7A-I40b4DyJrTlZrGj0R5GCGay8lbU4j63knShCIvmOMVnMWcrKgSkb3V1Wr3XBJ5aT1W8n-YVSrYq_IoQly4IBRNTg/s1080/P14_3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;find sum of series 1^3+2^3+3^3+4^3+5^3+6^3+......+n^3 using for loop c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZvTFgYuD0hABMPAb7Z1MpwGK57zQzuN_f1IVttGWoKDq2Ztlm7A-I40b4DyJrTlZrGj0R5GCGay8lbU4j63knShCIvmOMVnMWcrKgSkb3V1Wr3XBJ5aT1W8n-YVSrYq_IoQly4IBRNTg/w400-h400/P14_3.png&quot; title=&quot;find sum of series 1^3+2^3+3^3+4^3+5^3+6^3+......+n^3 using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgVxpfjNB2YmDmZqGVx_C_Nt_9arluioGGNdhS8KLa-I1P4QZxJ-1U4hvPgICfMHKUzKyv4k8KSEJz09zveatp6R27Ky59ey0DCJ8iaPfNL0fLqhfxt9WSKYMfSm-bRTAMthL42lH9ZqCI/s1080/P14_3_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;find sum of series 1^3+2^3+3^3+4^3+5^3+6^3+......+n^3 using for loop c programoutput - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVxpfjNB2YmDmZqGVx_C_Nt_9arluioGGNdhS8KLa-I1P4QZxJ-1U4hvPgICfMHKUzKyv4k8KSEJz09zveatp6R27Ky59ey0DCJ8iaPfNL0fLqhfxt9WSKYMfSm-bRTAMthL42lH9ZqCI/w400-h400/P14_3_1.png&quot; title=&quot;find sum of series 1^3+2^3+3^3+4^3+5^3+6^3+......+n^3 using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiNduEseLyfKlz_IBik77Rb5tMXxEUGB43hF-UB6DNNtBseC8u0gA2KcOb4mfcsBPu7I6rQw22GuX6ETUhFr5D-PrV3zgKNKKcL1TQLLyIvD7l4GPRE20xyhlJAktOOGerYafSECQ9tAS4/s1080/P14_3_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;find sum of series 1^3+2^3+3^3+4^3+5^3+6^3+......+n^3 using for loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNduEseLyfKlz_IBik77Rb5tMXxEUGB43hF-UB6DNNtBseC8u0gA2KcOb4mfcsBPu7I6rQw22GuX6ETUhFr5D-PrV3zgKNKKcL1TQLLyIvD7l4GPRE20xyhlJAktOOGerYafSECQ9tAS4/w400-h400/P14_3_2.png&quot; title=&quot;find sum of series 1^3+2^3+3^3+4^3+5^3+6^3+......+n^3 using for loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1AcIeEeFkmLj7-omXUGtC1DPJaWw7gjaM/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;find sum of series 1^3+2^3+3^3+4^3+5^3+6^3+......+n^3 using for loop c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/39559248265821174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/01/print-addition-of-1-to-n-number-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/39559248265821174'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/39559248265821174'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/01/print-addition-of-1-to-n-number-and.html' title='Print addition of 1 to n number AND find sum of series 1^2+2^2+3^2+4^2+....+n^2  AND 1^3+2^3+3^3+4^3+....+n^3 using for loop'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHPTvlJL6YDI4eSwTUXMKMRXtooML1PtncHzQRBVuOUM1Pi01l1N5HjbCZDxWsZPb8maT0UqSYcvbIxCFoSZWnOqc1xsfYjA6orMmpOBOBlj5fRokpulZ8VLt4lMCZrS-a8Oes_ApKu44/s72-w400-h400-c/P14_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-7689452718792902218</id><published>2021-01-28T16:09:00.002+05:30</published><updated>2021-01-29T17:44:58.785+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="do while loop"/><category scheme="http://www.blogger.com/atom/ns#" term="for loop"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><title type='text'>Program 1 to N number AND first N even number AND 1 To n number which divided by 5 using for loop</title><content type='html'>&lt;h3 style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #2c3e50; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 21px; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: verdana; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1. Write a Program to Print 1 to n number using for loop in C language&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: verdana; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2. Write a Program to print first even number using for loop in C language&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: verdana; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3. Write a Program to print 1 to n number which divided by 5 using for loop in C language&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;&lt;p style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Write a Program to Print 1 to n number using do while loop in C language - Program Code&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;blockquote&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program to print 1 to n&amp;nbsp; number using for loop&amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,n;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter n : &quot;);;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=0;i&amp;lt;=n;i++)&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d\n&quot;,i);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;/blockquote&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/h4&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/AVvXsEjWhiKNxVG3pV1qHl45Lz06t11VoTtaRsMA_2Jsm6TP6qeLq0OjWmQebbwZwZX38GmWgbW9Qdsqr_feC192KO-9PytIVSkdL2njeQGyuiTo1-HnKpArxS6ofp7Iuw9ZH_cP_3Bg2rW4WAY/s1080/P13_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print 1 to n  number using for loop c Program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWhiKNxVG3pV1qHl45Lz06t11VoTtaRsMA_2Jsm6TP6qeLq0OjWmQebbwZwZX38GmWgbW9Qdsqr_feC192KO-9PytIVSkdL2njeQGyuiTo1-HnKpArxS6ofp7Iuw9ZH_cP_3Bg2rW4WAY/w400-h400/P13_1.png&quot; title=&quot;print 1 to n  number using for loop c Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiX3krnkZ0kdlCS1Tduyl1hEEU8LXOuTkPVUVqLe4EfsiY1FcxBRZcRxZvgQUz6r5QOb0wwsdJjajK_HpAm_cCyOPcK91btFmX2w9noBRS1gdaFhQLPtE0136WJhqfRaFcUssQT7AzJC0U/s1080/P13_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print 1 to n  number using for loop c Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX3krnkZ0kdlCS1Tduyl1hEEU8LXOuTkPVUVqLe4EfsiY1FcxBRZcRxZvgQUz6r5QOb0wwsdJjajK_HpAm_cCyOPcK91btFmX2w9noBRS1gdaFhQLPtE0136WJhqfRaFcUssQT7AzJC0U/w400-h400/P13_1_1.png&quot; title=&quot;print 1 to n  number using for loop c Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhn3lGGTNZLAl91CwHRX3sDYdRy4jhkIftdMa65TdEcEUFXnm3Z4Ip7Vr2UfUp_j4zCXGJqliGFeYJ-YdVfTE32leP6rEUHv8sSYYHNn4CXDKcDIRAxZpZ_xBQkEecUmzCRPmXHsEASzJE/s1080/P13_1_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print 1 to n  number using for loop c Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn3lGGTNZLAl91CwHRX3sDYdRy4jhkIftdMa65TdEcEUFXnm3Z4Ip7Vr2UfUp_j4zCXGJqliGFeYJ-YdVfTE32leP6rEUHv8sSYYHNn4CXDKcDIRAxZpZ_xBQkEecUmzCRPmXHsEASzJE/w400-h400/P13_1_2.png&quot; title=&quot;print 1 to n  number using for loop c Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/19tgjfZhlwmIT61Vlx_qFcMzdT2x6Gmf3/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;print 1 to n  number using for loop c Program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;b style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 0px; background-repeat: initial; background-size: initial; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2.&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Write a Program to print first even number using do while loop in C language&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to print first n even number using for loop&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,n;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter n : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=0;i&amp;lt;=n;i=i+2)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d\n&quot;,i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEji2puU6Q_HTKlo4oqxkkR4UGlMzNgQBf2PpSLKz2kQIo2UqOzCqHwl81FbcorHGnCcrxJaQpK8z9ITe_ZSmNEKSVP8VduUH5vW0ohLwQbQ-ZFl6Q8vFCdq0qbHzoc83TaMJPdx-gDx6JE/s1080/P13_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print first n even number using for loop c Program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2puU6Q_HTKlo4oqxkkR4UGlMzNgQBf2PpSLKz2kQIo2UqOzCqHwl81FbcorHGnCcrxJaQpK8z9ITe_ZSmNEKSVP8VduUH5vW0ohLwQbQ-ZFl6Q8vFCdq0qbHzoc83TaMJPdx-gDx6JE/w400-h400/P13_2.png&quot; title=&quot;print first n even number using for loop c Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhHuWUmJHDc4KvdVG8bVGwuVPGtUYlqqqlMmXFxgfa_Jj3mpCpZ0qAqwwtsiKQG2-adsJNkU4N7AhsrQfrhf_VleXXScjy6YlTQYYD8wz-L1Rcjj4Z6D5nZ7KhUPr-p3ekL9f9hRVHp7po/s1080/P13_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print first n even number using for loop c Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHuWUmJHDc4KvdVG8bVGwuVPGtUYlqqqlMmXFxgfa_Jj3mpCpZ0qAqwwtsiKQG2-adsJNkU4N7AhsrQfrhf_VleXXScjy6YlTQYYD8wz-L1Rcjj4Z6D5nZ7KhUPr-p3ekL9f9hRVHp7po/w400-h400/P13_2_1.png&quot; title=&quot;print first n even number using for loop c Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiompzNGLO-P8X5HZyblfWCJreV2SHbBjIWP_tPNb0U-_HDxHic-HzFHffolK83HHmi2aR6d02N7gkcGco31ORUhf70GP9FSegSzMoGRBTOB5G_U08S07-azs1WsokeeIqfC9MSE_bNu5w/s1080/P13_2_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print first n even number using for loop c Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiompzNGLO-P8X5HZyblfWCJreV2SHbBjIWP_tPNb0U-_HDxHic-HzFHffolK83HHmi2aR6d02N7gkcGco31ORUhf70GP9FSegSzMoGRBTOB5G_U08S07-azs1WsokeeIqfC9MSE_bNu5w/w400-h400/P13_2_2.png&quot; title=&quot;print first n even number using for loop c Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1CjwU_e1Os5F-rJFbjjdDK3AupeJFV5fi/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;print first n even number using for loop c Program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #990000; font-family: &amp;quot;Roboto Slab&amp;quot;; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Write a Program to print 1 to n number which divided by 5 using do while loop in C language - Program Code&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;/* Write a Program to print 1 to n number which divided by 5 using for loop */&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i,n;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter n : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=0;i&amp;lt;=n;i++)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(i%5==0)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;%d\n&quot;,i);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEiqUMw1UifeKXhocvUkjBu0NIUm3nII9vLIeHPCpUjr3x4Tt02FlcPFl91re9wY_OQNFoprNtAGZIF000jtGlcrIENUGZB9R_gXyULqUc3XDoU_P3ftxZYV-tg3Hx9-RptD8yC77FbQN_c/s1080/P13_3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print 1 to n number which divided by 5 using for loop c program - program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqUMw1UifeKXhocvUkjBu0NIUm3nII9vLIeHPCpUjr3x4Tt02FlcPFl91re9wY_OQNFoprNtAGZIF000jtGlcrIENUGZB9R_gXyULqUc3XDoU_P3ftxZYV-tg3Hx9-RptD8yC77FbQN_c/w400-h400/P13_3.png&quot; title=&quot;print 1 to n number which divided by 5 using for loop c program - program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhZKomAVW1Hkwf76XUmudJWgY6qN2FKkh5pL5cAc5WaUSDjj5p9U9n6hMa7IkVWuzu1DjdjnsoHdavngPi7HaFg220ziBTaLBs6bHpIgdiw1yNzRMAOXXO87Eblz7pHWMvbeOlfh43Nna4/s1080/P13_3_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print 1 to n number which divided by 5 using for loop c program output - program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZKomAVW1Hkwf76XUmudJWgY6qN2FKkh5pL5cAc5WaUSDjj5p9U9n6hMa7IkVWuzu1DjdjnsoHdavngPi7HaFg220ziBTaLBs6bHpIgdiw1yNzRMAOXXO87Eblz7pHWMvbeOlfh43Nna4/w400-h400/P13_3_1.png&quot; title=&quot;print 1 to n number which divided by 5 using for loop c program - program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEi4MFJH8zA55oQREPEW5MRTvv0cjnDBB7ZRPcaJur8Ht3nhxC1_fbmGVemT-KOqNEuWnusV3aPgAgn4onBEysIO6ea8XxS1ZYcRZfNARehaxKLvBCcSZog1fb2vfBpWD_GciXbV8sPdRX0/s1080/P13_3_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print 1 to n number which divided by 5 using for loop c program output - program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4MFJH8zA55oQREPEW5MRTvv0cjnDBB7ZRPcaJur8Ht3nhxC1_fbmGVemT-KOqNEuWnusV3aPgAgn4onBEysIO6ea8XxS1ZYcRZfNARehaxKLvBCcSZog1fb2vfBpWD_GciXbV8sPdRX0/w400-h400/P13_3_2.png&quot; title=&quot;print 1 to n number which divided by 5 using for loop c program - program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1PZY5xsI9bhyPfuPwZSNf2Ag5R7S3smII/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;print 1 to n number which divided by 5 using for loop c program - program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/7689452718792902218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/01/program-1-to-n-number-and-first-n-even_28.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/7689452718792902218'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/7689452718792902218'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/01/program-1-to-n-number-and-first-n-even_28.html' title='Program 1 to N number AND first N even number AND 1 To n number which divided by 5 using for loop'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWhiKNxVG3pV1qHl45Lz06t11VoTtaRsMA_2Jsm6TP6qeLq0OjWmQebbwZwZX38GmWgbW9Qdsqr_feC192KO-9PytIVSkdL2njeQGyuiTo1-HnKpArxS6ofp7Iuw9ZH_cP_3Bg2rW4WAY/s72-w400-h400-c/P13_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-2148661496927915685</id><published>2021-01-27T12:19:00.009+05:30</published><updated>2021-01-29T17:45:16.366+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="do while loop"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><title type='text'>Program 1 to N number AND first  N even number AND 1 To n number which divided by 5  using do While loop</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;1. Write a Program to Print 1 to n number using do while loop in C language&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;2. Write a Program to print first even number using do while loop in C language&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;3. Write a Program to print 1 to n number which divided by 5 using do while loop in C language .&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;b&gt;1.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;b&gt;Write a Program to Print 1 to n number using do while loop in C language - Program Code&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to Print 1 to n number using do while loop&amp;nbsp; &amp;nbsp; */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=0,n;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter N : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;do&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d\n&quot;,i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}while(i&amp;lt;=n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEhlRkxNJyL5RCLs2Qn58hVzAnVuAM_VLROZ67jbBiKPDq1AFjiKiozQnuJGsYDhbN9GDGLmhzkgFl1eHFZkUd7-dBUcpwVTIrdZanOGuiJUAPRzIsDJ7ArK_wXQi3dmoRIzWanCI1PuT0w/s1080/P12_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Print 1 to n number using do while loop C Program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlRkxNJyL5RCLs2Qn58hVzAnVuAM_VLROZ67jbBiKPDq1AFjiKiozQnuJGsYDhbN9GDGLmhzkgFl1eHFZkUd7-dBUcpwVTIrdZanOGuiJUAPRzIsDJ7ArK_wXQi3dmoRIzWanCI1PuT0w/w400-h400/P12_1.png&quot; title=&quot;Print 1 to n number using do while loop C Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEg5wTgj4KiYL3b8K5i6ojN-xTIu2z_vnsdfGE3BbBnQ1eK9-c9srupv0Tv9XjVBz3k-6_ozPTs-9jWnSTIIDoxxnF3rm1m4ei4AkTJBr_vE_03jf0797HI40AKvKxU9K7z0UsmgxG3dXk4/s1080/P12_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Print 1 to n number using do while loop C Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5wTgj4KiYL3b8K5i6ojN-xTIu2z_vnsdfGE3BbBnQ1eK9-c9srupv0Tv9XjVBz3k-6_ozPTs-9jWnSTIIDoxxnF3rm1m4ei4AkTJBr_vE_03jf0797HI40AKvKxU9K7z0UsmgxG3dXk4/w400-h400/P12_1_1.png&quot; title=&quot;Print 1 to n number using do while loop C Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiRNHyoxnAScBzBUogmQHfD2c9fL9TZSzS3Bp6BgXObujl2GbRp0K0JGXixH5tcpTzgTh8eH0D3afnhb8RF7HrbHlr4zJUSiqD2QuoQbPEEVAMTw-pYJ1vfQxJZM59SAIiqT33XQWqcHZ4/s1080/P12_1_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Print 1 to n number using do while loop C Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRNHyoxnAScBzBUogmQHfD2c9fL9TZSzS3Bp6BgXObujl2GbRp0K0JGXixH5tcpTzgTh8eH0D3afnhb8RF7HrbHlr4zJUSiqD2QuoQbPEEVAMTw-pYJ1vfQxJZM59SAIiqT33XQWqcHZ4/w400-h400/P12_1_2.png&quot; title=&quot;Print 1 to n number using do while loop C Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1Fl5DNfb4wPOGazxgM_eTWu5ElWYifIWn/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Print 1 to n number using do while loop c Program - Program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;b&gt;2.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;b&gt;Write a Program to print first even number using do while loop in C language&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to print first even number using do while loop&amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=0,n;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter n : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;do&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d\n&quot;,i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i=i+2;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}while(i&amp;lt;=n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEjmgcENLZot06eX2m37q_phL9GyNSPX6ZQl9FlY1ohvRIvB1vS0ky48xzI9_c8hAsUO7cNw3IOCBP6XUi-VPFGc4QsKQS-NdpClht7_rJJm6XTY707Xl4TyiKKM5bj6_jjb5bx5T-0nFbg/s1080/P12_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print first even number using do while loop c program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmgcENLZot06eX2m37q_phL9GyNSPX6ZQl9FlY1ohvRIvB1vS0ky48xzI9_c8hAsUO7cNw3IOCBP6XUi-VPFGc4QsKQS-NdpClht7_rJJm6XTY707Xl4TyiKKM5bj6_jjb5bx5T-0nFbg/w400-h400/P12_2.png&quot; title=&quot;print first even number using do while loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiFyia2sCn7gupkUOQFckn8pZ5aHD2PrDcIsvpUgVlLANJD_MM9JBxvmITtKMOK-X1PTYfoWScDegtbPWtejRenXXLSePcBOxxYzBPHhZeNmG-Zqofq1-okF8Z3fxQC5x464VBpuhgqL4M/s1080/P12_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print first even number using do while loop c program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFyia2sCn7gupkUOQFckn8pZ5aHD2PrDcIsvpUgVlLANJD_MM9JBxvmITtKMOK-X1PTYfoWScDegtbPWtejRenXXLSePcBOxxYzBPHhZeNmG-Zqofq1-okF8Z3fxQC5x464VBpuhgqL4M/w400-h400/P12_2_1.png&quot; title=&quot;print first even number using do while loop c program output - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiepckleUTbSTXPky904p4oGOv4hfAkj9lIzguESVOF7TlbbYBWCPjeAvP_fOI1Y2CGIvvhBbph55Z-GDY0la0FBviIPtxvb8dyb7dQwuRZKODIMOasO-KRJBfP4lJWqSH6cukFjkOF8Rk/s1080/P12_2_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print first even number using do while loop c program output  - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiepckleUTbSTXPky904p4oGOv4hfAkj9lIzguESVOF7TlbbYBWCPjeAvP_fOI1Y2CGIvvhBbph55Z-GDY0la0FBviIPtxvb8dyb7dQwuRZKODIMOasO-KRJBfP4lJWqSH6cukFjkOF8Rk/w400-h400/P12_2_2.png&quot; title=&quot;print first even number using do while loop c program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1AzEquwxb78SSLux_8Q0eWpF5Gno2N5h1/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;print first even number using do while loop c program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;3.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;Write a Program to print 1 to n number which divided by 5 using do while loop in C language - Program Code&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;blockquote&gt;/* Write a Program to print 1 to n number which divided by 5 using do while loop */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=0,n;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter n : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;do&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(i%5==0)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;%d\n&quot;,i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}while(i&amp;lt;=n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/blockquote&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEiwu4J7IFrJWDw8P65TwQtnElNA0Sy5bidK8wJ4_hyYOzone5V-eSl7-OxRijE0PevcaIAgwNR3cAX5E7orFPATvSuBVZsTm0YrLNPBmuFCCHytV2IhMuJK-7g55xkNEig5xuifb1YKe9M/s1080/P12_3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print 1 to n number which divided by 5 using do while loop C Program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwu4J7IFrJWDw8P65TwQtnElNA0Sy5bidK8wJ4_hyYOzone5V-eSl7-OxRijE0PevcaIAgwNR3cAX5E7orFPATvSuBVZsTm0YrLNPBmuFCCHytV2IhMuJK-7g55xkNEig5xuifb1YKe9M/w400-h400/P12_3.png&quot; title=&quot;print 1 to n number which divided by 5 using do while loop C Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEi-vXs6BhD6QGSgBnPLkDYwIZ9Kf5Ff0M7vG9TjZgW6cNg-6MG46zg2vfthAzq_QOdM3wjPqNPvRHppTqi_43VW1Tv_Zd7Ct_Ld7pWS0OhPD5Yi_ZcSkooRFc-4mg9nVVWCIRDPQc2RpyA/s1080/P12_3_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print 1 to n number which divided by 5 using do while loop C Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-vXs6BhD6QGSgBnPLkDYwIZ9Kf5Ff0M7vG9TjZgW6cNg-6MG46zg2vfthAzq_QOdM3wjPqNPvRHppTqi_43VW1Tv_Zd7Ct_Ld7pWS0OhPD5Yi_ZcSkooRFc-4mg9nVVWCIRDPQc2RpyA/w400-h400/P12_3_2.png&quot; title=&quot;print 1 to n number which divided by 5 using do while loop C Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&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/AVvXsEg9Sxp3FeGRVffZjLOkZ7YnzOowAEn6RZ0qfEHZUkF4oQX4thqTf8T75qCp5TJ7JGO5p6Ttz32eU_PtwjjjFtdZxqbbrYreRmcj3-fPqmox3XLtlITqDJ2SINYLSQLREPGlT71fnjqa0-I/s1080/P12_3_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print 1 to n number which divided by 5 using do while loop C Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9Sxp3FeGRVffZjLOkZ7YnzOowAEn6RZ0qfEHZUkF4oQX4thqTf8T75qCp5TJ7JGO5p6Ttz32eU_PtwjjjFtdZxqbbrYreRmcj3-fPqmox3XLtlITqDJ2SINYLSQLREPGlT71fnjqa0-I/w400-h400/P12_3_1.png&quot; title=&quot;print 1 to n number which divided by 5 using do while loop C Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1cZPkVlrD8uDGykeuHO5MkbBmZEt_C_fn/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;print 1 to n number which divided by 5 using do while loop C Program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/2148661496927915685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/01/write-program-to-print-1-to-n-number.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/2148661496927915685'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/2148661496927915685'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/01/write-program-to-print-1-to-n-number.html' title='Program 1 to N number AND first  N even number AND 1 To n number which divided by 5  using do While loop'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlRkxNJyL5RCLs2Qn58hVzAnVuAM_VLROZ67jbBiKPDq1AFjiKiozQnuJGsYDhbN9GDGLmhzkgFl1eHFZkUd7-dBUcpwVTIrdZanOGuiJUAPRzIsDJ7ArK_wXQi3dmoRIzWanCI1PuT0w/s72-w400-h400-c/P12_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-3856343002141179621</id><published>2021-01-26T17:04:00.005+05:30</published><updated>2021-01-28T16:11:36.738+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><category scheme="http://www.blogger.com/atom/ns#" term="while loop"/><title type='text'>Program 1 to N number AND first  N even number AND 1 To n number which divided by 5  using While loop</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;1. Write a Program to Print number 1 to N number using While loop in C Program&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;2. Write a Program to print first N&amp;nbsp; even number using while loop in C Program&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;3. Write a Program to Print 1 to n number which divided by 5 using while loop in C Program .&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;1.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;Write a Program to Print number 1 to N number using While loop in C Program - Program Code.&lt;/span&gt;&lt;/h4&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;blockquote&gt;&lt;b&gt;/* Write a Program to Print number 1 to N number using While loop&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=1,n;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter you want print Number = &quot;);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Number 1 To n :\n&quot;);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(i&amp;lt;=n)&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d\n&quot;,i);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/blockquote&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&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/AVvXsEi6ukwBppbNFGF7zLuChl541Eh_gTbRuggDp4gLiwKkxNdTwbHDa8kz_xDS1DOr9ka_E2D3yEJcxvj0L8XwuN4fNroCbV3wYwceVajbOTWCMiOsIK2tueIaCmjbXIMLSVmLONlsuyfv6SU/s1080/P11_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Print 1 to n number using while loop c Program - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6ukwBppbNFGF7zLuChl541Eh_gTbRuggDp4gLiwKkxNdTwbHDa8kz_xDS1DOr9ka_E2D3yEJcxvj0L8XwuN4fNroCbV3wYwceVajbOTWCMiOsIK2tueIaCmjbXIMLSVmLONlsuyfv6SU/w400-h400/P11_1.png&quot; title=&quot;Print 1 to n number using while loop c Program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhotIZ-grrWcm4YQ4zZsWOrBWLvlciNafQn8ExCA_vyfNMAx_SfzmkSjqfAP8r02xidXLts4_YTVtAaEk6CDhymd-WyMfyNskH7QNixdR7DLXd6uRXu4kbG9tzY1jfgiRSjeK4YgZlUvtA/s1080/P11_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Print 1 to n number using while loop c Program output - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotIZ-grrWcm4YQ4zZsWOrBWLvlciNafQn8ExCA_vyfNMAx_SfzmkSjqfAP8r02xidXLts4_YTVtAaEk6CDhymd-WyMfyNskH7QNixdR7DLXd6uRXu4kbG9tzY1jfgiRSjeK4YgZlUvtA/w400-h400/P11_1_1.png&quot; title=&quot;Print 1 to n number using while loop c Program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhE6JcUcClxaY0NxAcOu7J-tXAE_GotjTiTvSonUlp9H3Qtg2vhM0HawOieDZee42itXMWEW97TEgG4XDgiYx0nZarqUpYgOokOj-u83Eu8AboNtxKSA5TsHckcWYuR4adkb89gTBs_Hrw/s1080/P11_1_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Print 1 to n number using while loop c Program ouput - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE6JcUcClxaY0NxAcOu7J-tXAE_GotjTiTvSonUlp9H3Qtg2vhM0HawOieDZee42itXMWEW97TEgG4XDgiYx0nZarqUpYgOokOj-u83Eu8AboNtxKSA5TsHckcWYuR4adkb89gTBs_Hrw/w400-h400/P11_1_2.png&quot; title=&quot;Print 1 to n number using while loop c Program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1A-WKyxYEx8mEAhC_jTaoxTYKublVJTOV/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Print 1 to n number using while loop c Program - Program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;2.&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Write a Program to print first N&amp;nbsp; even number using while loop in C Program - Program Code.&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;blockquote&gt;&lt;b&gt;/* Write a Program to print first N&amp;nbsp; even number using while loop&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=0,n;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter N = &quot;);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(i&amp;lt;=n)&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d\n&quot;,i);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i=i+2;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/blockquote&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&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/AVvXsEgflXq54rhyMbjcY3dhoia5P0NmPt1CFqoN51qcLotNptkdmGbnqyUc0-kToskLD4Hj_ue-_DofV7Ve8tt5oMDaKIN9v4f-ADhk_0YxXG22gx7Q_TfR7bpvYDcEgpDM8N7MxcPr6xOR9Og/s1080/P11_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print first N  even number using while loop in C Program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgflXq54rhyMbjcY3dhoia5P0NmPt1CFqoN51qcLotNptkdmGbnqyUc0-kToskLD4Hj_ue-_DofV7Ve8tt5oMDaKIN9v4f-ADhk_0YxXG22gx7Q_TfR7bpvYDcEgpDM8N7MxcPr6xOR9Og/w400-h400/P11_2.png&quot; title=&quot;print first N  even number using while loop in C Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhwxRKly9dxACiVPapFyGvr4qqcKIo6loLVWqESA2WVdYqkpKzQV-brc0uExtYqH2gNpuPaT7uc80hctFhEfcjdzXebSU7QsziLS3VoK3SmaJ8G9gFgxIZSSI6dUBfZv0nauVJRh364Dqc/s1080/P11_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print first N  even number using while loop in C Program output - Program Code.&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwxRKly9dxACiVPapFyGvr4qqcKIo6loLVWqESA2WVdYqkpKzQV-brc0uExtYqH2gNpuPaT7uc80hctFhEfcjdzXebSU7QsziLS3VoK3SmaJ8G9gFgxIZSSI6dUBfZv0nauVJRh364Dqc/w400-h400/P11_2_1.png&quot; title=&quot;print first N  even number using while loop in C Program - Program Code.&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgahp90fFgsIsmutAeSkTwSy1gdmHzfh7rNOn567fCDPkLzTNtTC_8EwAiCDy9duOElMu9x9Qv1EcIKJz2lxvY12unPqy-w_pNgB_Ly6zzJ_A2sg2dmMmtyhwMGoPV2fBVtlP2sDkytKJ8/s1080/P11_2_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print first N  even number using while loop in C Program output - Program Code.&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgahp90fFgsIsmutAeSkTwSy1gdmHzfh7rNOn567fCDPkLzTNtTC_8EwAiCDy9duOElMu9x9Qv1EcIKJz2lxvY12unPqy-w_pNgB_Ly6zzJ_A2sg2dmMmtyhwMGoPV2fBVtlP2sDkytKJ8/w400-h400/P11_2_2.png&quot; title=&quot;print first N  even number using while loop in C Program - Program Code.&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; font-weight: 400; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; font-weight: 400; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1R0nqIYI3jTZy6ya_TLjPS6ipMwWuLZwx/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Print first N even number using while loop c Program - Program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;b&gt;3.&lt;br /&gt;&lt;/b&gt;Write a Program to Print 1 to n number which divided by 5 using while loop&amp;nbsp; in C Program - Program Code&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;blockquote&gt;&lt;b&gt;/* Write a Program to Print 1 to n number which divided by 5 using while loop */&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i=0,n;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter n = &quot;);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(i&amp;lt;=n)&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(i%5==0)&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;%d\n&quot;,i);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;}&lt;/b&gt;&lt;/blockquote&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&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/AVvXsEjuZWk-e6cSpJSZC56bhgxehUSiTLlW_xmQSQZm_Lz8zb-4pHjUbJ0FZsCwVECRf4yJ_J4HOIs5Y86JeQ6Dc-KkjGljKHorgU1l7jNHk5m9_2aAhVyxdjuBalZm8mquGhQ51M3BwER_czk/s1080/P11_3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Print 1 to n number which divided by 5 using while loop  in C Program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuZWk-e6cSpJSZC56bhgxehUSiTLlW_xmQSQZm_Lz8zb-4pHjUbJ0FZsCwVECRf4yJ_J4HOIs5Y86JeQ6Dc-KkjGljKHorgU1l7jNHk5m9_2aAhVyxdjuBalZm8mquGhQ51M3BwER_czk/w400-h400/P11_3.png&quot; title=&quot;Print 1 to n number which divided by 5 using while loop  in C Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgrx3pyedX8RZ1b6Go4gFjxbMbEAjihkmbbONWkW2U5bOc1PoiV2EkfjRz6IDckIh6raAWOohyphenhyphenBtV3bA1RRxAefJIPwx0bAU88X2W4-S3ZZ15T5zCyHraNHaeEkzeHGco4qAq_Kkr1xAts/s1080/P11_3_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Print 1 to n number which divided by 5 using while loop  in C Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrx3pyedX8RZ1b6Go4gFjxbMbEAjihkmbbONWkW2U5bOc1PoiV2EkfjRz6IDckIh6raAWOohyphenhyphenBtV3bA1RRxAefJIPwx0bAU88X2W4-S3ZZ15T5zCyHraNHaeEkzeHGco4qAq_Kkr1xAts/w400-h400/P11_3_1.png&quot; title=&quot;Print 1 to n number which divided by 5 using while loop  in C Program output- Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEi2VPKOpCGuAn9w8O_2EvvcKr3V95Tp6F79J8LS9DDRxuSSSVlDnK40ZQjJ1iUiikdRxiwiQbWd6HwmWU_GX15F20kCZltR_qFpJl7QMvYoEP1p3cjlGyqPWYFMQaUMAAnt3sbpqXp1tlo/s1080/P11_3_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Print 1 to n number which divided by 5 using while loop  in C Program output- Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2VPKOpCGuAn9w8O_2EvvcKr3V95Tp6F79J8LS9DDRxuSSSVlDnK40ZQjJ1iUiikdRxiwiQbWd6HwmWU_GX15F20kCZltR_qFpJl7QMvYoEP1p3cjlGyqPWYFMQaUMAAnt3sbpqXp1tlo/w400-h400/P11_3_2.png&quot; title=&quot;Print 1 to n number which divided by 5 using while loop  in C Program output - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background: 0px 0px; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1K-QcGFs03vKjJ146YSQEFc-it05cKjkA/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Print 1 to n number which divided by 5 using while loop c Program - Program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/3856343002141179621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/01/program-1-to-n-number-and-first-n-even.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/3856343002141179621'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/3856343002141179621'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/01/program-1-to-n-number-and-first-n-even.html' title='Program 1 to N number AND first  N even number AND 1 To n number which divided by 5  using While loop'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6ukwBppbNFGF7zLuChl541Eh_gTbRuggDp4gLiwKkxNdTwbHDa8kz_xDS1DOr9ka_E2D3yEJcxvj0L8XwuN4fNroCbV3wYwceVajbOTWCMiOsIK2tueIaCmjbXIMLSVmLONlsuyfv6SU/s72-w400-h400-c/P11_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-1275273320859095778</id><published>2021-01-25T16:41:00.007+05:30</published><updated>2021-01-25T16:43:40.142+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><title type='text'>Take mark of three subject print total marks, average and grade AND Roots of a quadratic equation</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;&lt;b&gt;1. Write a Program to accept rollnumber and mark of three subject from user and print total marks, average and grade in C language Program .&amp;nbsp;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;2. Write a Program to find the roots of a quadratic equation in C language Program.&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;b&gt;1.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;b&gt;Write a Program to accept rollnumber and mark of three subject from user and print total marks, average and grade in C language - Program Code&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: verdana; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code :-&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program to accept rollnumber and mark of three subject from user and print total marks, average and grade */&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int rollnum ,m1,m2,m3,total;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;float avg;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter Rollnumber = &quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;rollnum);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Enter mark of three subject : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;scanf(&quot;%d %d %d&quot;,&amp;amp;m1,&amp;amp;m2,&amp;amp;m3);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;total=m1+m2+m3;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Total mark of three subject = %d\n&quot;,total);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;avg = total/3.0;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Average = %f\n&quot;,avg);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(avg&amp;gt;=80 &amp;amp;&amp;amp; avg &amp;lt;=100)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Grade = A&quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else if(avg&amp;gt;=60 &amp;amp;&amp;amp; avg&amp;lt;80)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Grade = B&quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else if(avg&amp;gt;=40 &amp;amp;&amp;amp; avg&amp;lt;60)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Grade = C&quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else if(avg&amp;gt;=33 &amp;amp;&amp;amp; avg&amp;lt;40)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Grade = D&quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else if(avg&amp;gt;=0 &amp;amp;&amp;amp; avg&amp;lt;33)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Your fail&quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Please Enter correct Mark&quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;getch();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEiS5jiNuwNQoGOPXF3lTY2MMA_CCVwyWVbTv-4EnXAyaFkabcS2B3UUfT6aaXMti4dnDWyAvrkqQOXUf6d5nYt2cBSsszGMl8UzwQVKFRdlUdrc2Pw7RI_QxSHvcO0z1bw6FXZNh5Ymbns/s1080/P10_1%25281%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Take mark of three subject print total marks, average and grade in C Language program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiS5jiNuwNQoGOPXF3lTY2MMA_CCVwyWVbTv-4EnXAyaFkabcS2B3UUfT6aaXMti4dnDWyAvrkqQOXUf6d5nYt2cBSsszGMl8UzwQVKFRdlUdrc2Pw7RI_QxSHvcO0z1bw6FXZNh5Ymbns/w400-h400/P10_1%25281%2529.png&quot; title=&quot;Take mark of three subject print total marks, average and grade in C Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEg6zKIhhyA0LoLlBh8ds6p5Y1TZ05t9Jv8RKq292saZpMBzhZu1vgBHCuFYJgyqwjcYYmbHqscEEN39KZp4LnarEK7A41dgVgJbC84Fi1Jcb5dWr9vcRyPTlXifQ1V37lL3z9wkOAuepeU/s1080/P10_1%25282%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Take mark of three subject print total marks, average and grade in C Program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6zKIhhyA0LoLlBh8ds6p5Y1TZ05t9Jv8RKq292saZpMBzhZu1vgBHCuFYJgyqwjcYYmbHqscEEN39KZp4LnarEK7A41dgVgJbC84Fi1Jcb5dWr9vcRyPTlXifQ1V37lL3z9wkOAuepeU/w400-h400/P10_1%25282%2529.png&quot; title=&quot;Take mark of three subject print total marks, average and grade in C Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEi6Cg2jmXQnBTTLXWFv0yMXZCdoymE6Dq5Lt8dXiKZX4Mo6WR3p1Q-6vQ32jQazcSEB3Ub-dg-lQcT9KaAxVDIMHXgYRC0rBp9N5efF_i7dSZKVZA-J-43WJ8lgH5IM0-sQroT6TUn9zfI/s1080/P10_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Take mark of three subject print total marks, average and grade C Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6Cg2jmXQnBTTLXWFv0yMXZCdoymE6Dq5Lt8dXiKZX4Mo6WR3p1Q-6vQ32jQazcSEB3Ub-dg-lQcT9KaAxVDIMHXgYRC0rBp9N5efF_i7dSZKVZA-J-43WJ8lgH5IM0-sQroT6TUn9zfI/w400-h400/P10_1_1.png&quot; title=&quot;Take mark of three subject print total marks, average and grade in C Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEioMmpzoy4PzqntsUIIs0dmsaEw3lZQQTH0eLBI8kilzCr8nu-c7wVfFtvjDkLJqLu15MFWMqTy7QvJtf4ARA1664_uuc7Pi4jMl7A7ZxjCYGS7c4mpLEk6UOng7fu7nSUm_2PE8O5l-vA/s1080/P10_1_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Take mark of three subject print total marks, average and grade C Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioMmpzoy4PzqntsUIIs0dmsaEw3lZQQTH0eLBI8kilzCr8nu-c7wVfFtvjDkLJqLu15MFWMqTy7QvJtf4ARA1664_uuc7Pi4jMl7A7ZxjCYGS7c4mpLEk6UOng7fu7nSUm_2PE8O5l-vA/w400-h400/P10_1_2.png&quot; title=&quot;Take mark of three subject print total marks, average and grade c Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 0px; background-repeat: initial; background-size: initial; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 0px; background-repeat: initial; background-size: initial; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1gPDwj7IKY4WTfZC7KIstilSG97teFT9s/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Take mark of three subject print total marks, average and grade c Program&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;2.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;Write a Program to find the roots of a quadratic equation in C language - Program Code&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: verdana; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code :-&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;blockquote&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;/* Write a Program to find the roots&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;of a quadratic equation&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;math.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; float a,b,c,discriminant,real;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; double r1,r2,imag;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; clrscr();&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Enter coefficients a,b and c :&quot;);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; scanf(&quot;%f %f %f&quot;,&amp;amp;a,&amp;amp;b,&amp;amp;c);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; discriminant = b*b-(4*a*c);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if(discriminant&amp;gt;0)&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; r1 = (-b+sqrt(discriminant))/(2*a);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; r2 = (-b-sqrt(discriminant))/(2*a);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;Roots are : %.2f and %.2f&quot;,r1,r2);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; else if(discriminant == 0)&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; r1 = r2 = -b/(2*a);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;Roots are : %.2f and %.2f&quot;,r1,r2);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; real = -b/(2*a);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; imag = sqrt(-discriminant)/(2*a);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; printf(&quot;Roots are %.2f+%.2fi and %.2f-%.2fi&quot;,real,imag,real,imag);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; getch();&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;/h4&gt;&lt;/blockquote&gt;&lt;h4 style=&quot;text-align: left;&quot;&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/AVvXsEhM-aMP6Lu7cMv_As4u8hP_koWmN7b1JWtCLqgm_HTN9slZ-_wanCiF7q-g5vaXLprReuc0YrVcQsM5ogOZOb2-TJjisLx_uSr1eHxAyspq754Y88-RyxzuNAahBEKrVcBkk2SSnU0qToM/s1080/P10_2%25281%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Roots of a quadratic equation C Program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM-aMP6Lu7cMv_As4u8hP_koWmN7b1JWtCLqgm_HTN9slZ-_wanCiF7q-g5vaXLprReuc0YrVcQsM5ogOZOb2-TJjisLx_uSr1eHxAyspq754Y88-RyxzuNAahBEKrVcBkk2SSnU0qToM/w400-h400/P10_2%25281%2529.png&quot; title=&quot;Roots of a quadratic equation C Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&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/AVvXsEhBere2KmidcLhGMp-2hpmHKEu8yXaLKuIiCKMqNDuA82hQgXcWqhOiWDIKCFxZcouaBBg-Aw_BRqzoq8c12mZfFIqqmDTrbyM2PW7YTIRvPdI-PaWdXQqSPXKY9zVc_BNgrayWb1UrDGk/s1080/P10_2%25282%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Roots of a quadratic equation C Program - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBere2KmidcLhGMp-2hpmHKEu8yXaLKuIiCKMqNDuA82hQgXcWqhOiWDIKCFxZcouaBBg-Aw_BRqzoq8c12mZfFIqqmDTrbyM2PW7YTIRvPdI-PaWdXQqSPXKY9zVc_BNgrayWb1UrDGk/w400-h400/P10_2%25282%2529.png&quot; title=&quot;Roots of a quadratic equation C Program - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgXtDB8t85P7knocwYUJ5EpTOqah65tB151obP3Qd-dQB8l5PsLBGtfytJtcVsK6OK-En_vCItLl84_5gCQgxYbkrgHLIuVMeR1h6JxtcqHLT11O7S3e0SDdPjLsRAQlKAnrqvYbJ8uL9g/s1080/P10_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Roots of a quadratic equation C Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXtDB8t85P7knocwYUJ5EpTOqah65tB151obP3Qd-dQB8l5PsLBGtfytJtcVsK6OK-En_vCItLl84_5gCQgxYbkrgHLIuVMeR1h6JxtcqHLT11O7S3e0SDdPjLsRAQlKAnrqvYbJ8uL9g/w400-h400/P10_2_1.png&quot; title=&quot;Roots of a quadratic equation C Program output - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/h4&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&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/AVvXsEgwXMmdTTgEWxmU3Ieg7qZw61jh9WvzsrSpFuX4OC_2VvyuxopIla6gkXKHPWfkdcz1geY60hQyhSRds3ZLAiaZcmgA2K-yH8dI2JzqiY0ZT1gKfSfEwcdlvvfHY_r3EnOst5srM2sTQmk/s1080/P10_2_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Roots of a quadratic equation C Program output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwXMmdTTgEWxmU3Ieg7qZw61jh9WvzsrSpFuX4OC_2VvyuxopIla6gkXKHPWfkdcz1geY60hQyhSRds3ZLAiaZcmgA2K-yH8dI2JzqiY0ZT1gKfSfEwcdlvvfHY_r3EnOst5srM2sTQmk/w400-h400/P10_2_2.png&quot; title=&quot;Roots of a quadratic equation C Program output - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;b style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 0px; background-repeat: initial; background-size: initial; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 0px; background-repeat: initial; background-size: initial; border: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; clear: both; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1Q3o1Hs8nS0tdTLNQ8KxVaqP0aCv6cdgS/view?usp=sharing&quot; style=&quot;background: 0px 0px; border: 0px; clear: none; color: #3cc091; float: none; margin-left: 1em; margin-right: 1em; outline: 0px; padding: 0px; text-decoration-line: none; transition: color 0.17s ease 0s; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; style=&quot;background: 0px 0px; border: 0px; max-width: 100%; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot; title=&quot;Roots of a quadratic equation C Program - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/1275273320859095778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/01/take-mark-of-three-subject-print-total.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/1275273320859095778'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/1275273320859095778'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/01/take-mark-of-three-subject-print-total.html' title='Take mark of three subject print total marks, average and grade AND Roots of a quadratic equation'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiS5jiNuwNQoGOPXF3lTY2MMA_CCVwyWVbTv-4EnXAyaFkabcS2B3UUfT6aaXMti4dnDWyAvrkqQOXUf6d5nYt2cBSsszGMl8UzwQVKFRdlUdrc2Pw7RI_QxSHvcO0z1bw6FXZNh5Ymbns/s72-w400-h400-c/P10_1%25281%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-2245999948499159369</id><published>2021-01-24T16:28:00.000+05:30</published><updated>2021-01-24T16:28:09.505+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="for loop"/><category scheme="http://www.blogger.com/atom/ns#" term="loop statement"/><category scheme="http://www.blogger.com/atom/ns#" term="while loop"/><title type='text'>Loop Statements in  C language</title><content type='html'>&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 22pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;LOOPING CONTROL STATEMENTS&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;In, Programming, Certain Statements(s) are required to
be repeated for fixed number of times or till certain condition is satisfied.
There are 3 types of looping structure are provided into c programming as
follows.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l2 level1 lfo1; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1)&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;While Loop.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l2 level1 lfo1; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2)&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;do…while Loop.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l2 level1 lfo1; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3)&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;For Loop.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l2 level1 lfo1; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuOOl0Zy669KpcMa6SVMu8CIkEEYIWmnKXp8a5Cj422yleepKBm85XGV6yi9r81SGZD9LxjyaQHMzPYmql2ZqV-c37Rj3tXjE4r-s9ShEXs_VC1UxUoZPWTVaDx9nSbNzPy2nByAOVlgc/s960/loop1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Loop flowchart in C language - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;540&quot; data-original-width=&quot;960&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuOOl0Zy669KpcMa6SVMu8CIkEEYIWmnKXp8a5Cj422yleepKBm85XGV6yi9r81SGZD9LxjyaQHMzPYmql2ZqV-c37Rj3tXjE4r-s9ShEXs_VC1UxUoZPWTVaDx9nSbNzPy2nByAOVlgc/w400-h225/loop1.jpg&quot; title=&quot;Loop flowchart in C language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;The loop is controlled by a condition. The condition
decides how many times the statements will be executed. If there are more than
one sentence in the loop, then those sentences are put in { } symbols. The
statements within { } symbols are called body of the loop. We can say that there
are two parts of loops: &lt;b&gt;Condition&lt;/b&gt; and &lt;b&gt;Body.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #1f4e79; font-family: Wingdings; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #1F4E79; mso-style-textfill-fill-colortransforms: lumm=50000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f4e79; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #1F4E79; mso-style-textfill-fill-colortransforms: lumm=50000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 128;&quot;&gt;TYPES OF LOOPS:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f4e79; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #1F4E79; mso-style-textfill-fill-colortransforms: lumm=50000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;Depending on where the condition is checked, we can
have two types of loop structures:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 1.25in; mso-add-space: auto; mso-list: l3 level1 lfo3; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: Arial; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1)&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;Entry Control.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin-left: 1.25in; mso-add-space: auto; mso-list: l3 level1 lfo3; text-align: justify; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-fareast-font-family: Arial; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2)&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;Exit Control.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;In
entry control loop, the condition is written first and then the body of
statements. While in exit control loop, the body of statements is written first
and then condition is written. This means that body of statements in exit
control loop will be executed at least once.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #1f4e79; font-family: Wingdings; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #1F4E79; mso-style-textfill-fill-colortransforms: lumm=50000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f4e79; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #1F4E79; mso-style-textfill-fill-colortransforms: lumm=50000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 128;&quot;&gt;LOOPING STRUCTURES:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; mso-list: l1 level1 lfo4; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Bahnschrift; mso-fareast-font-family: Bahnschrift; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1)&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;While Loop:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;While Loop is helpful, when we
do not know in advance, how many times the statements ate to be repeated. The
syntax of while loop is:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #4472c4; font-size: 18pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1;&quot;&gt;Syntax of While Loop -&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;While (condition)&lt;span style=&quot;mso-spacerun: yes;&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;&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;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;span style=&quot;mso-spacerun: yes;&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;&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;&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;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #4472c4; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp; &lt;/span&gt;Statement (s);&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;The statement within the { }
symbols are known as body part of the loop. The { } are not required if there
is only one statement in the body part. Here, the condition is checked first
and then only the statements are executed. So while loop is&lt;b&gt; Entry controlled&lt;/b&gt;
loop.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;The statements in the body part
will be executed till the condition is TRUE. As soon as the condition becomes
FALSE, the control will come out of the while loop. If the condition remains
TRUE always then, it will lead to infinite loop. So, writing a valid condition
is important.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;h3 style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #b45f06;&quot;&gt;Flowchart of While loop :-&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;/h3&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/AVvXsEj2TrZmzpARgQUEC6ue5uXt0R7kcbp-J8St-TG0SbyCw4dNqScoV04PJf315kHZgBwhiswLrJDL16y31RxdWAw3jOhHtSIRu5nhThEmo4Qh4ZhFQyD3DteGAvVPU7qBgJoVuN2K8D8TQP8/s392/loop.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;While loop flowchart in C language - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;353&quot; data-original-width=&quot;392&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2TrZmzpARgQUEC6ue5uXt0R7kcbp-J8St-TG0SbyCw4dNqScoV04PJf315kHZgBwhiswLrJDL16y31RxdWAw3jOhHtSIRu5nhThEmo4Qh4ZhFQyD3DteGAvVPU7qBgJoVuN2K8D8TQP8/w400-h360/loop.jpg&quot; title=&quot;While loop flowchart in C language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;margin-left: 45pt; text-align: left;&quot;&gt;&lt;span style=&quot;color: #0d0d0d;&quot;&gt;&lt;span style=&quot;font-size: 18.6667px;&quot;&gt;&lt;b&gt;Example :-&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;i=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;while ( I &amp;lt;= n )&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #4472c4; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: accent1;&quot;&gt;&amp;lt;- Condition&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;printf ( “%d\n”, i );&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #4472c4; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: accent1;&quot;&gt;&amp;lt;- Body&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;i++;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;}&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; mso-list: l1 level1 lfo4; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Bahnschrift; mso-fareast-font-family: Bahnschrift; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2)&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;do…while Loop:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;do…while is an &lt;b&gt;exit control
loop, &lt;/b&gt;where the condition is checked later. At least once the body of the
loop will be executed. Whenever you want to make sure that loop statements must
execute at least one time, you should use do…while loop instead of while loop.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #4472c4; font-size: 18pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1;&quot;&gt;Syntax of do…while Loop –&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Statements (s);&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;} while (condition);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;Here
the statement (s) are executed till the condition is TRUE. As soon as the
condition evaluates to FALSE, the loop terminates and the text statement after
do…while loop is executed.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;We
can use do…while loop wherever we have used while loop. It means that all the
program written in while loop can always written using do…while loop.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #b45f06;&quot;&gt;Flowchart of While loop :-&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;&lt;div&gt;&lt;b&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/AVvXsEhkAF9MCWp-U98QFU0UYSZQndMTfrP03ghBfr8pFAQ7JRk-97MOv2-RM9wAMtk0ujcc1PgWRjBbYvjXbtd_i8nMiMy3eA6VwS6as3SkhHPsh3ANWA0MfYARaZZuVaKNIbZxwcEb6kSBxc0/s421/do-while-loop.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;do while loop flowchart in C language - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;407&quot; data-original-width=&quot;421&quot; height=&quot;386&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkAF9MCWp-U98QFU0UYSZQndMTfrP03ghBfr8pFAQ7JRk-97MOv2-RM9wAMtk0ujcc1PgWRjBbYvjXbtd_i8nMiMy3eA6VwS6as3SkhHPsh3ANWA0MfYARaZZuVaKNIbZxwcEb6kSBxc0/w400-h386/do-while-loop.jpg&quot; title=&quot;do while loop flowchart in C language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/b&gt;&lt;/div&gt;&lt;h3 style=&quot;margin-left: 45pt; text-align: left;&quot;&gt;&lt;span style=&quot;color: #0d0d0d; font-size: 16pt;&quot;&gt;&lt;b&gt;Example :-&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span style=&quot;color: #0d0d0d; font-size: 16pt;&quot;&gt;i=1;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;do&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;printf ( “%d\n”, i );&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #4472c4; font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US; mso-themecolor: accent1;&quot;&gt;&amp;lt;- Body&lt;/span&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i++;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 16pt; line-height: 22.8267px; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;}while(i &amp;lt;= n);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #4472c4; font-size: 21.3333px;&quot;&gt;&amp;lt;- Condition&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span style=&quot;color: #4472c4; font-size: 21.3333px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; mso-list: l1 level1 lfo4; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Bahnschrift; mso-fareast-font-family: Bahnschrift; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3)&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #0d0d0d; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #0D0D0D; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=95000 lumo=5000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 242;&quot;&gt;For Loop:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span style=&quot;font-size: 14pt; text-align: justify;&quot;&gt;We have seen in previous structures of loop that when
we do not know number of iterations required, we can use while or do…while
loop. But, in certain cases, we need to execute some steps certain number of
times in such situations where we know the number of iterations in advance,
then we can use for loop.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #4472c4; font-size: 18pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1;&quot;&gt;Syntax of For Loop -&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: text1;&quot;&gt;for ( initialization;
condition; increment/decrement )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: text1;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: text1;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Statement (s);&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: text1;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: text1;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;We required one variable which is used to control the
loops, which is called variable. The control variable is initialized in
initialization expression. This statement executes only once. The condition
expression actually checks the value of control variable. If the condition
expression is TRUE, then the statement written are executed. These statements
also called as body of for loop. If they are more than one, than put in { }, after
every execution of statements, the last expression increment/decrement is
executed. Then again the condition is checked and body is executed if the
condition evaluates to TRUE. Loop terminates when the condition evaluates to
FALSE.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #b45f06;&quot;&gt;Flowchart of While loop :-&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;/p&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/AVvXsEjne4GDj9Uuda9tjEJYE4BGM5x8VCq_WaqtoWGnZoWxTKMJVgdrsdhJNKdIkckEuQNzgM5sSokFHcYEM_Xtm_QTVsz9vBeHNEW2m8-k8fFt_SYmvF6ZjnrywyG2g1Boqz2PYz2owDyPLq0/s350/For+loop.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;for loop flowchart in C language - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;278&quot; data-original-width=&quot;350&quot; height=&quot;318&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjne4GDj9Uuda9tjEJYE4BGM5x8VCq_WaqtoWGnZoWxTKMJVgdrsdhJNKdIkckEuQNzgM5sSokFHcYEM_Xtm_QTVsz9vBeHNEW2m8-k8fFt_SYmvF6ZjnrywyG2g1Boqz2PYz2owDyPLq0/w400-h318/For+loop.jpg&quot; title=&quot;for loop flowchart in C language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: text1;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: text1;&quot;&gt;for ( int i=1 ; i &amp;lt;= 10
; i++ )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: text1;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p&lt;/span&gt;rintf (“%d\n”, i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 45pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: text1;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/2245999948499159369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/01/loop-statements-in-c-language.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/2245999948499159369'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/2245999948499159369'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/01/loop-statements-in-c-language.html' title='Loop Statements in  C language'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuOOl0Zy669KpcMa6SVMu8CIkEEYIWmnKXp8a5Cj422yleepKBm85XGV6yi9r81SGZD9LxjyaQHMzPYmql2ZqV-c37Rj3tXjE4r-s9ShEXs_VC1UxUoZPWTVaDx9nSbNzPy2nByAOVlgc/s72-w400-h225-c/loop1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-7631474403042655144</id><published>2021-01-12T12:00:00.004+05:30</published><updated>2021-02-10T10:22:21.343+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><title type='text'>Swap values AND Ascending and Descending Order Program In C Language - Program Code</title><content type='html'>&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;b&gt;1. Write a program to take two values from user and swap their values in C Language - Program code&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;b&gt;2. Write a Program to take three input from user print them ascending and descending order in C Language - Program code&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;b&gt;1.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;b&gt;Write a program to take two values from user and swap their values in C language - Program code&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;Program Code :-&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a program to take two values from user and swap their values&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; int a,b,temp;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; clrscr();&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Enter The value of A : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;a);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Enter the value of B : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;b);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Before Swapping &amp;gt;&amp;gt;&amp;gt;&amp;nbsp; &quot;);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;A=%d , B=%d&quot;,a,b);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; temp=a;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; a=b;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; b=temp;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;\nAfter Swapping &amp;gt;&amp;gt;&amp;gt;&amp;nbsp; &quot;);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;A=%d , B=%d&quot;,a,b);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; getch();&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/blockquote&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/h4&gt;&lt;b&gt;&lt;/b&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/AVvXsEiQAywH2qypaTyk-CGSnZCa06K7KILjIJFjEmEWwngywQ-kXTthEBttw2l4NwAaiafgJMxCu-s6lulB2ajFPyNiQ8iVLH8gc-sLrLR8vT5haWO36bG57M7hFxd4g2REiMdg1cAM2ZyLMCY/s1080/P9_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Swap to values Program in C language - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQAywH2qypaTyk-CGSnZCa06K7KILjIJFjEmEWwngywQ-kXTthEBttw2l4NwAaiafgJMxCu-s6lulB2ajFPyNiQ8iVLH8gc-sLrLR8vT5haWO36bG57M7hFxd4g2REiMdg1cAM2ZyLMCY/w400-h400/P9_1.png&quot; title=&quot;Swap to values Program in C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiST_ThmTfyy0lrvgacsNMVpD0bwI1453Zl-c2oslfhKWIVAIM2alGjcshggak4jx1ut0Hhduq4mVOgStMbpitDqz0-lGA0g8RCknOfUuTr38GbuE-BSk2Nvd-E0Nnam6YGKu-fbk3lIAU/s1080/P9_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Swap to values in C language output - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiST_ThmTfyy0lrvgacsNMVpD0bwI1453Zl-c2oslfhKWIVAIM2alGjcshggak4jx1ut0Hhduq4mVOgStMbpitDqz0-lGA0g8RCknOfUuTr38GbuE-BSk2Nvd-E0Nnam6YGKu-fbk3lIAU/w400-h400/P9_1_1.png&quot; title=&quot;Swap to values in C language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhEKeAgutufHcaI12KZVeR9qtZX4_dbAkUlJMVDxCl9oe3eDsUZt_IEiJUDx98G2I736x-c89ducltkJYbVgVw6eLQNxITW9uhM4axdIZ1-5ljYSTS6IulUZ0vJqkAMCiJSOc8pCBQ5CQI/s1080/P9_1_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Swap to values Program output in C language - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEKeAgutufHcaI12KZVeR9qtZX4_dbAkUlJMVDxCl9oe3eDsUZt_IEiJUDx98G2I736x-c89ducltkJYbVgVw6eLQNxITW9uhM4axdIZ1-5ljYSTS6IulUZ0vJqkAMCiJSOc8pCBQ5CQI/w400-h400/P9_1_2.png&quot; title=&quot;Swap to values Program output in C language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background-color: white; color: #656565; font-size: 15px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1QsKRL6lPg-N5GSFz1olQ3-MvS6_FPY_a/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Swap two values program  using C language download  to Click Here....&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;2.&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Write a Program to take three input from user print them ascending and descending order in C program - Program Code&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #351c75; font-family: verdana;&quot;&gt;Program Code :-&lt;/span&gt;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h4&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;blockquote&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program to take three input from user print them ascending and descending order */&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; int a,b,c;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; clrscr();&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Enter the value of A : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;a);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Enter the value of B : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;b);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Enter the value&amp;nbsp; of C : &quot;);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;c);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if(a&amp;gt;=b &amp;amp;&amp;amp; a&amp;gt;=c)&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; if(b&amp;gt;=c)&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; {&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Descending : %d %d %d\n&quot;,a,b,c);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;\nAscending : %d %d %d&quot;,c,b,a);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; }&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; else&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; {&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Descending : %d %d %d\n&quot;,a,c,b);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;\nAscendiing : %d %d %d&quot;,b,c,a);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; }&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; else if(b&amp;gt;=a &amp;amp;&amp;amp; b&amp;gt;=c)&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; if(a&amp;gt;=c)&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; {&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Descending : %d %d %d\n&quot;,b,a,c);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Ascending : %d %d %d&quot;,c,a,b);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; }&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; else&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; {&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Descending : %d %d %d\n&quot;,b,c,a);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Ascending : %d %d %d&quot;,a,c,b);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; }&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; if(a&amp;gt;=b)&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; {&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Descending : %d %d %d\n&quot;,c,a,b);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Ascending : %d %d %d&quot;,b,a,c);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; }&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; else&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; {&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Descending : %d %d %d\n&quot;,c,b,a);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Ascending :%d %d %d&quot;,a,b,c);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; }&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; getch();&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/b&gt;&lt;/blockquote&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h4&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/b&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/AVvXsEh-oHnNjHBjnj3qlKjjt6tFFVDuomwcJWV5RxfMkPwDCYfatdmiosTVqyH2UtzMAwGu9fIOz8yGyOmnfce60WUYul9ByTOK9TcC2hACRcammu9HnczVCl0oBs7luL4rrscGc8L6Gp6bzCk/s1080/P9_2%25281%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Ascending and descending order values Program in C Language - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-oHnNjHBjnj3qlKjjt6tFFVDuomwcJWV5RxfMkPwDCYfatdmiosTVqyH2UtzMAwGu9fIOz8yGyOmnfce60WUYul9ByTOK9TcC2hACRcammu9HnczVCl0oBs7luL4rrscGc8L6Gp6bzCk/w400-h400/P9_2%25281%2529.png&quot; title=&quot;Ascending and descending order values Program in C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEi0uMQB7Ab_tIUVMFNjGiz2jOsGpqjxaKKL_q12nxs2zcweQls-gOP7oXAXsr-AkH39o3wqaEYvaZVljXDe8WbzRiq5InYMV-4R2GHxsLVOERRWdGzOqsUX9Kkp0UsrZUqReYLv-p9tMns/s1080/P9_2%25282%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Ascending and descending order values Program in C Language - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0uMQB7Ab_tIUVMFNjGiz2jOsGpqjxaKKL_q12nxs2zcweQls-gOP7oXAXsr-AkH39o3wqaEYvaZVljXDe8WbzRiq5InYMV-4R2GHxsLVOERRWdGzOqsUX9Kkp0UsrZUqReYLv-p9tMns/w400-h400/P9_2%25282%2529.png&quot; title=&quot;Ascending and descending order values Program in C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgWvmMHbag_dSNYVjjK95bz9ruHGZqDT7311G7hpZiokTUWleMy1PoEdPfhqdYx-I05Vugwjy1cLehJJxXu61OwXA0cd0P9C_8VW3UkMdVTCtePR-ur6XI8mBpLTuFHDpTczGUKu8CS7VU/s1080/P9_2%25283%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Ascending and descending order values Program in C Language - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWvmMHbag_dSNYVjjK95bz9ruHGZqDT7311G7hpZiokTUWleMy1PoEdPfhqdYx-I05Vugwjy1cLehJJxXu61OwXA0cd0P9C_8VW3UkMdVTCtePR-ur6XI8mBpLTuFHDpTczGUKu8CS7VU/w400-h400/P9_2%25283%2529.png&quot; title=&quot;Ascending and descending order values Program in C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjZPl-bwGaGI3KWyvuwa6W4G8AK2mbYayaQQThLqMlgjvkm7d1Sd06GSDt-AuZC4MaW5P5JXdz33vMTxoLt_mwacgjHc2-ieQx_OMhkRiSRwps1gHl5cV2ffAjRqSLAGpyqLslY5CXDB0w/s1080/P9_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Ascending and descending order values Program output in C Language - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZPl-bwGaGI3KWyvuwa6W4G8AK2mbYayaQQThLqMlgjvkm7d1Sd06GSDt-AuZC4MaW5P5JXdz33vMTxoLt_mwacgjHc2-ieQx_OMhkRiSRwps1gHl5cV2ffAjRqSLAGpyqLslY5CXDB0w/w400-h400/P9_2_1.png&quot; title=&quot;Ascending and descending order values Program output in C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEje0j0uWMZqqGnpL4G0avtDoT3RJj2dqCpZu90Uq_-dZ991zQyp-nNgyV3ZM3PweI-q7LE9AnHx2E8nZvfoNXRQryfx5b8yF7HiEqn-8uprGHK7P2-5fwmMYTRLY60r23PkjTxqm1pTZdM/s1080/P9_2_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Ascending and descending order values Program output in C Language - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje0j0uWMZqqGnpL4G0avtDoT3RJj2dqCpZu90Uq_-dZ991zQyp-nNgyV3ZM3PweI-q7LE9AnHx2E8nZvfoNXRQryfx5b8yF7HiEqn-8uprGHK7P2-5fwmMYTRLY60r23PkjTxqm1pTZdM/w400-h400/P9_2_2.png&quot; title=&quot;Ascending and descending order values Program output in C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhCOTNQTJd2TbLOffcGH6d1ZDvGHpAGsv5zi3nKAPpjll5KB297v71as96ZTBEdGAg66THVnKEx_o-QF_G56VGCjCnFvyxJeLGj1daEHFV7axJPxwhzG9iuwKV8To32XLvPyU6iMwjOkeQ/s1080/P9_2_3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Ascending and descending order values Program output in C Language - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCOTNQTJd2TbLOffcGH6d1ZDvGHpAGsv5zi3nKAPpjll5KB297v71as96ZTBEdGAg66THVnKEx_o-QF_G56VGCjCnFvyxJeLGj1daEHFV7axJPxwhzG9iuwKV8To32XLvPyU6iMwjOkeQ/w400-h400/P9_2_3.png&quot; title=&quot;Ascending and descending order values Program output in C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; color: #656565; font-family: &amp;quot;Source Sans Pro&amp;quot;, sans-serif; font-size: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: 0px 0px; border: 0px; color: #351c75; font-family: Ubuntu; font-size: medium; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Source Sans Pro&amp;quot;, sans-serif&quot; style=&quot;background-color: white; color: #656565; font-size: 15px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1y8G1y6DC6kaeYDLdACCuyrTfIZOjy0P6/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download Program to Click Here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Ascending and Descending order program using C Language Program Download to Click Here....&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/7631474403042655144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/01/swap-values-and-ascending-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/7631474403042655144'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/7631474403042655144'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/01/swap-values-and-ascending-and.html' title='Swap values AND Ascending and Descending Order Program In C Language - Program Code'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQAywH2qypaTyk-CGSnZCa06K7KILjIJFjEmEWwngywQ-kXTthEBttw2l4NwAaiafgJMxCu-s6lulB2ajFPyNiQ8iVLH8gc-sLrLR8vT5haWO36bG57M7hFxd4g2REiMdg1cAM2ZyLMCY/s72-w400-h400-c/P9_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-8265617432204687049</id><published>2021-01-09T12:01:00.006+05:30</published><updated>2021-02-10T10:20:15.086+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="switch statement"/><title type='text'>Days in Week Program AND print addition, substraction, multiplication, Division, modulas using switch Statement in C language  - Program Code</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;1.&amp;nbsp; Write a Program to print Days in Week using Switch Statement . - Program Code&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;2.&amp;nbsp; Write a manu driven program to print addition, substraction ,multiplication, Division ,modulas using switch Statement. - Program Code.&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;b&gt;1.&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;b&gt;Write a Program to print Days in Week using Switch Statement in c program - Program Code.&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;&lt;b&gt;Program Code :-&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;span&gt;&lt;/span&gt;&lt;/b&gt;&lt;blockquote&gt;&lt;b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;/* Write a Program to print Days in&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;Week using Switch Statement&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;int ch;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter your chose :&quot;);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%d&quot;,&amp;amp;ch);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;switch(ch)&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp;case 1:&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Sunday&quot;);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp;case 2:&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Monday&quot;);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp;case 3:&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Tuesday&quot;);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp;case 4:&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Wednesday&quot;);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp;case 5:&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Thursday&quot;);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp;case 6:&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Friday&quot;);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp;case 7:&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Saturday&quot;);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp;default:&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Please! Enter choise between 1 To 7&quot;);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: large;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEgyLVmHf5XzHJmts0cT7TP3F1b4XWZvwnsFRbQFBwVlozOsmjAo1N8WKMN9kqGv9TeywmkkCGXPyuJaabmTRD1oAl5phnJ1qXvPWC3Yfv92FycVrhyphenhyphenaBQeHgQrRjHVjdMRVa8ytuRIbhJE/s1080/P8_1%25281%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Days in Week using Switch Statement in c program - Program Code.&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyLVmHf5XzHJmts0cT7TP3F1b4XWZvwnsFRbQFBwVlozOsmjAo1N8WKMN9kqGv9TeywmkkCGXPyuJaabmTRD1oAl5phnJ1qXvPWC3Yfv92FycVrhyphenhyphenaBQeHgQrRjHVjdMRVa8ytuRIbhJE/w320-h320/P8_1%25281%2529.png&quot; title=&quot;Days in Week using Switch Statement in c program - Program Code.&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&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/AVvXsEj1QfQ5wdJhCH3voKwg2j4folM-T0qMBYRquBvGg3E43hb5hZ5qpwLLJUZys11VA1JJ0l53qBKMQP1Dt_YWVeZm1MPOVOiPCRTRqbzCKHGpFv7vjQXy0GmMrSee6m8YvZv5gXhpHI05INI/s1080/P8_1%25282%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Days in Week using Switch Statement in c program - Program Code.&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1QfQ5wdJhCH3voKwg2j4folM-T0qMBYRquBvGg3E43hb5hZ5qpwLLJUZys11VA1JJ0l53qBKMQP1Dt_YWVeZm1MPOVOiPCRTRqbzCKHGpFv7vjQXy0GmMrSee6m8YvZv5gXhpHI05INI/w320-h320/P8_1%25282%2529.png&quot; title=&quot;Days in Week using Switch Statement in c program - Program Code.&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&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/AVvXsEhBCzJlD44aymq9x0Es5JN4-E2M_9NMugcbrJN8siXLakFAUrPdeDQ4xoivn6kdnrT0sleX6FC7ioWouJVlmQJ2CxaeuiANCDPjps6fGVmO8jXv_BBtZ8KUlvQc_L95qFqMDJz758KAUvA/s1080/P8_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Days in Week using Switch Statement in c program output - Program Code.&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBCzJlD44aymq9x0Es5JN4-E2M_9NMugcbrJN8siXLakFAUrPdeDQ4xoivn6kdnrT0sleX6FC7ioWouJVlmQJ2CxaeuiANCDPjps6fGVmO8jXv_BBtZ8KUlvQc_L95qFqMDJz758KAUvA/w320-h320/P8_1_1.png&quot; title=&quot;Days in Week using Switch Statement in c program - Program Code.&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #351c75; font-family: Ubuntu; font-size: medium;&quot;&gt;Program Code Download :-&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1g9vpW0QFmxZNvc6QARnu5B5rWfO23v9U/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Days in Week using Switch Statement in c program - Program Code Download&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;2.&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;Write a manu driven program to print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&lt;/span&gt;&lt;/b&gt;&lt;/h4&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;Program Code :-&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;blockquote&gt;/* Write a manu driven program to print addition,&lt;br /&gt;&amp;nbsp; &amp;nbsp;substraction,multiplication,Division,modulas&lt;br /&gt;&amp;nbsp; &amp;nbsp;using switch Statement */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; int a,b,ans,ch;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; clrscr();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot; 1- Addition \n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot; 2- Substraction \n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot; 3- Multiplication \n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot; 4- Division \n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot; 5- Modulas \n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Enter your Choise : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;ch);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Enter two number A :&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;a);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Enter two number B :&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;b);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; switch(ch)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; case 1:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; ans = a+b;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Addition =%d&quot;,ans);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; case 2:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; ans = a-b;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Substraction =%d&quot;,ans);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; case 3:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; ans = a*b;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Multiplication =%d&quot;,ans);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; case 4:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; ans = a/b;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Division =%d&quot;,ans);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; case 5:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; ans = a%b;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Modulas =%d&quot;,ans);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; default:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Invalid number\n&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Please ! Enter correct number &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/blockquote&gt;&lt;/h4&gt;&lt;/span&gt;&lt;/h4&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/AVvXsEh5uji_HI4azm2l-HfvqNfJeROcgD02rAGfJf6_QGe25r6yFnHSVWJ04JEVoeK3BSkfBEtC2c0_12ucHqMI8e1aV86PllYnxOucjLb-4QInBcUymbTWf19v6IpJLoGJ5RJro67SV43zAhU/s1080/P8_2%25281%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5uji_HI4azm2l-HfvqNfJeROcgD02rAGfJf6_QGe25r6yFnHSVWJ04JEVoeK3BSkfBEtC2c0_12ucHqMI8e1aV86PllYnxOucjLb-4QInBcUymbTWf19v6IpJLoGJ5RJro67SV43zAhU/w320-h320/P8_2%25281%2529.png&quot; title=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&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/AVvXsEjtYuOC7crzo8OtMkKxNa8FSKboNNHRa-_6QLL9GbaJL-DTXBIE0Wc5LpIIKL9papp0uYekrdBbOV1PUEGjzMurLul-OPb15UbxibWfSE6cjX73J0wGJMrM3KgIlX2awvK6wKMdUoyGxlo/s1080/P8_2%25282%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtYuOC7crzo8OtMkKxNa8FSKboNNHRa-_6QLL9GbaJL-DTXBIE0Wc5LpIIKL9papp0uYekrdBbOV1PUEGjzMurLul-OPb15UbxibWfSE6cjX73J0wGJMrM3KgIlX2awvK6wKMdUoyGxlo/w320-h320/P8_2%25282%2529.png&quot; title=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&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/AVvXsEicKbMJ52WvavwGqpSfy0FjnSF6Oa7Zrf9WY_O0wdPSYvvZAmXPnHqU8wDMeLZhUvHBLat24p_QwFBRZPWk-tl8_p0E_GyGZk5woVKvyZc19jxfGMc4YZ7M2DsgiMWFaaFVnddX6VjT1Mk/s1080/P8_2%25283%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicKbMJ52WvavwGqpSfy0FjnSF6Oa7Zrf9WY_O0wdPSYvvZAmXPnHqU8wDMeLZhUvHBLat24p_QwFBRZPWk-tl8_p0E_GyGZk5woVKvyZc19jxfGMc4YZ7M2DsgiMWFaaFVnddX6VjT1Mk/w320-h320/P8_2%25283%2529.png&quot; title=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&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/AVvXsEhFB_nLdlvKrkVvv7f3RzI1SPytri-sWm7Gd6RV9ylsktlMBFolVMDhUlhNcW5Xkqvl80RN1M4l0LKKo66xDvsDIFAp8tnTYHmDV5s5n36667d1BiBtdnzsMB1Vw7lcuTyWKdpfUYHn7YQ/s1080/P8_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFB_nLdlvKrkVvv7f3RzI1SPytri-sWm7Gd6RV9ylsktlMBFolVMDhUlhNcW5Xkqvl80RN1M4l0LKKo66xDvsDIFAp8tnTYHmDV5s5n36667d1BiBtdnzsMB1Vw7lcuTyWKdpfUYHn7YQ/w320-h320/P8_2_1.png&quot; title=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&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/AVvXsEimczBzoRsaAxJQy4KYf1_YX_5dhWqSInqR0cUgwOolnmJsn9S2TAlASGcweG52V6UOx7qRxHqbVCzaSudoU8JzDvSV9yDf4X20tuntkAcQD4lgL747I7AEWuhNu1f5930N5dP8Ie07JSM/s1080/P8_2_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimczBzoRsaAxJQy4KYf1_YX_5dhWqSInqR0cUgwOolnmJsn9S2TAlASGcweG52V6UOx7qRxHqbVCzaSudoU8JzDvSV9yDf4X20tuntkAcQD4lgL747I7AEWuhNu1f5930N5dP8Ie07JSM/w320-h320/P8_2_2.png&quot; title=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&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/AVvXsEih2A80shNY-ACO_igLkdFR0LOJrg28UAxqXMO16A0fdeLPXMeAmHFpzWnqNjbdjflxjApMHBjRMJxnJiX1VEeQGudI_59Br7vrGX1tBePsVhhwNefDxjxVA7VDCg6yk8e2BUoZmZCRoco/s1080/P8_2_3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih2A80shNY-ACO_igLkdFR0LOJrg28UAxqXMO16A0fdeLPXMeAmHFpzWnqNjbdjflxjApMHBjRMJxnJiX1VEeQGudI_59Br7vrGX1tBePsVhhwNefDxjxVA7VDCg6yk8e2BUoZmZCRoco/w320-h320/P8_2_3.png&quot; title=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&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/AVvXsEioCoikk4iWsWb24Tl2VrVU5jvwZAGiybz60b2aZLB-y1iRSXqVOCWQi-VbNostne_KgaidDKFLFD2Xv5ouwjFQySU85lJwZ79RTWZG_Yu59Cbyswn3tVbIPi9cK9dw0nr2Iv13UxWhT7A/s1080/P8_2_4.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioCoikk4iWsWb24Tl2VrVU5jvwZAGiybz60b2aZLB-y1iRSXqVOCWQi-VbNostne_KgaidDKFLFD2Xv5ouwjFQySU85lJwZ79RTWZG_Yu59Cbyswn3tVbIPi9cK9dw0nr2Iv13UxWhT7A/w320-h320/P8_2_4.png&quot; title=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&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/AVvXsEhgiH8niDKMeVlR9XM1PfCoXbkEVNxfkX4fXSR1irZnLXB9Qv6WxxyfHX3FPFUsiLtxjAL0VCWY6Kdc4nN3di5FKFdWKW05Q-UvI751j0TMijdgQ0j28yDp2dJJzulGYCFihqW7qwCwXO8/s1080/P8_2_5.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgiH8niDKMeVlR9XM1PfCoXbkEVNxfkX4fXSR1irZnLXB9Qv6WxxyfHX3FPFUsiLtxjAL0VCWY6Kdc4nN3di5FKFdWKW05Q-UvI751j0TMijdgQ0j28yDp2dJJzulGYCFihqW7qwCwXO8/w320-h320/P8_2_5.png&quot; title=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;color: #351c75; font-family: Ubuntu; font-size: medium;&quot;&gt;&lt;b&gt;Program Code Download :-&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: verdana; font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1A6dOJ_F7bS5jxiPjGIstdnSsjeMLT777/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download to click here....&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;print addition, substraction, multiplication, Division, modulas using switch Statement in c Program. - Program Code Download&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/8265617432204687049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2021/01/write-program-to-print-days-in-week-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/8265617432204687049'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/8265617432204687049'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2021/01/write-program-to-print-days-in-week-and.html' title='Days in Week Program AND print addition, substraction, multiplication, Division, modulas using switch Statement in C language  - Program Code'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyLVmHf5XzHJmts0cT7TP3F1b4XWZvwnsFRbQFBwVlozOsmjAo1N8WKMN9kqGv9TeywmkkCGXPyuJaabmTRD1oAl5phnJ1qXvPWC3Yfv92FycVrhyphenhyphenaBQeHgQrRjHVjdMRVa8ytuRIbhJE/s72-w320-h320-c/P8_1%25281%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-6915029363539981956</id><published>2020-12-23T18:05:00.010+05:30</published><updated>2021-02-10T10:16:17.805+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><title type='text'>Number is Even or odd in C ,  Year is leap year or not in C Language.  you can give vote program in c - Program code </title><content type='html'>&lt;h3 style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;&lt;b&gt;&lt;span&gt;&lt;span&gt;1. Write a Program to Take input from user print number is even or odd in C program .&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span&gt;2. Write a Program to Take input from user print year is leap year or not in C program .&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;3. write a Program To take input from user identify you can give a vote or not&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;if your age under 18 to print your age under 18 in c program.&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000; font-family: inherit; font-size: large;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;h4 style=&quot;font-weight: 700; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&lt;b style=&quot;color: #990000;&quot;&gt;1.&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span&gt;Write a Program to Take input from user print number is even or odd in C program. - Program code.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: large;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;b&gt;&lt;div style=&quot;color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program To take input from user&lt;br /&gt;&amp;nbsp; &amp;nbsp;print number is even or odd */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;int n;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the number n :&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if(n%2)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;%d is even&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;%d is odd&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;&lt;/blockquote&gt;&lt;div style=&quot;color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;PROGRAM :-&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEhsJAnZ8JrVNCDzjKhVaDAIsLKZMjvnuLyMUE0ycZidTHNXBWhm5gEl9lIH7CMw9sD5lW7EaGlzwkoFM2Jbm9WN8yeowkaZc2ThUvjf4oBY4Ti5veiJw312bQkoaE-CxOiCzy1ezSbYcjU/s1080/P7_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;number is even or odd in C Language program . - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsJAnZ8JrVNCDzjKhVaDAIsLKZMjvnuLyMUE0ycZidTHNXBWhm5gEl9lIH7CMw9sD5lW7EaGlzwkoFM2Jbm9WN8yeowkaZc2ThUvjf4oBY4Ti5veiJw312bQkoaE-CxOiCzy1ezSbYcjU/w400-h400/P7_1.png&quot; title=&quot;number is even or odd in C Language program . - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;OUTPUT :-&lt;/b&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&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/AVvXsEgIVzHnAbC3NAAg6EitXE6F5kTuiOLvgPFvpJSHXVAQc1WuyduSglh-gdFJCHhn-ZlbIE5Rj6hffrWxM9WSvF8X8CN_PcfpODCBOYCxcL7t_yhc5ZtiG1-Aazc56DsYR_4fMVfDdjtimYk/s1080/P7_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;number is even or odd in C Language program output - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIVzHnAbC3NAAg6EitXE6F5kTuiOLvgPFvpJSHXVAQc1WuyduSglh-gdFJCHhn-ZlbIE5Rj6hffrWxM9WSvF8X8CN_PcfpODCBOYCxcL7t_yhc5ZtiG1-Aazc56DsYR_4fMVfDdjtimYk/w400-h400/P7_1_1.png&quot; title=&quot;number is even or odd in C Language program . - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhqKP8T2qvCASpqfRazNPwYJSaP1KZlyxrM7q1sBPlEeBlNxfb5VLJFD4ekDV1z3nBu7q4-Y7f2hVSePbOTTOHI1HXNK_dsew6hAVqu10BQ_RwDF7pkOONlhcmlSgqdnx3OtBRS4otgmLQ/s1080/P7_1_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;number is even or odd in C Language program output - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqKP8T2qvCASpqfRazNPwYJSaP1KZlyxrM7q1sBPlEeBlNxfb5VLJFD4ekDV1z3nBu7q4-Y7f2hVSePbOTTOHI1HXNK_dsew6hAVqu10BQ_RwDF7pkOONlhcmlSgqdnx3OtBRS4otgmLQ/w400-h400/P7_1_2.png&quot; title=&quot;number is even or odd in C Language program  - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Source code -&amp;nbsp;&lt;/b&gt;&lt;b&gt;Download Program code&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1u8-dyb-dGi9b7PPv4N8eRr7TukW4UiiY/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Download button - Program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;2.&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;Write a Program to Take input from user print year is leap year or not in C program - Program code&lt;span style=&quot;font-size: large;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h4&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: large;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;b&gt;&lt;div style=&quot;color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a program to take input from&lt;br /&gt;&amp;nbsp; &amp;nbsp;user print year is leap year or not&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;int y;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Entr year :&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%d&quot;,&amp;amp;y);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if(y%4==0)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;%d year is leap year&quot;,y);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;%d year is not leap year&quot;,y);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/h4&gt;&lt;/blockquote&gt;&lt;div style=&quot;color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b style=&quot;color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;PROGRAM :-&lt;/b&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/AVvXsEhq31T1PG_L7RKQK28iv2ZjYcC50E0C2h1HZG_GiNH3H5XsO7mukI2jgS1kI8a9veAW0NfJRxa0gArRVl2NulW76GnHRgbIz6EztihkO5bJEdc0Owd5wkP1qCarlTUo34pf-PJkMWFj8aI/s1080/P7_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;year is leap year or not in C Language program . - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq31T1PG_L7RKQK28iv2ZjYcC50E0C2h1HZG_GiNH3H5XsO7mukI2jgS1kI8a9veAW0NfJRxa0gArRVl2NulW76GnHRgbIz6EztihkO5bJEdc0Owd5wkP1qCarlTUo34pf-PJkMWFj8aI/w400-h400/P7_2.png&quot; title=&quot;year is leap year or not in C Language program . - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;OUTPUT :-&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&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/AVvXsEichXn-MP8yVz-O1Hre0uRTWwAU2SDP37h5BKwhR7tjiMIEh9UmwN3JhbibkT4DtXcNKvtYeQlwSJyq0rE9xDavNpmyXksTHhc35AVVzRkogNHp-UDV_-o5Hf_L1aBzwJ8H-o2qvkppA3M/s1080/P7_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;year is leap year or not in C Language  Program output .- Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEichXn-MP8yVz-O1Hre0uRTWwAU2SDP37h5BKwhR7tjiMIEh9UmwN3JhbibkT4DtXcNKvtYeQlwSJyq0rE9xDavNpmyXksTHhc35AVVzRkogNHp-UDV_-o5Hf_L1aBzwJ8H-o2qvkppA3M/w400-h400/P7_2_1.png&quot; title=&quot;year is leap year or not in C Language program . - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&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/AVvXsEgyDKLjmkbA_oh9suQGDy32U0rM0knKNZCLJValxMNlA5TXflFvSbeEi3m3ivJad0E03pzhyxjNeULolpSXF4cL620ymoTAnmWXlOfB_DFxIttBkgIbgFEeqW4V-4oVaPDuhm8OiyzUcR8/s1080/P7_2_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;year is leap year or not in C Language program output . - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyDKLjmkbA_oh9suQGDy32U0rM0knKNZCLJValxMNlA5TXflFvSbeEi3m3ivJad0E03pzhyxjNeULolpSXF4cL620ymoTAnmWXlOfB_DFxIttBkgIbgFEeqW4V-4oVaPDuhm8OiyzUcR8/w400-h400/P7_2_2.png&quot; title=&quot;year is leap year or not in C Language Program . - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Source code -&amp;nbsp;&lt;/b&gt;&lt;b&gt;Download Program code&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1_DR7Y_bvFPRTZoPVvoNYPYjAENkhjzet/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Download button - Program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;h4 style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;3.&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;&lt;span&gt;write a Program To take input from user identify you can give a vote or not&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;color: #990000;&quot;&gt;if your age under 18 to print your age under 18 in c program. - Program code .&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: large;&quot;&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;/div&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span&gt;&lt;span&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div style=&quot;clear: both; color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;h4 style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Program to identify you can give a vote or not.&lt;br /&gt;&amp;nbsp; &amp;nbsp;if your are under 18 to print you age under 18 */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;int age;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter your age : &quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%d&quot;,&amp;amp;age);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if(age&amp;lt;18 &amp;amp;&amp;amp; age&amp;gt;=0){&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;Your age under 18\n&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;please apply after 18 year&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else if(age&amp;lt;0 || age&amp;gt;130){&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;Your age incorrect \n&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;Please enter correct age&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;You can give vote&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/h4&gt;&lt;/blockquote&gt;&lt;div style=&quot;clear: both; color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;PROGRAM&amp;nbsp;&lt;/span&gt;:-&lt;/span&gt;&lt;/b&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEiHuIts8n3Tx16TfrJXQ29KxoCi0AnUb2NQpItQ3ErkJT6N7mEEdt7aXqKQq67fe02am2wQ9YIzcCBpcIIJs3lhmSbqK8ByrAxHyOY8ZhFYp8CMLFTk6K0nHbJ7NgJateW1OkoHnkBmHy8/s1080/P7_3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHuIts8n3Tx16TfrJXQ29KxoCi0AnUb2NQpItQ3ErkJT6N7mEEdt7aXqKQq67fe02am2wQ9YIzcCBpcIIJs3lhmSbqK8ByrAxHyOY8ZhFYp8CMLFTk6K0nHbJ7NgJateW1OkoHnkBmHy8/w400-h400/P7_3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;OUTPUT :-&lt;/b&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&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/AVvXsEiwlKfTS6zIx2pT3zSmqghZI9CJQq1xXqft4ii1bLnqfk9DMpp_uKJtf6zNXoCVkCL-YjZnOulEz4dDN2XuWOF5l48enn7WegND7ozlxFb5ER9PyWByMWbeZAJOJlKJbjR6CPwSD4fQ7DU/s1080/P7_3_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;dentify you can give a vote or not in c Program output - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwlKfTS6zIx2pT3zSmqghZI9CJQq1xXqft4ii1bLnqfk9DMpp_uKJtf6zNXoCVkCL-YjZnOulEz4dDN2XuWOF5l48enn7WegND7ozlxFb5ER9PyWByMWbeZAJOJlKJbjR6CPwSD4fQ7DU/w400-h400/P7_3_1.png&quot; title=&quot;dentify you can give a vote or not in c Program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhc5X_Whljq2fTNz-ZObQ3ZO7t7akNU4ssHFAxNVa-R0Fw2JyjvFnFydYDSKMqtjzMbPOCQ9FEh9XiRykYxm8k5IbeTrLjmxI_NUxO8PQosCqbkDzcupWgRiNA2NhqFAIwN5KRKx8Ryyfg/s1080/P7_3_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;dentify you can give a vote or not in c Program output - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc5X_Whljq2fTNz-ZObQ3ZO7t7akNU4ssHFAxNVa-R0Fw2JyjvFnFydYDSKMqtjzMbPOCQ9FEh9XiRykYxm8k5IbeTrLjmxI_NUxO8PQosCqbkDzcupWgRiNA2NhqFAIwN5KRKx8Ryyfg/w400-h400/P7_3_2.png&quot; title=&quot;dentify you can give a vote or not in c Program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjot9gVIm4EkZ2Iradtqs-GdOVftCODipmS6AXo89cLsuea-oB03itU7waVg2hAIuOaqAnqCE5GRtKnapsNa-US37T6gOJleFTsr2N2u2SrUEeZqVWw4Odlv7So_-T19Ga2YuH8u9D2Cyg/s1080/P7_3_3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;dentify you can give a vote or not in c Program output - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjot9gVIm4EkZ2Iradtqs-GdOVftCODipmS6AXo89cLsuea-oB03itU7waVg2hAIuOaqAnqCE5GRtKnapsNa-US37T6gOJleFTsr2N2u2SrUEeZqVWw4Odlv7So_-T19Ga2YuH8u9D2Cyg/w400-h400/P7_3_3.png&quot; title=&quot;dentify you can give a vote or not in c Program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhZgZ_462FDLKMchuKRrZ2YIucQrBIalZt14IfYiTiJYsCB1SR15PBmP-BphjWApaEdb4lkeJQI4p8ypZtEWr3wwsgbT8Jq0QLorqxBQH5U-AVIl3DtKnpPziRF8wvUUdDK1Dz6xbdz23w/s1080/P7_3_4.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;dentify you can give a vote or not in c Program output - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZgZ_462FDLKMchuKRrZ2YIucQrBIalZt14IfYiTiJYsCB1SR15PBmP-BphjWApaEdb4lkeJQI4p8ypZtEWr3wwsgbT8Jq0QLorqxBQH5U-AVIl3DtKnpPziRF8wvUUdDK1Dz6xbdz23w/w400-h400/P7_3_4.png&quot; title=&quot;dentify you can give a vote or not in c Program - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;color: #800180; font-family: Ubuntu; font-size: medium;&quot;&gt;&lt;b&gt;Source code - Download Program code&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1_CQqeRvpYGtWX0QZMOIP-5kW9W5ew2S-/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Download button - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/6915029363539981956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2020/12/number-is-even-or-odd-in-c-year-is-leap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/6915029363539981956'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/6915029363539981956'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2020/12/number-is-even-or-odd-in-c-year-is-leap.html' title='Number is Even or odd in C ,  Year is leap year or not in C Language.  you can give vote program in c - Program code '/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsJAnZ8JrVNCDzjKhVaDAIsLKZMjvnuLyMUE0ycZidTHNXBWhm5gEl9lIH7CMw9sD5lW7EaGlzwkoFM2Jbm9WN8yeowkaZc2ThUvjf4oBY4Ti5veiJw312bQkoaE-CxOiCzy1ezSbYcjU/s72-w400-h400-c/P7_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-9036756051729187506</id><published>2020-12-21T18:17:00.004+05:30</published><updated>2021-01-12T12:09:25.686+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><category scheme="http://www.blogger.com/atom/ns#" term="switch statement"/><title type='text'>Switch Statement and Break Statement in C Language </title><content type='html'>&lt;span id=&quot;docs-internal-guid-96b03f69-7fff-19b0-73c6-65582164b097&quot;&gt;&lt;ul style=&quot;margin-bottom: 0; margin-top: 0;&quot;&gt;&lt;li dir=&quot;ltr&quot; style=&quot;color: #1f3864; font-family: Bahnschrift; font-size: 20pt; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 700; list-style-type: disc; margin-left: -13.5pt; vertical-align: baseline; white-space: pre;&quot;&gt;&lt;p dir=&quot;ltr&quot; role=&quot;presentation&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-size: 20pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;switch Statement –&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #1f3864; font-family: Bahnschrift; font-size: 20pt; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;‘C’ language provides a switch statement. In a complex problem, if many alternative values are available, then writing the code using multiple if…else becomes lengthy and also difficult to manage. At that time switch statement which is a multi-way decision statement is handy, because management of code becomes easy.&lt;/span&gt;&lt;span style=&quot;color: #1f3864; font-family: Bahnschrift; font-size: 20pt; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&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/AVvXsEieXj5baVVXMvr_Q4zFk6n10UhtkEbFxw8oWkUCnYH4E8k1YRg__E1RNagwZ3rn5zs6A_O2JevVOjRNZGeDNKmckSvmTLjg5RUZi2r9DvL0iA5US_qQ3B0ffPov7BtTNjJFSTI_Y3R3CXI/s1247/switch-case-in-java.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Switch Statements in C&quot; border=&quot;0&quot; data-original-height=&quot;1247&quot; data-original-width=&quot;1020&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieXj5baVVXMvr_Q4zFk6n10UhtkEbFxw8oWkUCnYH4E8k1YRg__E1RNagwZ3rn5zs6A_O2JevVOjRNZGeDNKmckSvmTLjg5RUZi2r9DvL0iA5US_qQ3B0ffPov7BtTNjJFSTI_Y3R3CXI/w328-h400/switch-case-in-java.png&quot; title=&quot;Switch Statements in C programing Language - PRogram Code&quot; width=&quot;328&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 8pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #1f3864; font-family: Bahnschrift; font-size: 20pt; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 700; text-decoration-line: underline; text-decoration-skip-ink: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The Flow chart of if-else statement is –&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #1f3864; font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;switch (variable name or expression)&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case 1:&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&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;statement(s)1;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&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;break;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case 2:&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&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;statement(s)2;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&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;break;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case N:&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&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;statement(s) N;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&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;break;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;default:&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 0pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&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;&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;Default-Statement(s);&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 8pt; margin-left: 22.5pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 8pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Here, statement(s)1 will be executed if the value of expression is case 1, similarly statement(s)2 will be executed if the value of expression is case 2. If the value of expression does not match any values from case 1 to case N, then the default-statement are executed.&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.295; margin-bottom: 8pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;It is to be noted that writing the default value and its corresponding default-statement is optional. &lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The value of expression written after switch statement must be either character or integer value.&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span id=&quot;docs-internal-guid-d45f0ec3-7fff-8d46-b441-db63ad35a3bb&quot;&gt;&lt;ul style=&quot;font-family: Arial; font-size: 14pt; font-weight: normal; margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;li dir=&quot;ltr&quot; style=&quot;color: #1f3864; font-family: Bahnschrift; font-size: 20pt; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 700; list-style-type: disc; margin-left: -13.5pt; vertical-align: baseline; white-space: pre;&quot;&gt;&lt;p dir=&quot;ltr&quot; role=&quot;presentation&quot; style=&quot;line-height: 1.295; margin-bottom: 8pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-size: 20pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;break Statement –&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span style=&quot;color: #1f3864; font-family: Bahnschrift;&quot;&gt;&lt;span style=&quot;font-size: 26.6667px;&quot;&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/AVvXsEj2xI33iiyo2NehbtI8fJRQsuKO1HR7zAURYGRwxI6xxxbrCrjt0Hzlkq7Faog1YUy9UVd1rTwZWD5jwK0JESinrxdY1kBEtfAyf6Y872I1SVUB-F_-hyzMoGrJJG_tesr88WkNiukNlb8/s331/cpp_break_statement.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Break Statement In c&quot; border=&quot;0&quot; data-original-height=&quot;331&quot; data-original-width=&quot;285&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2xI33iiyo2NehbtI8fJRQsuKO1HR7zAURYGRwxI6xxxbrCrjt0Hzlkq7Faog1YUy9UVd1rTwZWD5jwK0JESinrxdY1kBEtfAyf6Y872I1SVUB-F_-hyzMoGrJJG_tesr88WkNiukNlb8/w345-h400/cpp_break_statement.jpg&quot; title=&quot;Break Statement In c language - Program Code&quot; width=&quot;345&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 14pt; font-weight: normal; line-height: 1.295; margin-bottom: 8pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 700; vertical-align: baseline;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline;&quot;&gt;We have used the break statement in switch statement. It causes an exit from the switch body. If it is not written after each case statement, then control passes to the next statement, so remaining statements of next case will also execute even if the case value do not match and the program will not function properly.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul style=&quot;font-family: Arial; font-size: 14pt; font-weight: normal; margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;li dir=&quot;ltr&quot; style=&quot;color: #1f3864; font-family: Bahnschrift; font-size: 20pt; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 700; list-style-type: disc; margin-left: -13.5pt; vertical-align: baseline; white-space: pre;&quot;&gt;&lt;p dir=&quot;ltr&quot; role=&quot;presentation&quot; style=&quot;line-height: 1.295; margin-bottom: 8pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-size: 20pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;default Statement –&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 14pt; font-weight: normal; line-height: 1.295; margin-bottom: 8pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline;&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;This statement is also used in switch statement. It is optional, but if it is used, then the statements written in the part get executed if any of the previous case values do not match. Normally, the default keyword is used in switch statement and written after all the cases.&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/9036756051729187506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2020/12/switch-statement-and-break-statement-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/9036756051729187506'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/9036756051729187506'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2020/12/switch-statement-and-break-statement-in.html' title='Switch Statement and Break Statement in C Language '/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieXj5baVVXMvr_Q4zFk6n10UhtkEbFxw8oWkUCnYH4E8k1YRg__E1RNagwZ3rn5zs6A_O2JevVOjRNZGeDNKmckSvmTLjg5RUZi2r9DvL0iA5US_qQ3B0ffPov7BtTNjJFSTI_Y3R3CXI/s72-w328-h400-c/switch-case-in-java.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-1143985721451341069</id><published>2020-12-19T16:37:00.005+05:30</published><updated>2021-01-12T12:09:38.136+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Condition Statement"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><title type='text'>Condition Statement in C </title><content type='html'>&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 22pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;DECISION MAKING STRUCTURES&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;‘C’ language provides different control structures for
decision making- like if statement, if….else statement, else-if-ladder.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-family: Wingdings; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Wingdings; mso-bidi-font-weight: bold; mso-fareast-font-family: Wingdings; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;If statement – &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;This is the simplest statement which checks a
condition. If the condition is true then the statement are executed, otherwise
they are not executed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b&gt;&lt;u&gt;The syntax of if statement is -&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If(condition) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;&amp;nbsp; &lt;/span&gt;Statement(s) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoN2FES4J_1FwxCAYUs3xIzIN5saRzpFy6B0QnfraZyWElj52Va8l2PXFCawrom2dD-h-Dj9QJVnXnr5_93U3WOs5say8tnaWg85ofSG5lgEJXAAEez1JlDsz7_-TPeeZMIoKrgj2ztEk/s1024/20201216_174428.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;If Condition in C&quot; border=&quot;0&quot; data-original-height=&quot;682&quot; data-original-width=&quot;1024&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoN2FES4J_1FwxCAYUs3xIzIN5saRzpFy6B0QnfraZyWElj52Va8l2PXFCawrom2dD-h-Dj9QJVnXnr5_93U3WOs5say8tnaWg85ofSG5lgEJXAAEez1JlDsz7_-TPeeZMIoKrgj2ztEk/w400-h266/20201216_174428.jpg&quot; title=&quot;If Condition in C - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;If there are more
than one statement to be executed then they are put within { } symbols.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-family: Wingdings; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Wingdings; mso-bidi-font-weight: bold; mso-fareast-font-family: Wingdings; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;If…else Statement – &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;In certain cases, we
want to execute one set of statement, if condition is satisfied, and other set
of statements if condition is false. In that case we can use if…else statement.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicUEcjCJoK2qBJ-07IdqUSMiFa8DolbMxNbfac5U25AD7jrWeJ3foldLKkIjIbMJgFFNIg1P5pCvrL0NTZkdHPrH0zX0CnP5jBvbBK5GWFKNS8Ma7XpkP38w2uqS2jQ1hLVteE6weWqSY/s1024/20201216_174544.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;If else condition in c&quot; border=&quot;0&quot; data-original-height=&quot;790&quot; data-original-width=&quot;1024&quot; height=&quot;309&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicUEcjCJoK2qBJ-07IdqUSMiFa8DolbMxNbfac5U25AD7jrWeJ3foldLKkIjIbMJgFFNIg1P5pCvrL0NTZkdHPrH0zX0CnP5jBvbBK5GWFKNS8Ma7XpkP38w2uqS2jQ1hLVteE6weWqSY/w400-h309/20201216_174544.jpg&quot; title=&quot;If else condition in C - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;The syntax of if statement is -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If(condition)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;/span&gt;Statement(s)1 ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;/span&gt;Statement(s)2 ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If condition is TRUE, then
statement(s)1 are executed, otherwise statement(s)2 are executed.&lt;/span&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-family: Symbol; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;For Example –&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;void
main()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Int a,b;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;clrscr();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;scanf(“%d”,&amp;amp;a);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;scanf(“%d”,&amp;amp;b);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if(a &amp;gt; b)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;printf(“a is greater than
b”);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;
&lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;printf(“b is greater than a”);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;
&lt;/span&gt;getch();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-family: Wingdings; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Wingdings; mso-bidi-font-weight: bold; mso-fareast-font-family: Wingdings; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;Nested if Statement – &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;For complex problems
we need to check more than one condition. The if statement can be used inside
another if statement. This type of use of if statement is called as nested if
statement. The nesting can be up to any level.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-family: Symbol; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-size: 16pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;For Example –&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;#include&amp;lt;stdio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;void
main()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;int a,b,c;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;clrscr();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;scanf(“%d”,&amp;amp;a);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;scanf(“%d”,&amp;amp;b);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;scanf(“%d”,&amp;amp;c);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if(a &amp;gt; b)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if(a &amp;gt; c)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;/span&gt;printf(“a is
greater than b and c”);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;/span&gt;printf(“c is
greater than a and b”);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin-left: 0.25in; mso-add-space: auto;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;
&lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;if(b &amp;gt; c)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;printf(“b is
greater than c”);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;{ &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;&amp;nbsp;&amp;nbsp; &lt;/span&gt;printf(“a is
greater than b”);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;
&lt;/span&gt;getch();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-left: 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-family: Wingdings; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Wingdings; mso-bidi-font-weight: bold; mso-fareast-font-family: Wingdings; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;Ø&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;If…else…if Ladder (Multiple if…else) Statement – &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 22.5pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Bahnschrift&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-size: 20pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: #1f3864; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: accent1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;The two-way decision provided by if…else
statement is not sufficient when we are having many choice, ‘C’ language
provides a multiple if…else statement for that purpose.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin-left: 22.5pt; mso-add-space: auto; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&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/AVvXsEgKsXEnTBRlmEnPIJ76Va41P-9bYxjRoRJxDeNTK7cAxtWtjer3b3R8g_-4FuRcHqMTAr2L1O2xbvIhoXGGcSTvqUed672PF8pX7d5mTdAabVlx6FzclR8RihP_RzQrLWp20DMj9mprJSQ/s1024/20201216_174646.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;else if Statement in C&quot; border=&quot;0&quot; data-original-height=&quot;698&quot; data-original-width=&quot;1024&quot; height=&quot;272&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKsXEnTBRlmEnPIJ76Va41P-9bYxjRoRJxDeNTK7cAxtWtjer3b3R8g_-4FuRcHqMTAr2L1O2xbvIhoXGGcSTvqUed672PF8pX7d5mTdAabVlx6FzclR8RihP_RzQrLWp20DMj9mprJSQ/w400-h272/20201216_174646.jpg&quot; title=&quot;else is Statement In c language _ Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;&quot;&gt;The syntax of if-else-ladder is –&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if(condition1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;/span&gt;Statement(s)1
;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else
if(condition2) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;/span&gt;Statement(s)2 ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else
if(condition N) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;/span&gt;Statement(s)N ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Default_statement(s);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;From the syntax, it is very clear that
only set of statement(s) will be executed, depending on the condition being
TRUE.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/1143985721451341069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2020/12/condition-statement-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/1143985721451341069'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/1143985721451341069'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2020/12/condition-statement-in-c.html' title='Condition Statement in C '/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoN2FES4J_1FwxCAYUs3xIzIN5saRzpFy6B0QnfraZyWElj52Va8l2PXFCawrom2dD-h-Dj9QJVnXnr5_93U3WOs5say8tnaWg85ofSG5lgEJXAAEez1JlDsz7_-TPeeZMIoKrgj2ztEk/s72-w400-h266-c/20201216_174428.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-2683286807400800534</id><published>2020-12-19T16:33:00.006+05:30</published><updated>2021-02-10T10:09:07.108+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><category scheme="http://www.blogger.com/atom/ns#" term="if condition"/><title type='text'>maximum value of two number Program  AND number is Positive , Negative or Zero program</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;&lt;b&gt;&lt;span&gt;&lt;span&gt;1. Write a Program to Take input from user Print&amp;nbsp;&lt;/span&gt;&lt;span&gt;maximum value of two number c program&amp;nbsp;&lt;/span&gt;&lt;span&gt;.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;&lt;span&gt;2.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;write a Program To take input from user print&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-weight: 700;&quot;&gt;number is&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;number is Positive , Negative or Zero program c program .&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&lt;b style=&quot;color: #990000;&quot;&gt;1.&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span&gt;Write a Program to Take input from user Print&amp;nbsp;&lt;/span&gt;&lt;span&gt;maximum value of two number c program - Program Code&amp;nbsp;&lt;/span&gt;&lt;span&gt;.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: large;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;b&gt;&lt;div style=&quot;color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a program to take input from&lt;br /&gt;&amp;nbsp; &amp;nbsp;user print maximum value of two number */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;int a,b;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the value of a :&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%d&quot;,&amp;amp;a);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the value of b :&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%d&quot;,&amp;amp;b);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if(a&amp;gt;b)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;%d is Maximum&quot;,a);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else if(a==b)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;Two Number are Equal&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;%d is Maximum&quot;,b);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;&lt;/blockquote&gt;&lt;div style=&quot;color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b style=&quot;color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;PROGRAM :-&lt;/span&gt;&lt;/b&gt;&lt;/h4&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEiYnpIWq3pzTgCfJ5pdnS_UU8L09HHenf0gYu6beb-VxNKaLg1TyloMLqqkFF7RXWM6C20vdB8vgEs410uChGNj8xPtjMNCwtzvPdsn9OJTVYvMwzw9CA6DhLznP2hgOZrkCIyMW1RDoSo/s1080/P6_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;maximum value of two number&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYnpIWq3pzTgCfJ5pdnS_UU8L09HHenf0gYu6beb-VxNKaLg1TyloMLqqkFF7RXWM6C20vdB8vgEs410uChGNj8xPtjMNCwtzvPdsn9OJTVYvMwzw9CA6DhLznP2hgOZrkCIyMW1RDoSo/w400-h400/P6_1.png&quot; title=&quot;maximum value of two number  Program  Using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-size: medium;&quot;&gt;&lt;b&gt;OUTPUT :-&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&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/AVvXsEjH-PKFfJgYtIlTA8jsTdSth_PyCT0Tf_R80xH0owDXWjnj9p1cSvyv2eyOsPtP-gy5ZyKe0FWVUHsxEGk2gDGsXBsZz6Q5qXX48OfYGwEvzLwkS16snLqN-Rb7lrQNXgYbS9OoYSaJsKI/s1080/P6_1_3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;maximum value of two number  Program output&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH-PKFfJgYtIlTA8jsTdSth_PyCT0Tf_R80xH0owDXWjnj9p1cSvyv2eyOsPtP-gy5ZyKe0FWVUHsxEGk2gDGsXBsZz6Q5qXX48OfYGwEvzLwkS16snLqN-Rb7lrQNXgYbS9OoYSaJsKI/w400-h400/P6_1_3.png&quot; title=&quot;maximum value of two number  Program using C language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&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/AVvXsEh73ZHsAx2OTI5tM7eAzBpU3HophKtOn5NjdrVqz33iEWHv0V5XqADCXJX3I39lockiG0DxlU7arlNBhiWgrw0gj_J6dbrfGwWpYHkgXOB_F5R7Puj5orG6PJDLwrS-ckRHskCwQw0qIcQ/s1080/P6_1_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;maximum value of two number Program output&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh73ZHsAx2OTI5tM7eAzBpU3HophKtOn5NjdrVqz33iEWHv0V5XqADCXJX3I39lockiG0DxlU7arlNBhiWgrw0gj_J6dbrfGwWpYHkgXOB_F5R7Puj5orG6PJDLwrS-ckRHskCwQw0qIcQ/w400-h400/P6_1_2.png&quot; title=&quot;maximum value of two number Program Using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjxxELJ0c62JG9YlM5UfYPg46tE6v_Hi4iBcSeAvtoIOab4BjidxkLA6aGL_4jBf52qaTJKRd0r2eW081ZeUSY3zk4WMe3svi7nkcVKqzfOlaEhZsQJNjpE5dgAFzq9GXtzseh9jE8-jXo/s1080/P6_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;maximum value of two number Program output&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxxELJ0c62JG9YlM5UfYPg46tE6v_Hi4iBcSeAvtoIOab4BjidxkLA6aGL_4jBf52qaTJKRd0r2eW081ZeUSY3zk4WMe3svi7nkcVKqzfOlaEhZsQJNjpE5dgAFzq9GXtzseh9jE8-jXo/w400-h400/P6_1_1.png&quot; title=&quot;maximum value of two number program using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Download Program source code &lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1qDU9QXcLJBwGtNyyocPoZDwLurdGF2J1/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Download button - Program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;h3 style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;2.&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;&lt;span&gt;write a Program To take input from user print&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-weight: 700;&quot;&gt;number is&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;number is Positive , Negative or Zero program c program - Program code .&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: large;&quot;&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;/div&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span&gt;&lt;span&gt;&lt;div style=&quot;clear: both; color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;h4 style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;/* Write a Program to take input from&lt;br /&gt;&amp;nbsp; &amp;nbsp;user print number is Positive,Negative or Zero */&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;int n;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the number :&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if(n&amp;gt;0)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;Number is Positive&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else if(n&amp;lt;0)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;Number is Negative&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&quot;Number is Zero&quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/h4&gt;&lt;/blockquote&gt;&lt;div style=&quot;clear: both; color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #351c75; font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;PROGRAM&amp;nbsp;&lt;/span&gt;:-&lt;/span&gt;&lt;/b&gt;&lt;/h4&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&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/AVvXsEjfRwJVpjJqpY_hUqOM4T6Lgn505J6ybucjfle3qTkpNuuYLFXZKbFiyTqqskPPzzWi8gBt-RbT2oUofQBFzieMS7KRE8Wd0rZFKtWIUN2kGvrqzAh87viZuzTyGdqiDoIsI98DDvX0fVo/s1080/P6_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;number is Positive,Negative or Zero program&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfRwJVpjJqpY_hUqOM4T6Lgn505J6ybucjfle3qTkpNuuYLFXZKbFiyTqqskPPzzWi8gBt-RbT2oUofQBFzieMS7KRE8Wd0rZFKtWIUN2kGvrqzAh87viZuzTyGdqiDoIsI98DDvX0fVo/w400-h400/P6_2.png&quot; title=&quot;number is Positive,Negative or Zero program  using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-size: medium;&quot;&gt;&lt;b&gt;OUTPUT :-&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&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/AVvXsEhLJ6x1UAe9dPIuBi-UVaxmknIe2AARAlTfqqQGBS26Xdt6q6h-CGx7saPrOoxxXEgpOMx1iHYc59H15I6bzML5r25-xMqJVGvzR4rhZXaA4FGpqevYkRNv_VcB91Sh2P8OKUC64HGRP3U/s1080/P6_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;number is Positive,Negative or Zero program output&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLJ6x1UAe9dPIuBi-UVaxmknIe2AARAlTfqqQGBS26Xdt6q6h-CGx7saPrOoxxXEgpOMx1iHYc59H15I6bzML5r25-xMqJVGvzR4rhZXaA4FGpqevYkRNv_VcB91Sh2P8OKUC64HGRP3U/w400-h400/P6_2_1.png&quot; title=&quot;number is Positive,Negative or Zero program using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&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/AVvXsEiqKg2DJrr9w_C0pj1OXycO77coWe1w6uFyt0VTfRr6f0HnwgEcsMVBngEmef7SGpESrmjGEC7UBCe-tNvFr1CNDgEoNjCBo8fendUYuqrCis3T1R1_2LUBt1SGsSr5Ue4eSuF7Zs8WB_I/s1080/P6_2_3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;number is Positive,Negative or Zero program  output&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqKg2DJrr9w_C0pj1OXycO77coWe1w6uFyt0VTfRr6f0HnwgEcsMVBngEmef7SGpESrmjGEC7UBCe-tNvFr1CNDgEoNjCBo8fendUYuqrCis3T1R1_2LUBt1SGsSr5Ue4eSuF7Zs8WB_I/w400-h400/P6_2_3.png&quot; title=&quot;number is Positive,Negative or Zero program using C language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&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/AVvXsEj7NgioLtIQghDt-T-I3yRaWNAvrg0G3Bn7fozsgEvz-RINgeRT1Ws_i4qCp2aYyEQin5dwvVlBrDswOuWqZcUchbkjqNKSRWua5b-iBfxkTWhiHqACZOA5gWC7q2z6fG8zm50ppl5_qTw/s1080/P6_2_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;number is Positive,Negative or Zero program  output&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7NgioLtIQghDt-T-I3yRaWNAvrg0G3Bn7fozsgEvz-RINgeRT1Ws_i4qCp2aYyEQin5dwvVlBrDswOuWqZcUchbkjqNKSRWua5b-iBfxkTWhiHqACZOA5gWC7q2z6fG8zm50ppl5_qTw/w400-h400/P6_2_2.png&quot; title=&quot;number is Positive,Negative or Zero program program using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;color: #800180; font-family: Ubuntu; font-size: medium;&quot;&gt;&lt;b&gt;Download Program source code&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1CGVrixET6NHP5n5X2vduZPMoKeu6b7n9/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Download button - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/2683286807400800534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2020/12/maximum-value-of-two-number-program-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/2683286807400800534'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/2683286807400800534'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2020/12/maximum-value-of-two-number-program-and.html' title='maximum value of two number Program  AND number is Positive , Negative or Zero program'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYnpIWq3pzTgCfJ5pdnS_UU8L09HHenf0gYu6beb-VxNKaLg1TyloMLqqkFF7RXWM6C20vdB8vgEs410uChGNj8xPtjMNCwtzvPdsn9OJTVYvMwzw9CA6DhLznP2hgOZrkCIyMW1RDoSo/s72-w400-h400-c/P6_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-150164827963971416</id><published>2020-12-17T10:21:00.006+05:30</published><updated>2021-02-10T10:04:59.929+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><title type='text'>sum and Average of 5 int Number and evaluate the equation 5x2+2x-10 in C</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: medium;&quot;&gt;&lt;b style=&quot;color: #990000;&quot;&gt;1. Write a Program to Take input from user Print sum and Average of 5 int Number c program .&amp;nbsp;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;color: #990000;&quot;&gt;2.&amp;nbsp;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;write a Program To take input from user print evaluate the equation 5x2 + 2x -10 c program .&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab; font-size: small;&quot;&gt;1.&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab; font-size: small;&quot;&gt;&lt;b&gt;Write a Program to Take input from user Print sum and Average of 5 int Number c program - Program Code.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span&gt;&lt;b&gt;/* Write a program to print&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;sum and average of 5 int number */&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;int main()&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;int n1,n2,n3,n4,n5,sum;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;float avg;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter value of n1,n2,n3,n4,n5 : &quot;);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%d%d%d%d%d&quot;,&amp;amp;n1,&amp;amp;n2,&amp;amp;n3,&amp;amp;n4,&amp;amp;n5);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;sum = n1+n2+n3+n4+n5;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Sum of this number is %d\n&quot;,sum);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;avg = sum/5;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Average of 5 int number is %f&quot;,avg);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return 0;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: large;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;color: #351c75; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;PROGRAM :-&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEgP15f2408b8q_mEDBsbH1iRxIuAHjkwNlnEqUw4DaaVFe-lharSO6hVTfpIvvmKg5FFozBnfliQ7_1TUjFXgJoF9ahkHwrgzxM9v3Bgi4b_fPtf9q_clkz4q6NmzHzhedbnV2lI3MvfNQ/s1600/P5_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;sum and Average of 5 int Number progrma&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP15f2408b8q_mEDBsbH1iRxIuAHjkwNlnEqUw4DaaVFe-lharSO6hVTfpIvvmKg5FFozBnfliQ7_1TUjFXgJoF9ahkHwrgzxM9v3Bgi4b_fPtf9q_clkz4q6NmzHzhedbnV2lI3MvfNQ/w400-h225/P5_1.png&quot; title=&quot;sum and Average of 5 int Number program using C Langauge  - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;OUTPUT :-&lt;/b&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&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/AVvXsEjkEtTdGc0XJjQhLHFEzUlv5uLiQwMjzDzMMH_XGVkAqwIEEL4iwFdWGhdiAAo49pm-4TgQZSR_O6jq56MA4C3oGCMUgGcas_hLPRLIS2D1rJzg3VAHVM_UVE0scWKcV2CHBxEYcXcmkE8/s1600/P5_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;sum and Average of 5 int Number Program output&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkEtTdGc0XJjQhLHFEzUlv5uLiQwMjzDzMMH_XGVkAqwIEEL4iwFdWGhdiAAo49pm-4TgQZSR_O6jq56MA4C3oGCMUgGcas_hLPRLIS2D1rJzg3VAHVM_UVE0scWKcV2CHBxEYcXcmkE8/w400-h225/P5_1_1.png&quot; title=&quot;sum and Average of 5 int Number Program using C language - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEgSqBuezqtsmav5s9CfC-EK3Ws7w1gI3wZBtOggy-5Va2dafJaGriAwD4sTOiuCR0sSTJEzZ2dv1_1OT0JrRn_1S2-WIfjtY76eFtGy2CAx75wfPm9y8OiWK-I5K1eHWPlC6vaEUWLjXnY/s1600/P5_1_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;sum and Average of 5 int Number program output&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSqBuezqtsmav5s9CfC-EK3Ws7w1gI3wZBtOggy-5Va2dafJaGriAwD4sTOiuCR0sSTJEzZ2dv1_1OT0JrRn_1S2-WIfjtY76eFtGy2CAx75wfPm9y8OiWK-I5K1eHWPlC6vaEUWLjXnY/w400-h225/P5_1_2.png&quot; title=&quot;sum and Average of 5 int Number program using C Language - Program code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Download Program source code&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1LaAbufIofXeY9zmFP9A4HDsyTC0a4ZMB/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Download button - Program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;2.&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;write a Program To take input from user print evaluate the equation 5x2 + 2x -10 c program - Program Code.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: large;&quot;&gt;&lt;div style=&quot;clear: both; color: #351c75;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span&gt;&lt;div style=&quot;clear: both; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;h3 style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu; font-size: small;&quot;&gt;/* Write a program to evaluate the equation&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;5x2&lt;/span&gt;&lt;span&gt;&amp;nbsp;+ 2x - 10 */&lt;br /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;void main()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;int x,ans;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the value of x: &quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%d&quot;,&amp;amp;x);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;ans = (5*x*x)+(2*x)-10;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Anwer is %d&quot;,ans);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/h3&gt;&lt;/blockquote&gt;&lt;div style=&quot;clear: both; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: x-large;&quot;&gt;&lt;/div&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;PROGRAM &lt;/span&gt;:-&lt;/span&gt;&lt;/b&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEhL-U6P5JbMAecS7frbbEJNBT0GKfmEcbbTHntuuXG5sijrC5mmygDzZUVCsVLNJgFzHjcYMhDfO4CqNGhNG-3sOBYBSxdnlOhuJDShRcbVa2kAf0Bg4Ku8C4SUcbHalBw05rBQ4rCUKZc/s1600/P5_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;evaluate the equation 5x2 + 2x -10 program&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL-U6P5JbMAecS7frbbEJNBT0GKfmEcbbTHntuuXG5sijrC5mmygDzZUVCsVLNJgFzHjcYMhDfO4CqNGhNG-3sOBYBSxdnlOhuJDShRcbVa2kAf0Bg4Ku8C4SUcbHalBw05rBQ4rCUKZc/w400-h225/P5_2.png&quot; title=&quot;evaluate the equation 5x2 + 2x -10 program using C LAnguage - Program COde&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;OUTPUT :-&lt;/b&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&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/AVvXsEjys9hWLay5XPnVmDREuhLWSGmkH8b2X3KN6bhX1dCNql06mx4kujAm0k1yX92XvvT5EBeRya-1wlqW_TbWM67WvNIsHjznaQJOa6Br96Oh_pmjniqm3g7XEuyCR2banrl7rW2r6ba_h04/s1600/P5_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;evaluate the equation 5x2 + 2x -10 program output&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjys9hWLay5XPnVmDREuhLWSGmkH8b2X3KN6bhX1dCNql06mx4kujAm0k1yX92XvvT5EBeRya-1wlqW_TbWM67WvNIsHjznaQJOa6Br96Oh_pmjniqm3g7XEuyCR2banrl7rW2r6ba_h04/w400-h225/P5_2_1.png&quot; title=&quot;evaluate the equation 5x2 + 2x -10 Program Using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEi45uF4RWUkTa09Q1ja8GJ8Q3LYLs1WRHbFewn2XuzKWvPBYLYA5cApQaD4TiJOK98-HRENu1L7GpDteNgkYfxwvw_839049dNfuwMsTdjIIXwJYTaN34-EPgbU5eTqnWeZ5iihsTcCOQQ/s1600/P5_2_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;evaluate the equation 5x2 + 2x -10 Program&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi45uF4RWUkTa09Q1ja8GJ8Q3LYLs1WRHbFewn2XuzKWvPBYLYA5cApQaD4TiJOK98-HRENu1L7GpDteNgkYfxwvw_839049dNfuwMsTdjIIXwJYTaN34-EPgbU5eTqnWeZ5iihsTcCOQQ/w400-h225/P5_2_2.png&quot; title=&quot;evaluate the equation 5x2 + 2x -10 Program using c Langauge - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;color: #800180; font-family: Ubuntu; font-size: medium;&quot;&gt;&lt;b&gt;Download Program source code&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1GgWzaDcIOwanvrUpsWEGoF0PgqUkkuWJ/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Download button - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/150164827963971416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2020/12/write-program-to-take-input-from-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/150164827963971416'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/150164827963971416'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2020/12/write-program-to-take-input-from-user.html' title='sum and Average of 5 int Number and evaluate the equation 5x2+2x-10 in C'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP15f2408b8q_mEDBsbH1iRxIuAHjkwNlnEqUw4DaaVFe-lharSO6hVTfpIvvmKg5FFozBnfliQ7_1TUjFXgJoF9ahkHwrgzxM9v3Bgi4b_fPtf9q_clkz4q6NmzHzhedbnV2lI3MvfNQ/s72-w400-h225-c/P5_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-1244335927571419971</id><published>2020-12-16T15:22:00.003+05:30</published><updated>2021-02-10T10:02:03.544+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><title type='text'>Area of Circle , Area of Triangle and Area of Rectangle using C Programming Language</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;&lt;span&gt;1. Write a Program to Take input from user Print Area Of Circle c program.&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;2. write a Program To take input from user print Area of Triangle c Program .&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span&gt;&lt;b&gt;3. Write a Program to Take input from user Print Area of Rectangle c Program.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;1.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;Write a Program to Take input from user Print Area Of Circle c program - Program Code.&lt;/span&gt;&lt;span style=&quot;font-size: large; font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;span&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;div style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;blockquote style=&quot;text-align: left;&quot;&gt;&lt;h3&gt;&lt;b&gt;/* Write a Program to take input&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;from user print area of circle */&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#define PI 3.14&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;int main()&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;float area,radius;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the value of radius :&quot;);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%f&quot;,&amp;amp;radius);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;area = PI * radius *radius;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Area of circle is %f&quot;,area);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return 0;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;}&lt;/b&gt;&lt;/h3&gt;&lt;/blockquote&gt;&lt;div style=&quot;color: #351c75; text-align: left;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;PROGRAM :-&lt;/span&gt;&lt;/b&gt;&lt;/span&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/AVvXsEg5ZjDv0sZL8F85_m_44gazRkvFTWatRBMuoERDdpUSyG43i9LJ-i6f3kejZ8byC8QzCNMb9TFGrVExfF2JFnxd2eDhfYcWVu8RxRiJJN69pRys7MJIduQZRJxUWXRCp7iVtBxU80lszYY/s1600/P4_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Area Of Circle Program&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5ZjDv0sZL8F85_m_44gazRkvFTWatRBMuoERDdpUSyG43i9LJ-i6f3kejZ8byC8QzCNMb9TFGrVExfF2JFnxd2eDhfYcWVu8RxRiJJN69pRys7MJIduQZRJxUWXRCp7iVtBxU80lszYY/w400-h225/P4_1.png&quot; title=&quot;Area Of Circle using C Langauge - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;OUTPUT :-&lt;/b&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEjYiJDHF702Ra7E6z8WBChvnKyOFVQ8BJ3YmbLwM_J05y_GDbZtn1utz3STSFRc7E1732kTeuneHuBp1oZ4gaMjc5f1wZTZBP81mHzQdGfnqtdF69ZsYoJ524bspUocStK11AuxS1HuHP4/s1600/P4_1_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Area Of Circle Program Output&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYiJDHF702Ra7E6z8WBChvnKyOFVQ8BJ3YmbLwM_J05y_GDbZtn1utz3STSFRc7E1732kTeuneHuBp1oZ4gaMjc5f1wZTZBP81mHzQdGfnqtdF69ZsYoJ524bspUocStK11AuxS1HuHP4/w400-h225/P4_1_1.png&quot; title=&quot;Area Of Circle Using C language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEhfuY_ysShyprIAnF1Cc1-g-rzj7gFl6S84uFBWxbe6rWvbv9_w3imlqbtfnRiIENpwfEh0j7FN4dh52hxFYBtIyFxWtFnpHPyT5muSjF4rKKrbSHSoot82bR1eGnyKMkL0EHZV-hOvKbA/s1600/P4_1_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Area Of Circle program Output&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfuY_ysShyprIAnF1Cc1-g-rzj7gFl6S84uFBWxbe6rWvbv9_w3imlqbtfnRiIENpwfEh0j7FN4dh52hxFYBtIyFxWtFnpHPyT5muSjF4rKKrbSHSoot82bR1eGnyKMkL0EHZV-hOvKbA/w400-h225/P4_1_2.png&quot; title=&quot;Area Of Circle Using C Langauge  - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Download Program source code&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1Vkr8b0ZYDwmbEZ3iJwz2fMwcRX_yjZN6/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Download button - Program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;h4 style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;2.&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;write a Program To take input from user print Area of Triangle c Program - Program Code.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: medium;&quot;&gt;&lt;b&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;div style=&quot;clear: both; color: #351c75;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;blockquote style=&quot;text-align: left;&quot;&gt;&lt;h3 style=&quot;clear: both;&quot;&gt;&lt;b&gt;/* Write a Program to take input&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;from user print area of triangle */&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;int main()&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;float area,h,b;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the value of h :&quot;);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%f&quot;,&amp;amp;h);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the value of b :&quot;);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%f&quot;,&amp;amp;b);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;area = (h*b)/2;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Area of Triangle is %f&quot;,area);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return 0;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;}&lt;/b&gt;&lt;/h3&gt;&lt;/blockquote&gt;&lt;div style=&quot;clear: both; color: #351c75; text-align: left;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;PROGRAM :-&lt;/span&gt;&lt;/b&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/AVvXsEjH95XJbGOp05MgsSBhJy6bYRD-3wsoK_A6tMQ1aFhBhpL2Zx6dbARBivh89i9OVvk-z1R2SlrMloMoXxPcHeY2eR49a8qK42qLv2Avl3VjjPe5Ndo3wZ_pROoMIHtNF957FJQzSvWTOTk/s1600/P4_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Area of Triangle program&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH95XJbGOp05MgsSBhJy6bYRD-3wsoK_A6tMQ1aFhBhpL2Zx6dbARBivh89i9OVvk-z1R2SlrMloMoXxPcHeY2eR49a8qK42qLv2Avl3VjjPe5Ndo3wZ_pROoMIHtNF957FJQzSvWTOTk/w400-h225/P4_2.png&quot; title=&quot;Area of Triangle using C langauge - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;OUTPUT :-&lt;/b&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEhM4C4ZVHr6d3ipz4k7S4DF8V0pNQOH34QpQI2Cks7Pr7vXuDI59THETti3jbJP-qGFXpZAux1IGPG99Uoc5HZh9PCA2WSQZQLmaPhbftfMQ2TBAQHpDOwbPSuwtWeWyxrnWGuD7pCUMBM/s1600/P4_2_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Area of Triangle Program Output&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM4C4ZVHr6d3ipz4k7S4DF8V0pNQOH34QpQI2Cks7Pr7vXuDI59THETti3jbJP-qGFXpZAux1IGPG99Uoc5HZh9PCA2WSQZQLmaPhbftfMQ2TBAQHpDOwbPSuwtWeWyxrnWGuD7pCUMBM/w400-h225/P4_2_2.png&quot; title=&quot;Area of Triangle Using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEiLr4_57dtL09AmxZ7fBSWB6NHnFGq9Eyf7YfFRv82DqcUG-4QTa-JAQVMBc9vLg5xtf_DbYCMve9u9IlN7zdisAtSEusuSdc4sHM5xc1RF5H4q1QKIPVwiHpLYxKLAcAC6LAj3ps9SyuY/s1600/P4_2_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Area of Triangle program Output&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLr4_57dtL09AmxZ7fBSWB6NHnFGq9Eyf7YfFRv82DqcUG-4QTa-JAQVMBc9vLg5xtf_DbYCMve9u9IlN7zdisAtSEusuSdc4sHM5xc1RF5H4q1QKIPVwiHpLYxKLAcAC6LAj3ps9SyuY/w400-h225/P4_2_1.png&quot; title=&quot;Area of Triangle using C Language  - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;color: #800180; font-family: Ubuntu; font-size: medium;&quot;&gt;&lt;b&gt;Download Program source code&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/14hXN_GAOENAsAz2he0EyvV9bD1FIE0LZ/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Download button - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;b&gt;3.&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;&lt;span&gt;&lt;b&gt;Write a Program to Take input from user Print Area of Rectangle c Program - Program Code.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;text-align: left;&quot;&gt;&lt;h4&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span&gt;&lt;b&gt;/* Write a Program to take input&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;from user print area of rectangle */&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;int main()&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;int area,l,w;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the value of l :&quot;);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%d&quot;,&amp;amp;l);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the value of w :&quot;);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%d&quot;,&amp;amp;w);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;area = l*w;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Area of rectangle is %d&quot;,area);&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return 0;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;/blockquote&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b style=&quot;color: #351c75;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;P&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;color: #351c75; font-size: x-large;&quot;&gt;ROGRAM :-&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;div style=&quot;color: #990000; font-size: x-large;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEjEzU3i7RWjKm5bdzB0TA_9SimNQdRGB00oKKNlssPXU1Dq3rVoNpB14nNx2Rs-KnoiUGwhNlwus6Um18beyak63j6u_g69MbTkl9snNOA-n6q4C_FBfVt3YEfwBrLYGZpI86rQkmb9i4A/s1080/P4_3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Area of Rectangle program in C language - Program code&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEzU3i7RWjKm5bdzB0TA_9SimNQdRGB00oKKNlssPXU1Dq3rVoNpB14nNx2Rs-KnoiUGwhNlwus6Um18beyak63j6u_g69MbTkl9snNOA-n6q4C_FBfVt3YEfwBrLYGZpI86rQkmb9i4A/w400-h400/P4_3.png&quot; title=&quot;Area of Rectangle program in C Language - Program  Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;OUTPUT :-&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEgUX3ZcdmHrNiA9dCkymkgZ_fDOzs727_uAQa9WJ99B8JoP-BthredSZKCfAkdtydpotNZ0tnx9wz_TwUdqNlwNXjaho1cZCRAuw5EqiOiAuHSOAWzEEWvLozzSs8xqvMqS35wAAJQhNOY/s1080/P4_3_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Area of Rectangle program output in c language.&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUX3ZcdmHrNiA9dCkymkgZ_fDOzs727_uAQa9WJ99B8JoP-BthredSZKCfAkdtydpotNZ0tnx9wz_TwUdqNlwNXjaho1cZCRAuw5EqiOiAuHSOAWzEEWvLozzSs8xqvMqS35wAAJQhNOY/w400-h400/P4_3_2.png&quot; title=&quot;Area of Rectangle Prgram in C language.&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEgmiH3V9UtvjoZu0HWl_iRcMqLF3cdfqicdYlMJ628ecS68Kkw9GiuM3u_cU5zVH-ulcOFVToaMtB75F5gl7Tc-4yOl6gps13Md6KSaLX2irRxiqkbnCC8Wso3RVOShGYjpBM3ubx75XoY/s1080/P4_3_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Area of Rectangle program output in C langaue&quot; border=&quot;0&quot; data-original-height=&quot;1080&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmiH3V9UtvjoZu0HWl_iRcMqLF3cdfqicdYlMJ628ecS68Kkw9GiuM3u_cU5zVH-ulcOFVToaMtB75F5gl7Tc-4yOl6gps13Md6KSaLX2irRxiqkbnCC8Wso3RVOShGYjpBM3ubx75XoY/w400-h400/P4_3_1.png&quot; title=&quot;Area of Rectangle program in C language.&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;color: #800180; font-family: Ubuntu; font-size: medium;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1m4_iE_xL1SqfcfbhCEZZ-djyeJjdb_RD/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Download button - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/1244335927571419971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2020/12/area-of-circle-area-of-triangle-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/1244335927571419971'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/1244335927571419971'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2020/12/area-of-circle-area-of-triangle-and.html' title='Area of Circle , Area of Triangle and Area of Rectangle using C Programming Language'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5ZjDv0sZL8F85_m_44gazRkvFTWatRBMuoERDdpUSyG43i9LJ-i6f3kejZ8byC8QzCNMb9TFGrVExfF2JFnxd2eDhfYcWVu8RxRiJJN69pRys7MJIduQZRJxUWXRCp7iVtBxU80lszYY/s72-w400-h225-c/P4_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7861651381045108284.post-1058997182209256032</id><published>2020-12-15T17:46:00.002+05:30</published><updated>2021-02-10T09:55:01.049+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Program"/><title type='text'>Square and cube, Simple interest and Circumference of circle using C Programming Language</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;1. Write a Program to Take input from user Print Square and cube c program .&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;2.&amp;nbsp;&lt;span&gt;write a Program To take input from user print Simple interest c program &lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-family: verdana; font-size: medium;&quot;&gt;&lt;b&gt;3. Write a Program to Take input from user Print Circumference C Program .&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;&lt;b style=&quot;color: #990000;&quot;&gt;1.&lt;br /&gt;&lt;/b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Write a Program to Take input from user Print Square and cube c program - Program code.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: large;&quot;&gt;&lt;b&gt;&lt;div&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;blockquote style=&quot;text-align: left;&quot;&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;span&gt;// Write a program to take input from user print squaer and cube.&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;&lt;span&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;int main()&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;{&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;int n,squaer,cube;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the value of n :&quot;);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;squaer = n*n;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;cube = n*n*n;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Squaer is %d\n&quot;,squaer);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Cube is %d&quot;,cube);&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return 0;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;}&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;/blockquote&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;PROGRAM :-&lt;/b&gt;&lt;/span&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/AVvXsEiVdd6zsR6qnGRcpjLpDXd7YYJ80KjpuAyXpFaRhAiJ0hTICwQ0jdlVd9N157mQ7zNaZeYYEt4f9bnMi3n9qW2uqnyX19kUZ2TEvHHyHVupuiklVZ00GCX-NT03jjHPKvlwIZwE1m6iPx4/s1600/%2540programcode1907+%252822%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program of square and cube&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVdd6zsR6qnGRcpjLpDXd7YYJ80KjpuAyXpFaRhAiJ0hTICwQ0jdlVd9N157mQ7zNaZeYYEt4f9bnMi3n9qW2uqnyX19kUZ2TEvHHyHVupuiklVZ00GCX-NT03jjHPKvlwIZwE1m6iPx4/w400-h225/%2540programcode1907+%252822%2529.png&quot; title=&quot;Program of square and cube using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;OUTPUT :-&lt;/b&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEgu5Ss-0uanrPmuOVXgFzMQZGyCuzs985_bctEuP51YkGC7rP-PnxzaQ5DSdbrCMYD-rov6jMC00MEtJO-oGZ3JOOB_NPlU0PYLTPryRLjD6RhNcW-qcYfFPAb7yjSPLs0I48UqFmv_Ueo/s1600/%2540programcode1907+%252820%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program of square and cube Output&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu5Ss-0uanrPmuOVXgFzMQZGyCuzs985_bctEuP51YkGC7rP-PnxzaQ5DSdbrCMYD-rov6jMC00MEtJO-oGZ3JOOB_NPlU0PYLTPryRLjD6RhNcW-qcYfFPAb7yjSPLs0I48UqFmv_Ueo/w400-h225/%2540programcode1907+%252820%2529.png&quot; title=&quot;Program of square and cube using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEjcoaEWcufmCUML1ZDyO_lcW_fiO0HkQVZ5HQktoq8CjiZgPhaPEXR49jRKpA6zjS2zejipNsrtjM-BZPzLqYlh_ytXCfMsf0UPFGEzl3OGxBA92HwAYXc3yjHt2xgwVDweBhNK0su0ruA/s1600/%2540programcode1907+%252821%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program of square and cube - Output&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcoaEWcufmCUML1ZDyO_lcW_fiO0HkQVZ5HQktoq8CjiZgPhaPEXR49jRKpA6zjS2zejipNsrtjM-BZPzLqYlh_ytXCfMsf0UPFGEzl3OGxBA92HwAYXc3yjHt2xgwVDweBhNK0su0ruA/w400-h225/%2540programcode1907+%252821%2529.png&quot; title=&quot;Program of square and cube using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Download Program source code&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1E55pmGx4sDjjkzlQ6DWUhrsTu2zM91Kv/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Download button - Program code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;h4 style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;2.&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #990000; font-family: Roboto Slab;&quot;&gt;write a Program To take input from user print Simple interest c program - Program Code.&lt;/span&gt;&lt;span style=&quot;color: #990000; font-family: inherit; font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/h4&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab; font-size: medium;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span&gt;&lt;b&gt;&lt;div style=&quot;clear: both; font-family: &amp;quot;Roboto Slab&amp;quot;;&quot;&gt;&lt;/div&gt;&lt;blockquote style=&quot;text-align: left;&quot;&gt;&lt;h4 style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;// Write a program to take input form user and print simple interest.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;int main()&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;float interest,p,r,n;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the value of p:&quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%f&quot;,&amp;amp;p);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the value of r:&quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%f&quot;,&amp;amp;r);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the value of n:&quot;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%f&quot;,&amp;amp;n);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;interest=(p*r*n)/100;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Simple interest is %f&quot;,interest);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return 0;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;}&lt;/span&gt;&amp;nbsp;&lt;/h4&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;PROGRAM :-&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;clear: both; font-family: &amp;quot;Roboto Slab&amp;quot;; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&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/AVvXsEjwCPlfdUHs009O29uvIxo_nxiS3bE1YFsYppEbb52QQhRwM2BOOv6slfhyphenhyphenUmcBR28bxusqibnyngkeDXMp5_nk1t2FWwC9kf4ksruOISL_Jnl33mc_X-rKu68uyBnH81VsJ4L8kPmvwig/s1600/%2540programcode1907+%252813%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program Simple interest&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwCPlfdUHs009O29uvIxo_nxiS3bE1YFsYppEbb52QQhRwM2BOOv6slfhyphenhyphenUmcBR28bxusqibnyngkeDXMp5_nk1t2FWwC9kf4ksruOISL_Jnl33mc_X-rKu68uyBnH81VsJ4L8kPmvwig/w400-h225/%2540programcode1907+%252813%2529.png&quot; title=&quot;Program Simple interest using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;OUTPUT :-&lt;/b&gt;&lt;/span&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/AVvXsEi1fg6qxM7POa2EpaVblsYEDWqkDHMUDx26fDe8_Oc2jp5JaP3IPiXFZfHcgdVHmF8med01kUPHiBjFCUucWxXScO5MOACSeR6Q-06thtvksSbyDzopMjzvU5hJd029fsxP_VJlGX5U7XQ/s1600/%2540programcode1907+%252812%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program Simple interest output&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1fg6qxM7POa2EpaVblsYEDWqkDHMUDx26fDe8_Oc2jp5JaP3IPiXFZfHcgdVHmF8med01kUPHiBjFCUucWxXScO5MOACSeR6Q-06thtvksSbyDzopMjzvU5hJd029fsxP_VJlGX5U7XQ/w400-h225/%2540programcode1907+%252812%2529.png&quot; title=&quot;Program Simple interest using C Langauge - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEicEPt2BCMS1m-ZIHfM0524JW65onBGIr4a9MB66uDn5qYUnetW8R4CHLsvAtIg8TT1iiAt77KieaHGv1GrP13C5r3w2QxyAifGEy4ygILA2k_N2lSUJ-mKjrufnZY2dhpMftXqGpMRqwE/s1600/%2540programcode1907+%252811%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program Simple interest output&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicEPt2BCMS1m-ZIHfM0524JW65onBGIr4a9MB66uDn5qYUnetW8R4CHLsvAtIg8TT1iiAt77KieaHGv1GrP13C5r3w2QxyAifGEy4ygILA2k_N2lSUJ-mKjrufnZY2dhpMftXqGpMRqwE/w400-h225/%2540programcode1907+%252811%2529.png&quot; title=&quot;Program Simple interest using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;color: #800180; font-family: Ubuntu; font-size: medium;&quot;&gt;&lt;b&gt;Download Program source code&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1RyeFzzY7b9jx5TjXGp54Dnq2LMGuxVL9/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Download button - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;3.&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Roboto Slab;&quot;&gt;Write a Program to Take input from user Print Circumference c program - Program Code&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;span&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span&gt;&lt;div style=&quot;font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu; font-size: small;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote style=&quot;text-align: left;&quot;&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;//Write a program to take input from user print Circumference&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4&gt;&lt;span style=&quot;font-family: Ubuntu;&quot;&gt;&lt;b&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;#define pi 3.14&lt;br /&gt;&lt;/b&gt;&lt;b&gt;int main()&lt;br /&gt;&lt;/b&gt;&lt;b&gt;{&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;float radius,c;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Enter the value of Radius :&quot;);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;scanf(&quot;%f&quot;,&amp;amp;radius);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;c= 2 * pi * radius;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;printf(&quot;Circumference is %f&quot;,c);&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return 0;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;/blockquote&gt;&lt;div style=&quot;font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: small; text-align: left;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #990000; font-size: x-large; text-align: left;&quot;&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;PROGRAM :-&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #990000; font-size: x-large; text-align: left;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS9hRc29-87PAGgvO4paGodb761ugq2IStexaWFh_ThUIm66pvRu0XVtWeXvMhY-trDJw0DyiwKJB5AEyS6qk4i5nATSmmmrQFbvfe8mGIEuKKZh9hygEdQM5RPW8xQbVGSz9VyFX4P7s/s1600/%2540programcode1907+%252815%2529.png&quot;&gt;&lt;img alt=&quot;Program of Circumference&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS9hRc29-87PAGgvO4paGodb761ugq2IStexaWFh_ThUIm66pvRu0XVtWeXvMhY-trDJw0DyiwKJB5AEyS6qk4i5nATSmmmrQFbvfe8mGIEuKKZh9hygEdQM5RPW8xQbVGSz9VyFX4P7s/w400-h225/%2540programcode1907+%252815%2529.png&quot; title=&quot;Program of Circumference using C Langauge - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #351c75; font-size: large;&quot;&gt;&lt;b&gt;OUTPUT :-&lt;/b&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEhpNVRSwelsU6BPKpkI6IL8PTj3K_GM9dg1McL6Br3WmKNv3YpL74cByRPpM1qggHzjAb9CxndR2owD4JKQrZmWnQ82Myeq72PgSnsmIh6Rc8fpxvUuegsGLKjQuxfGlUxcalktVGTCNV8/s1600/%2540programcode1907+%252814%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program of Circumference output&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpNVRSwelsU6BPKpkI6IL8PTj3K_GM9dg1McL6Br3WmKNv3YpL74cByRPpM1qggHzjAb9CxndR2owD4JKQrZmWnQ82Myeq72PgSnsmIh6Rc8fpxvUuegsGLKjQuxfGlUxcalktVGTCNV8/w400-h225/%2540programcode1907+%252814%2529.png&quot; title=&quot;Program of Circumference using C Language - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br style=&quot;color: black; font-size: medium;&quot; /&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/AVvXsEhoy7EymdZDRSXTnMjHbpalTcm8l4ewNBmTDRB5Ejhige5_gcvNsaW9eacAyTcmy21NM9rtExpPwF3ZrQ3GY1HgpEceJ4qNme_wQDdoXZRR5MxRPUzvVhq_Xqt6wtNxPTYHaAyK906w4VQ/s1600/%2540programcode1907+%252816%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Program of Circumference output&quot; border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoy7EymdZDRSXTnMjHbpalTcm8l4ewNBmTDRB5Ejhige5_gcvNsaW9eacAyTcmy21NM9rtExpPwF3ZrQ3GY1HgpEceJ4qNme_wQDdoXZRR5MxRPUzvVhq_Xqt6wtNxPTYHaAyK906w4VQ/w400-h225/%2540programcode1907+%252816%2529.png&quot; title=&quot;Program of Circumference using C langauge - Program Code&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #800180; font-family: Ubuntu; font-size: medium;&quot;&gt;Download Program source code&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/1pvQDCq10T5-2JpL32uu-rv4CL_Q5joDh/view?usp=sharing&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Download To click here...&quot; border=&quot;0&quot; data-original-height=&quot;364&quot; data-original-width=&quot;700&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FRZeqGF96j4OFh3jKCaq_D8vmcG4M4MOx83KNP6H0c5J4mPdysSGDFfqszn_EYxQubfuVyToqnRBcHvQ2AxpYj62rObsSA1IUREQAgKyT0yqCLOtreEqCOeU_wT6GWkU_sgGudDhYl4/w320-h166/downloadbutton.jpg&quot; title=&quot;Download button - Program Code&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://programcode1907.blogspot.com/feeds/1058997182209256032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://programcode1907.blogspot.com/2020/12/square-and-cube-simple-interest-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/1058997182209256032'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7861651381045108284/posts/default/1058997182209256032'/><link rel='alternate' type='text/html' href='https://programcode1907.blogspot.com/2020/12/square-and-cube-simple-interest-and.html' title='Square and cube, Simple interest and Circumference of circle using C Programming Language'/><author><name>Program Code</name><uri>http://www.blogger.com/profile/10400898520602351566</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSY8tKiVwfPJqelr92vqFz8EcwIRkWIDTcHAkstQhZcRnTud1Wvd8m-ltJ3_3b6OCY9rlvWqmaQRR6IJOZxaweTGPGwGMe_Zy4kF0kPWOJVHQ4_uLnXpe09dv_DJJ8qw/s220/20201129_152524.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVdd6zsR6qnGRcpjLpDXd7YYJ80KjpuAyXpFaRhAiJ0hTICwQ0jdlVd9N157mQ7zNaZeYYEt4f9bnMi3n9qW2uqnyX19kUZ2TEvHHyHVupuiklVZ00GCX-NT03jjHPKvlwIZwE1m6iPx4/s72-w400-h225-c/%2540programcode1907+%252822%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>