<?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-1890522474447179062</id><updated>2024-12-18T19:28:22.312-08:00</updated><category term="Blogging"/><category term="c-programming codes"/><category term="Tips &amp; Tracks"/><category term="Earning"/><category term="Internet"/><category term="Android Apps"/><category term="Android Games"/><category term="Antivirus"/><category term="Blogger templates"/><category term="Graphics"/><category term="Hacking"/><category term="Mobile Apps"/><category term="Pashto Drama"/><category term="Softwares"/><category term="Video Editing"/><category term="Action"/><category term="Blogger"/><category term="Compress"/><category term="Converters"/><category term="Drivers"/><category term="Electronics"/><category term="Experiments"/><category term="IncomeOn"/><category term="Learning"/><category term="Lectures"/><category term="Multimedia"/><category term="Office World"/><category term="Others"/><category term="Password"/><category term="Paypal"/><category term="Programing"/><category term="Revenuehits"/><category term="Sports"/><category term="Tutorials"/><category term="Videos"/><category term="Windows"/><category term="Wordpress"/><title type='text'>COOL PROGRAMMING 4 U</title><subtitle type='html'>A website designed to help you learn C or C++. Understandable C and C++ programming tutorials, compiler reviews, source code, tips and tricks.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>93</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-2310892827648993117</id><published>2017-09-10T03:15:00.000-07:00</published><updated>2017-09-09T01:31:37.959-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger templates"/><title type='text'>BrandX Best Responsive Blogger Template Download Free</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;BrandX Best Responsive Blogger Template Download Free..&lt;/span&gt;&lt;/b&gt;&lt;/h2&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/AVvXsEimEUwBZUJMKMKEB13UJfR6LxBKdnfgF7Or8E4EFkaDePUY47qb55RyyMXJy8gG_ENylrfPL4FY_UC0WqFukkAT-dq0szTFRRtJ9bMpo_D7BvBdvn6IGjprUo39nh8afzGMRKy424Zcdkg/s1600/brandx-blogger-template.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;BrandX Blogger Template Free Download&quot; border=&quot;0&quot; height=&quot;364&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimEUwBZUJMKMKEB13UJfR6LxBKdnfgF7Or8E4EFkaDePUY47qb55RyyMXJy8gG_ENylrfPL4FY_UC0WqFukkAT-dq0szTFRRtJ9bMpo_D7BvBdvn6IGjprUo39nh8afzGMRKy424Zcdkg/s640/brandx-blogger-template.jpg&quot; title=&quot;BrandX Blogger Template&quot; width=&quot;640&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;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;liberation sans&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Features:&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;liberation sans&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;b&gt;Description:-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;liberation sans&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;BrandX&lt;/b&gt;&amp;nbsp;is a free&amp;nbsp;&lt;b style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;premium&lt;/b&gt;&amp;nbsp;blogger template with 2 columns,&amp;nbsp;&lt;b style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;responsive design&lt;/b&gt;, right sidebar, gallery-styled, fresh look, an exclusive design for Blogger, ads ready, footer columns, social bookmarking icons, posts thumbnails, drop down menu, breadcrumbs, a background pattern, related posts support, well designed threaded comments, abstract and 3D effect.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #333333; line-height: 20.8px; margin-bottom: 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif; font-size: 13px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Excellent template for blogs about business, photography or a personal portfolio site.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif; font-size: 13px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;Instruction:&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;&lt;a href=&quot;http://adf.ly/1iVFed&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;How to install Template..&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif; font-size: 13px; list-style-position: inside; margin: 10px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; margin: 0px 0px 5px 10px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;To edit the header description you need to find and replace that text in the template&#39;s code.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; margin: 0px 0px 5px 10px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;To edit the Menu you need to search and edit the links directly in your template code.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; margin: 0px 0px 5px 10px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;To edit the slider you need to changes the images and urls directly in your template code.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; margin: 0px 0px 5px 10px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;To edit the social icons links you need to search and changes the urls directly in your template code.&lt;/span&gt;&lt;/li&gt;
&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&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://coolprogramming4u.blogspot.com/&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Live Demo&quot; border=&quot;0&quot; data-original-height=&quot;600&quot; data-original-width=&quot;600&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkf9MKkAUIpcYA8goEEVaViUkVfle-q67d4njfef0Zyh-LBCPj8dbwvVNFjkEASKt-Cj1HFojQ565MpO92TOczHzBZTsNeZ0fecUHkbZz2xYLSU0D6WtBsp2c8CtkrynAz2AF0vjCBFn4/s200/om_requestdemo.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif; font-size: 13px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif; font-size: 13px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;&lt;b&gt;Download Link Here&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif; font-size: 13px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-size: 13px; text-align: center;&quot;&gt;
&lt;div class=&quot;box_content&quot; style=&quot;border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; color: black; font-size: medium; margin: 1px; outline: none; padding: 15px; text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div style=&quot;font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a class=&quot;button downloadbutton&quot; href=&quot;http://adf.ly/1lNmNv&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;UsersCloud&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lNmL5&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;DailyUpload&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lNmC8&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;Drive&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lNmJ1&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;ZippyShare&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Password Link Here&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;Password&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&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&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/2310892827648993117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/03/brandx-best-responsive-blogger-template.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/2310892827648993117'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/2310892827648993117'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/03/brandx-best-responsive-blogger-template.html' title='BrandX Best Responsive Blogger Template Download Free'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimEUwBZUJMKMKEB13UJfR6LxBKdnfgF7Or8E4EFkaDePUY47qb55RyyMXJy8gG_ENylrfPL4FY_UC0WqFukkAT-dq0szTFRRtJ9bMpo_D7BvBdvn6IGjprUo39nh8afzGMRKy424Zcdkg/s72-c/brandx-blogger-template.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-2572847618347383704</id><published>2017-09-09T01:19:00.000-07:00</published><updated>2017-09-09T01:19:32.633-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger templates"/><category scheme="http://www.blogger.com/atom/ns#" term="Blogging"/><title type='text'>Fabric Blogger Template Download For Free</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;Fabric Blogger Template Download For Free...&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #4e5563; font-family: &amp;quot;lato&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 16px; text-indent: 1px;&quot;&gt;Fabric Blogger template is a simply and minimalistic theme presenting a woven style that is pleasingly unique among modern web design, Fabric is a premium looking blogger&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUzQ0VNiqduGPPgk0tsuCz0XojwqD6dT-JIyfIbhqXWBvD_5Oj0M1G9HqMUG3DJdUOLVE9dRpTmAsLBM2LLfY-0S7fYSC7MKeQY2WTkTUtZZWdsmXArPC0Db7SuNS4-8SHPIr3xRvzaLU/s1600/Fabric.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;414&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUzQ0VNiqduGPPgk0tsuCz0XojwqD6dT-JIyfIbhqXWBvD_5Oj0M1G9HqMUG3DJdUOLVE9dRpTmAsLBM2LLfY-0S7fYSC7MKeQY2WTkTUtZZWdsmXArPC0Db7SuNS4-8SHPIr3xRvzaLU/s640/Fabric.png&quot; width=&quot;640&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&gt;
&lt;div class=&quot;post_description&quot; style=&quot;background-color: white; color: #7a7f7d; float: left; font-family: lato, arial, sans-serif; font-size: 15px; line-height: 23px; margin-top: 10px; text-indent: 1px; width: 620px;&quot;&gt;
Fabric Blogger template is a simply, and minimalistic theme presenting a woven style that is pleasingly unique among modern web design, Fabric is a premium looking blogger template with the great typography which brings out the true beauty of the Theme. If you are looking for modern and pastel colored blogger template, then fabric is perfect choice for your blog. Following are the few key features we have connected to this robust theme.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #4e5563; float: left; font-family: raleway; text-align: center; text-indent: 1px; width: 620px;&quot;&gt;
Features of Fabric Blogger Template:&lt;/h3&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li style=&quot;background-color: white; border-bottom-color: rgb(235, 235, 235); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #7a7f7d; display: block; float: left; font-family: lato, arial, sans-serif; font-size: 16px; margin: 20px 0px 0px; outline: 0px; padding: 0px 0px 20px; text-indent: 1px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;custom_layout&quot; style=&quot;background: url(&amp;quot;https://themetrust.com/wp-content/themes/themetrust/images/icons/touch_screen_black.png&amp;quot;) no-repeat transparent; float: left; height: 50px; margin-right: 10px; width: 52px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;inside&quot; style=&quot;float: left; line-height: 20px; width: 545px;&quot;&gt;
&lt;b&gt;Related Post:&lt;/b&gt;&amp;nbsp;This theme has a related post widget with thumbnail which appears just above comment form.&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;background-color: white; border-bottom-color: rgb(235, 235, 235); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #7a7f7d; display: block; float: left; font-family: lato, arial, sans-serif; font-size: 16px; margin: 20px 0px 0px; outline: 0px; padding: 0px 0px 20px; text-indent: 1px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;custom_wid&quot; style=&quot;background: url(&amp;quot;https://themetrust.com/wp-content/themes/themetrust/images/icons/gear_black.png&amp;quot;) no-repeat transparent; float: left; height: 50px; margin-right: 10px; width: 52px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;inside&quot; style=&quot;float: left; line-height: 20px; width: 545px;&quot;&gt;
&lt;b&gt;Threaded Comment Style:&lt;/b&gt;&amp;nbsp;We have added an advanced and robust comment system to this theme, its beautiful design will force the users to comments on your blog..&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;background-color: white; border-bottom-color: rgb(235, 235, 235); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #7a7f7d; display: block; float: left; font-family: lato, arial, sans-serif; font-size: 16px; margin: 20px 0px 0px; outline: 0px; padding: 0px 0px 20px; text-indent: 1px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;custom_label&quot; style=&quot;background: url(&amp;quot;https://themetrust.com/wp-content/themes/themetrust/images/icons/button_black.png&amp;quot;) no-repeat transparent; float: left; height: 50px; margin-right: 10px; width: 52px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;inside&quot; style=&quot;float: left; line-height: 20px; width: 545px;&quot;&gt;
&lt;b&gt;User Friendly:&lt;/b&gt;&amp;nbsp;Fabric has beautiful user friendly robust design; we designed this theme in a way that anyone can easily customize it according to their needs..&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;background-color: white; border-bottom-color: rgb(235, 235, 235); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #7a7f7d; display: block; float: left; font-family: lato, arial, sans-serif; font-size: 16px; margin: 20px 0px 0px; outline: 0px; padding: 0px 0px 20px; text-indent: 1px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;custom_design&quot; style=&quot;background: url(&amp;quot;https://themetrust.com/wp-content/themes/themetrust/images/icons/widgets_black.png&amp;quot;) no-repeat transparent; float: left; height: 50px; margin-right: 10px; width: 52px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;inside&quot; style=&quot;float: left; line-height: 20px; width: 545px;&quot;&gt;
&lt;b&gt;Social Sharing Buttons:&lt;/b&gt;&amp;nbsp;We have placed elegant social sharing buttons just beneath your posts title. This widget include twitter tweet, facebook like, plus one and stumbleupon submit button.&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;background-color: white; border-bottom-color: rgb(235, 235, 235); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #7a7f7d; display: block; float: left; font-family: lato, arial, sans-serif; font-size: 16px; margin: 20px 0px 0px; outline: 0px; padding: 0px 0px 20px; text-indent: 1px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;custom_browsers&quot; style=&quot;background: url(&amp;quot;https://themetrust.com/wp-content/themes/themetrust/images/icons/browser_black.png&amp;quot;) no-repeat transparent; float: left; height: 50px; margin-right: 10px; width: 52px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;inside&quot; style=&quot;float: left; line-height: 20px; width: 545px;&quot;&gt;
&lt;b&gt;Highly SEO Friendly:&lt;/b&gt;&amp;nbsp;This template has High SEO score. Like our most of the themes, we have added really professional SEO Plugins that would certainly help you to attain some extra traffic to your website&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;background-color: white; border-bottom-color: rgb(235, 235, 235); border-bottom-style: solid; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #7a7f7d; display: block; float: left; font-family: lato, arial, sans-serif; font-size: 16px; margin: 20px 0px 0px; outline: 0px; padding: 0px 0px 20px; text-indent: 1px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;custom_browsers&quot; style=&quot;background: url(&amp;quot;https://themetrust.com/wp-content/themes/themetrust/images/icons/browser_black.png&amp;quot;) no-repeat transparent; float: left; height: 50px; margin-right: 10px; width: 52px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;inside&quot; style=&quot;float: left; line-height: 20px; width: 545px;&quot;&gt;
&lt;b&gt;More Features:&lt;/b&gt;&amp;nbsp;Magazine Style,brownish scheme, threaded commenting system, 2 column template, static sidebar, 3 column footer and much more.&lt;/div&gt;
&lt;/li&gt;
&lt;br /&gt;
&lt;div class=&quot;posts_description&quot; style=&quot;background-color: white; color: #7a7f7d; float: left; font-family: lato, arial, sans-serif; font-size: 16px; margin-bottom: 20px; margin-top: 20px; text-indent: 1px; width: 620px;&quot;&gt;
If you also want to submit a template then feel free to send us a query at our Contact us page. Let us know what are your thoughts about this theme.&lt;/div&gt;
&lt;div class=&quot;posts_description&quot; style=&quot;background-color: white; float: left; font-family: lato, arial, sans-serif; margin-bottom: 20px; margin-top: 20px; text-align: center; text-indent: 1px; width: 620px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/2XYF&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;live demo&quot; border=&quot;0&quot; data-original-height=&quot;600&quot; data-original-width=&quot;600&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisqEH4cru_SKQgxRw898u5etgY0ioFr2YeUX0AkG4t9HaV1EbFWvO8S3aBY3PENRdk_s7h6yniF8_cOIevaqG4M3cFHJZuNJKw_AZ4xDS4h1dnKJ5QNzqSB4riERndrdTQB6bJSh_kTjE/s200/om_requestdemo.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif; font-size: 13px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;&lt;b&gt;Download Link Here&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif; font-size: 13px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-size: 13px; text-align: center;&quot;&gt;
&lt;div class=&quot;box_content&quot; style=&quot;border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; color: black; font-size: medium; margin: 1px; outline: none; padding: 15px; text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div style=&quot;font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;
&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a class=&quot;button downloadbutton&quot; href=&quot;http://adf.ly/1lPNyS&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;UsersCloud&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lPNvP&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;DailyUpload&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lPNsM&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;Drive&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lPNqz&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;ZippyShare&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Password Link Here&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;Password&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/2572847618347383704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/fabric-blogger-template-download-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/2572847618347383704'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/2572847618347383704'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/fabric-blogger-template-download-for.html' title='Fabric Blogger Template Download For Free'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUzQ0VNiqduGPPgk0tsuCz0XojwqD6dT-JIyfIbhqXWBvD_5Oj0M1G9HqMUG3DJdUOLVE9dRpTmAsLBM2LLfY-0S7fYSC7MKeQY2WTkTUtZZWdsmXArPC0Db7SuNS4-8SHPIr3xRvzaLU/s72-c/Fabric.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-7089688786211046973</id><published>2017-09-07T03:03:00.001-07:00</published><updated>2017-09-07T03:03:46.077-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program to Make a Simple Calculator Using switch...case</title><content type='html'>&lt;h1 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom: 1px solid rgb(238, 238, 238); border-radius: 8px 8px 0px 0px; color: #252830; display: flex; font-family: Arial, Tahoma, &amp;quot;Trebuchet MS&amp;quot;, &amp;quot;Open Sans&amp;quot;; font-size: 2.5em; font-weight: normal; letter-spacing: -0.5px; line-height: 1.05; margin: 12px 0px 0.3em; padding: 0px 10px 10px;&quot;&gt;
C Program to Make a Simple Calculator Using switch...case&lt;/h1&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;Example to create a simple calculator to add, subtract, multiply and divide using switch and break statement.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW0jEVbVRfxZYjq0wNePqOpR427AlcmMPZNiahwwDa5MGEwa4nf5X9rLwDNK3F-u5yyKJEeNLKrUhHPSULyA_z7tykuveYtHpdnfcPUD7bUJBpSDrH9XkscoZ-gamybhsMtDlV1KOIzUA/s1600/simple-calculator.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;403&quot; data-original-width=&quot;749&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW0jEVbVRfxZYjq0wNePqOpR427AlcmMPZNiahwwDa5MGEwa4nf5X9rLwDNK3F-u5yyKJEeNLKrUhHPSULyA_z7tykuveYtHpdnfcPUD7bUJBpSDrH9XkscoZ-gamybhsMtDlV1KOIzUA/s640/simple-calculator.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
This program takes an arithmetic operator&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;+, -, *, /&lt;/code&gt;&amp;nbsp;and two operands from the user and performs the calculation on the two operands depending upon the operator entered by the user.&lt;/div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Example: Simple Calculator using switch Statement&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;blockquote&gt;
// Performs addition, subtraction, multiplication or division depending the input from user&lt;br /&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;#include &amp;lt;conio.h&amp;gt;&lt;br /&gt;int main() {&lt;br /&gt;&amp;nbsp; &amp;nbsp; char oper;&lt;br /&gt;&amp;nbsp; &amp;nbsp; double firstNumber,secondNumber;&lt;br /&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Enter an operator (+, -, *,): &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; scanf(&quot;%c&quot;, &amp;amp;oper);&lt;br /&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Enter two operands: &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; scanf(&quot;%lf %lf&quot;,&amp;amp;firstNumber, &amp;amp;secondNumber);&lt;br /&gt;&amp;nbsp; &amp;nbsp; switch(oper)&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &#39;+&#39;:&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;%.1lf + %.1lf = %.1lf&quot;,firstNumber, secondNumber, firstNumber + secondNumber);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &#39;-&#39;:&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;%.1lf - %.1lf = %.1lf&quot;,firstNumber, secondNumber, firstNumber - secondNumber);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &#39;*&#39;:&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;%.1lf * %.1lf = %.1lf&quot;,firstNumber, secondNumber, firstNumber * secondNumber);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &#39;/&#39;:&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;%.1lf / %.1lf = %.1lf&quot;,firstNumber, secondNumber, firstNumber / secondNumber);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // operator doesn&#39;t match any case constant (+, -, *, /)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default:&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Error! operator is not correct&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; printf(&quot;\nSubscribe My Channel&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; return 0;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;br /&gt;getch();&lt;br /&gt;}&lt;/blockquote&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter an operator (+, -, *,): *
Enter two operands: 1.5
4.5
1.5 * 4.5 = 6.8&lt;/samp&gt;
&lt;/pre&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
The&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;*&lt;/code&gt;&amp;nbsp;operator entered by the user is stored in the&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;operator&lt;/var&gt;&amp;nbsp;variable. And, the two operands, 1.5 and 4.5 are stored in variables&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;firstNumber&lt;/var&gt;&amp;nbsp;and&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;secondNumber&lt;/var&gt;&amp;nbsp;respectively.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
Since, the operator&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;*&lt;/code&gt;&amp;nbsp;matches the case&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;case &#39;*&#39;:&lt;/code&gt;, the control of the program jumps to&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;printf(&quot;%.1lf * %.1lf = %.1lf&quot;,firstNumber, secondNumber, firstNumber * secondNumber);
&lt;/pre&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
This statement calculates the product and displays it on the screen.&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;Finally, the&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; color: #252830; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px; word-spacing: 3px;&quot;&gt;break&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;; statement ends the switch statement.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&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;a href=&quot;http://yoalizer.com/1cPj&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;download button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P9KLqFgvrKry4m4ycja-2uF_OA51uafP1atHRrluSSku56SM03Frj1fz01T_u90_G-F972i0a640oHPDdQMSuC8zSSVyGu1BljVxjXmDvDgL-IjDzyhhhEFX3ai-ubUEJ9HFZpIH4w0/s200/Files-Download-File-icon.png&quot; title=&quot;download file&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/7089688786211046973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/simple-calculator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/7089688786211046973'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/7089688786211046973'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/simple-calculator.html' title='C Program to Make a Simple Calculator Using switch...case'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW0jEVbVRfxZYjq0wNePqOpR427AlcmMPZNiahwwDa5MGEwa4nf5X9rLwDNK3F-u5yyKJEeNLKrUhHPSULyA_z7tykuveYtHpdnfcPUD7bUJBpSDrH9XkscoZ-gamybhsMtDlV1KOIzUA/s72-c/simple-calculator.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-1164904812128113366</id><published>2017-09-07T02:48:00.000-07:00</published><updated>2017-09-07T02:51:43.749-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program to Calculate the Power of a Number</title><content type='html'>&lt;h1 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom: 1px solid rgb(238, 238, 238); border-radius: 8px 8px 0px 0px; color: #252830; display: flex; font-family: Arial, Tahoma, &amp;quot;Trebuchet MS&amp;quot;, &amp;quot;Open Sans&amp;quot;; font-size: 2.5em; font-weight: normal; letter-spacing: -0.5px; line-height: 1.05; margin: 12px 0px 0.3em; padding: 0px 10px 10px;&quot;&gt;
C Program to Calculate the Power of a Number&lt;/h1&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;Example on how to calculate the power of a number if the exponent is an integer. Also, you will learn to compute the power using pow() function.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_-jHptOSX-QaOBcxMSYoAlYbhdQdsNXhPUOgq-b-arlYtZt4aGzYwDsMmiPjpKGEaayp5Xsgw9LaQLLTZPOg6lmdpicdQgtkyZk6zZIFF3BFn6TB_avk98hgqHu2vKXB08hAQCedi0u8/s1600/power-number_0.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;382&quot; data-original-width=&quot;750&quot; height=&quot;324&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_-jHptOSX-QaOBcxMSYoAlYbhdQdsNXhPUOgq-b-arlYtZt4aGzYwDsMmiPjpKGEaayp5Xsgw9LaQLLTZPOg6lmdpicdQgtkyZk6zZIFF3BFn6TB_avk98hgqHu2vKXB08hAQCedi0u8/s640/power-number_0.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
The program below takes two integers from the user (a base number and an exponent) and calculates the power.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;For example:&lt;/strong&gt;&amp;nbsp;In case of 2&lt;span style=&quot;font-size: 12px; line-height: 0; position: relative; top: -0.5em; vertical-align: baseline;&quot;&gt;3&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.8em; word-spacing: 3px;&quot;&gt;
&lt;li&gt;2 is the base number&lt;/li&gt;
&lt;li&gt;3 is the exponent&lt;/li&gt;
&lt;li&gt;And, the power is equal to 2*2*2&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Example #2: Power Using pow() Function&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;conio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;math.h&amp;gt;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int base, exponent, result;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; printf(&quot;Enter a base number: &quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;, &amp;amp;base);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; printf(&quot;Enter an exponent: &quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;, &amp;amp;exponent);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // calculates the power&lt;br /&gt;
&amp;nbsp; &amp;nbsp; result = pow(base, exponent);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; printf(&quot;%d^%d = %d&quot;, base, exponent, result);&lt;br /&gt;
printf(&quot;\nSubscribe My Channel&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return 0;&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;/blockquote&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: consolas, menlo, monaco, &amp;quot;lucida console&amp;quot;, &amp;quot;liberation mono&amp;quot;, &amp;quot;dejavu sans mono&amp;quot;, &amp;quot;bitstream vera sans mono&amp;quot;, &amp;quot;courier new&amp;quot;, courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: menlo, monaco, consolas, &amp;quot;courier new&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow: auto; padding: 9.5px; word-break: break-all; word-spacing: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Enter the value of base = 2
Enter the value of Exponent= 2
2^2 = 4&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/1cCc&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;download button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P9KLqFgvrKry4m4ycja-2uF_OA51uafP1atHRrluSSku56SM03Frj1fz01T_u90_G-F972i0a640oHPDdQMSuC8zSSVyGu1BljVxjXmDvDgL-IjDzyhhhEFX3ai-ubUEJ9HFZpIH4w0/s200/Files-Download-File-icon.png&quot; title=&quot;download file&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/1164904812128113366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/calculate-power-of-number.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/1164904812128113366'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/1164904812128113366'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/calculate-power-of-number.html' title='C Program to Calculate the Power of a Number'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_-jHptOSX-QaOBcxMSYoAlYbhdQdsNXhPUOgq-b-arlYtZt4aGzYwDsMmiPjpKGEaayp5Xsgw9LaQLLTZPOg6lmdpicdQgtkyZk6zZIFF3BFn6TB_avk98hgqHu2vKXB08hAQCedi0u8/s72-c/power-number_0.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-8673346892356973171</id><published>2017-09-07T02:25:00.001-07:00</published><updated>2017-09-07T02:27:17.379-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program to Calculate Percentage of Marks</title><content type='html'>&lt;h1 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom: 1px solid rgb(238, 238, 238); border-radius: 8px 8px 0px 0px; color: #252830; display: flex; font-family: Arial, Tahoma, &amp;quot;Trebuchet MS&amp;quot;, &amp;quot;Open Sans&amp;quot;; font-size: 2.5em; font-weight: normal; letter-spacing: -0.5px; line-height: 1.05; margin: 12px 0px 0.3em; padding: 0px 10px 10px;&quot;&gt;
C Program to&amp;nbsp;Calculate Percentage of Marks&lt;/h1&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;Example to calculate the Percentage of the student Marks. In this example we take input from user which is total marks or obtain marks...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYIlFBVldUz6ZuYccGDRmQ44H5IpqecuxaLnri-QNa7deg5nxqVYOcZ1UQVQC4fIOsQ3KRe0COqJNlIpG8FOR3DVUXf3A-AF6-K4J3UZppOmZkVILiqwcIhDsmHE6KK9jqFZ0XViarA7I/s1600/maxresdefault.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;960&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYIlFBVldUz6ZuYccGDRmQ44H5IpqecuxaLnri-QNa7deg5nxqVYOcZ1UQVQC4fIOsQ3KRe0COqJNlIpG8FOR3DVUXf3A-AF6-K4J3UZppOmZkVILiqwcIhDsmHE6KK9jqFZ0XViarA7I/s640/maxresdefault.jpg&quot; title=&quot;Calculate Percentage&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Example: Program to Calculate Percentage of Marks&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int tot;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;float obt;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;float formula;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;printf(&quot;Enter total marks= &quot;);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;scanf(&quot;%d&quot;, &amp;amp;tot);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;printf(&quot;\nEnter Obtain Marks= &quot;);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;scanf(&quot;%f&quot;, &amp;amp;obt);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; formula=(obt/tot)*100.0;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; printf(&quot;\nPercentage = %f&quot;, formula);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; printf(&quot;\n\nSubscribe My Channel&quot;);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; getch();&lt;br /&gt;
}&lt;/blockquote&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter Total Marks= 20
Enter Obtain Marks= 12
Percentage= 60.000008&lt;/samp&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/1bpq&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;download button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P9KLqFgvrKry4m4ycja-2uF_OA51uafP1atHRrluSSku56SM03Frj1fz01T_u90_G-F972i0a640oHPDdQMSuC8zSSVyGu1BljVxjXmDvDgL-IjDzyhhhEFX3ai-ubUEJ9HFZpIH4w0/s200/Files-Download-File-icon.png&quot; title=&quot;download file&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/8673346892356973171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/calculate-percentage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/8673346892356973171'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/8673346892356973171'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/calculate-percentage.html' title='C Program to Calculate Percentage of Marks'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYIlFBVldUz6ZuYccGDRmQ44H5IpqecuxaLnri-QNa7deg5nxqVYOcZ1UQVQC4fIOsQ3KRe0COqJNlIpG8FOR3DVUXf3A-AF6-K4J3UZppOmZkVILiqwcIhDsmHE6KK9jqFZ0XViarA7I/s72-c/maxresdefault.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-2172096834909486375</id><published>2017-09-07T01:49:00.000-07:00</published><updated>2017-09-07T03:05:27.613-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program to Print All Prime Numbers between 1 to N</title><content type='html'>&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: left; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h1 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom: 1px solid rgb(238, 238, 238); border-radius: 8px 8px 0px 0px; color: #252830; display: flex; font-family: Arial, Tahoma, &amp;quot;Trebuchet MS&amp;quot;, &amp;quot;Open Sans&amp;quot;; font-size: 2.5em; font-weight: normal; letter-spacing: -0.5px; line-height: 1.05; margin: 12px 0px 0.3em; padding: 0px 10px 10px;&quot;&gt;
C Program to&amp;nbsp;Print All Prime Numbers between 1 to N&lt;/h1&gt;
&lt;div style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: left; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 16.1px; word-spacing: 0px;&quot;&gt;A&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; box-sizing: border-box; color: black; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 16.1px; font-weight: 700; word-spacing: 0px;&quot;&gt;Prime number&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 16.1px; word-spacing: 0px;&quot;&gt;&amp;nbsp;is a natural number greater than 1 that is only divisible by either 1 or itself. All numbers other than&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; box-sizing: border-box; color: black; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 16.1px; font-weight: 700; word-spacing: 0px;&quot;&gt;prime numbers&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 16.1px; word-spacing: 0px;&quot;&gt;&amp;nbsp;are known as composite numbers.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: left; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 16.1px; word-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs8Vhn1XsVpl0rR0rgVO6KvMA3fYVAVeBfALQv0G8dHppq2cHLCMZX8OrbHrtEEDoVdzBUbTRpnBM7-RhdHy5XERCga2AM5GTG_Z8VkdanInExVsVr6kq7gB3zju0XnEgPXzZUJTItV3E/s1600/prime-numbers.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;450&quot; data-original-width=&quot;750&quot; height=&quot;384&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs8Vhn1XsVpl0rR0rgVO6KvMA3fYVAVeBfALQv0G8dHppq2cHLCMZX8OrbHrtEEDoVdzBUbTRpnBM7-RhdHy5XERCga2AM5GTG_Z8VkdanInExVsVr6kq7gB3zju0XnEgPXzZUJTItV3E/s640/prime-numbers.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: left; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 16.1px; word-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: left; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 16.1px; word-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: left; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 16.1px; word-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: left; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;A prime number is a positive integer which is divisible only by 1 and itself. For example: 2, 3, 5, 7, 11, 13&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: left; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: left; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Example: Program to Print Prime Number&lt;/h2&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;int main(){&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; int N, i, j, isPrime, n;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; printf(&quot;To print all prime numbers between 1 to N\n&quot;);&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Enter the value of N\n&quot;);&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;N);&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; /* For every number between 2 to N, check&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; whether it is prime number or not */&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Prime numbers between %d to %d\n&quot;, 1, N);&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; for(i = 2; i &amp;lt;= N; i++){&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; isPrime = 0;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* Check whether i is prime or not */&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for(j = 2; j &amp;lt;= i/2; j++){&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* Check If any number between 2 to i/2 divides I&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; completely If yes the i cannot be prime number */&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;if(i % j == 0){&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;isPrime = 1;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(isPrime==0 &amp;amp;&amp;amp; N!= 1)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;%d &quot;,i);&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp;getch();&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;&amp;nbsp; &amp;nbsp;return 0;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;word-spacing: 3px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;h2&gt;
&lt;span style=&quot;font-weight: normal; word-spacing: 3px;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; color: #252830; font-family: &amp;quot;open sans&amp;quot; , sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: left; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow: auto; padding: 9.5px; word-break: break-all; word-spacing: 0px; word-wrap: break-word;&quot;&gt;To print all prime numbers between 1 to N
Enter the value of N
50
Prime numbers between 1 to 50
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47&lt;/pre&gt;
&lt;/pre&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;If the&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;for&lt;/code&gt;&amp;nbsp;loop terminates when the test expression of loop, the entered number is a prime number. The value of&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;prime&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;is equal to 0 in this case.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
If the loop terminates because of&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;break&lt;/code&gt;&amp;nbsp;statement inside the&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;if&lt;/code&gt;&amp;nbsp;statement, the entered number is a nonprime number. The value of flag is 1 in this case.&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;/h2&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/1bBu&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;download button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P9KLqFgvrKry4m4ycja-2uF_OA51uafP1atHRrluSSku56SM03Frj1fz01T_u90_G-F972i0a640oHPDdQMSuC8zSSVyGu1BljVxjXmDvDgL-IjDzyhhhEFX3ai-ubUEJ9HFZpIH4w0/s200/Files-Download-File-icon.png&quot; title=&quot;download file&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/2172096834909486375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/print-all-prime-numbers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/2172096834909486375'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/2172096834909486375'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/print-all-prime-numbers.html' title='C Program to Print All Prime Numbers between 1 to N'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs8Vhn1XsVpl0rR0rgVO6KvMA3fYVAVeBfALQv0G8dHppq2cHLCMZX8OrbHrtEEDoVdzBUbTRpnBM7-RhdHy5XERCga2AM5GTG_Z8VkdanInExVsVr6kq7gB3zju0XnEgPXzZUJTItV3E/s72-c/prime-numbers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-6155710147284100553</id><published>2017-09-07T01:24:00.000-07:00</published><updated>2017-09-07T01:24:05.300-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program to Calculate the Sum of Natural Numbers</title><content type='html'>&lt;h1 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom: 1px solid rgb(238, 238, 238); border-radius: 8px 8px 0px 0px; color: #252830; display: flex; font-family: Arial, Tahoma, &amp;quot;Trebuchet MS&amp;quot;, &amp;quot;Open Sans&amp;quot;; font-size: 2.5em; font-weight: normal; letter-spacing: -0.5px; line-height: 1.05; margin: 12px 0px 0.3em; padding: 0px 10px 10px;&quot;&gt;
C Program to Calculate the Sum of Natural Numbers&lt;/h1&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;To compute the sum of natural numbers from 1 to n (entered by the user), loops can be used. You will learn how to use for loop and while loop to solve this problem.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHzdVbreSkfh-bqAE6-6-zB8oo94Bre7IuJYwYHRil9mN0L_bN6AdyHsRQJXCjVi7LGvPlLSUY2yVp0q2C0pRNL3WvM7gi9hbY1iOVjDSUPCqqHrVymyfFBmZfdsSfaBaXsaUvcgHKOgA/s1600/natural-numbers.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;433&quot; data-original-width=&quot;750&quot; height=&quot;368&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHzdVbreSkfh-bqAE6-6-zB8oo94Bre7IuJYwYHRil9mN0L_bN6AdyHsRQJXCjVi7LGvPlLSUY2yVp0q2C0pRNL3WvM7gi9hbY1iOVjDSUPCqqHrVymyfFBmZfdsSfaBaXsaUvcgHKOgA/s640/natural-numbers.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
The positive numbers 1, 2, 3... are known as natural numbers. The programs below takes a positive integer (let say&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;n&lt;/var&gt;) as an input from the user and calculates the sum up to&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;n&lt;/var&gt;.&lt;/div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Example #1: Sum of Natural Numbers Using for Loop&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;#include &amp;lt;conio.h&amp;gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; int n, i, sum = 0;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Enter a positive integer: &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; for(i=1; i &amp;lt;= n; ++i)&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sum += i;&amp;nbsp; &amp;nbsp;// sum = sum+i;&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Sum = %d&quot;,sum);&lt;br /&gt;&amp;nbsp; &amp;nbsp; getch();&lt;br /&gt;}&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;The above program takes the input from the user and stores in variable&amp;nbsp;&lt;/span&gt;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; color: #252830; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px; word-spacing: 3px;&quot;&gt;n&lt;/var&gt;&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;. Then, for loop is used to calculate the sum upto the given number.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter a positive integer: 100
Sum = 5050&lt;/samp&gt;&lt;/pre&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
In program, the loop is iterated&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;n&lt;/var&gt;&amp;nbsp;number of times. And, in each iteration, the value of&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;i&lt;/var&gt;&amp;nbsp;is added to&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;sum&lt;/var&gt;&amp;nbsp;and&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;i&lt;/var&gt;&amp;nbsp;is incremented by 1.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
Though both programs are technically correct, it is better to use for loop in this case. It&#39;s because the number of iteration is known.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
The above programs doesn&#39;t work properly if the user enters a negative integer. Here&#39;s a little modification of the above program to take input from the user until positive integer is entered.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/1anH&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;download button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P9KLqFgvrKry4m4ycja-2uF_OA51uafP1atHRrluSSku56SM03Frj1fz01T_u90_G-F972i0a640oHPDdQMSuC8zSSVyGu1BljVxjXmDvDgL-IjDzyhhhEFX3ai-ubUEJ9HFZpIH4w0/s200/Files-Download-File-icon.png&quot; title=&quot;download file&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&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://coolprogramming4u.blogspot.com/feeds/6155710147284100553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/sum-of-natural-number.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/6155710147284100553'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/6155710147284100553'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/sum-of-natural-number.html' title='C Program to Calculate the Sum of Natural Numbers'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHzdVbreSkfh-bqAE6-6-zB8oo94Bre7IuJYwYHRil9mN0L_bN6AdyHsRQJXCjVi7LGvPlLSUY2yVp0q2C0pRNL3WvM7gi9hbY1iOVjDSUPCqqHrVymyfFBmZfdsSfaBaXsaUvcgHKOgA/s72-c/natural-numbers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-4190076336049008338</id><published>2017-09-05T01:22:00.000-07:00</published><updated>2017-09-05T01:22:37.568-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program To Print the Table of any Number</title><content type='html'>&lt;div&gt;
&lt;h1 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom: 1px solid rgb(238, 238, 238); border-radius: 8px 8px 0px 0px; color: #252830; display: flex; font-weight: normal; letter-spacing: -0.5px; line-height: 1.05; margin: 12px 0px 0.3em; padding: 0px 10px 10px;&quot;&gt;
&lt;/h1&gt;
&lt;h2&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: x-large;&quot;&gt;C Program to Generate Multiplication Table.&lt;/span&gt;&lt;/h2&gt;
&lt;h2 style=&quot;height: 0px;&quot;&gt;
&lt;div class=&quot;page-short-description&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom: 1px solid rgb(238, 238, 238); font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; margin-top: 0px; padding: 6px 0px 20px; word-spacing: 3.5px;&quot;&gt;
Example to generate the multiplication table of a number (entered by the user) using for loop.&lt;/div&gt;
&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBFfBrJE_BOSDh8-lTeJnYWd0lZcCy9q36p9UgYCS85WmOihyDcX_kIS4DgAfHJK2f-GhBLgF8QxI0fbqJPcGwYa3Bv0Jtt_4DkXCb8WK_Et6JXtQbpnEK3Fb6WCvMrrAgvi5KrX0vE-I/s1600/multiplication-table.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;509&quot; data-original-width=&quot;750&quot; height=&quot;434&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBFfBrJE_BOSDh8-lTeJnYWd0lZcCy9q36p9UgYCS85WmOihyDcX_kIS4DgAfHJK2f-GhBLgF8QxI0fbqJPcGwYa3Bv0Jtt_4DkXCb8WK_Et6JXtQbpnEK3Fb6WCvMrrAgvi5KrX0vE-I/s640/multiplication-table.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
The program takes an integer input from the user and generates the multiplication table up to 10.&lt;/div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Example #1: Multiplication Table Up to 10&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;#include &amp;lt;conio.h&amp;gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; int n;&lt;br /&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Enter an integer: &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; for(int i=1; i&amp;lt;=10; ++i)&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;%d * %d = %d \n&quot;, n, i, n*i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; getch();&lt;br /&gt;}&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter an integer: 9
9 * 1 = 9
9 * 2 = 18
9 * 3 = 27
9 * 4 = 36
9 * 5 = 45
9 * 6 = 54
9 * 7 = 63
9 * 8 = 72
9 * 9 = 81
9 * 10 = 90
&lt;/samp&gt;&lt;/pre&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
Here&#39;s a little modification of the above program to generate the multiplication table up to a range (where&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;range&lt;/var&gt;&amp;nbsp;is also a positive integer entered by the user).&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/cJU&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;download button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P9KLqFgvrKry4m4ycja-2uF_OA51uafP1atHRrluSSku56SM03Frj1fz01T_u90_G-F972i0a640oHPDdQMSuC8zSSVyGu1BljVxjXmDvDgL-IjDzyhhhEFX3ai-ubUEJ9HFZpIH4w0/s200/Files-Download-File-icon.png&quot; title=&quot;download file&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&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://coolprogramming4u.blogspot.com/feeds/4190076336049008338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/table-of-any-number.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/4190076336049008338'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/4190076336049008338'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/table-of-any-number.html' title='C Program To Print the Table of any Number'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBFfBrJE_BOSDh8-lTeJnYWd0lZcCy9q36p9UgYCS85WmOihyDcX_kIS4DgAfHJK2f-GhBLgF8QxI0fbqJPcGwYa3Bv0Jtt_4DkXCb8WK_Et6JXtQbpnEK3Fb6WCvMrrAgvi5KrX0vE-I/s72-c/multiplication-table.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-4402674148473182767</id><published>2017-09-02T22:46:00.000-07:00</published><updated>2017-09-02T22:46:35.317-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program to Find Factorial of a Positive Negative and 0 Number</title><content type='html'>&lt;h1 style=&quot;background-color: white; border-bottom: 1px solid rgb(238, 238, 238); border-radius: 8px 8px 0px 0px; color: #252830; display: flex; font-family: arial, tahoma, &amp;quot;trebuchet ms&amp;quot;, &amp;quot;open sans&amp;quot;; font-size: 2.5em; font-weight: normal; letter-spacing: -0.5px; line-height: 1.05; margin: 12px 0px 0.3em; padding: 0px 10px 10px;&quot;&gt;
C Program to Find Factorial of a Any Number&lt;/h1&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;The factorial of a any integer n is equal to 1*2*3*...n. You will learn to calculate the factorial of a number using for loop in this example.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir-IEdrKDtBe_FuCEJa69ikZxCDGxlfoWo3pcEtf9AMk1ENbQGFxg9bX-V_WVNoq51AKSWYpRD7JxdDW5u_DnqebeTF5Wr-LW_ARZg8gftKU0__aN1-Oc7qHcxP9x2BHlI27bhQKf_WgM/s1600/factorial-number.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;433&quot; data-original-width=&quot;750&quot; height=&quot;368&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir-IEdrKDtBe_FuCEJa69ikZxCDGxlfoWo3pcEtf9AMk1ENbQGFxg9bX-V_WVNoq51AKSWYpRD7JxdDW5u_DnqebeTF5Wr-LW_ARZg8gftKU0__aN1-Oc7qHcxP9x2BHlI27bhQKf_WgM/s640/factorial-number.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
The factorial of a positive number n is given by:&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: consolas, menlo, monaco, &amp;quot;lucida console&amp;quot;, &amp;quot;liberation mono&amp;quot;, &amp;quot;dejavu sans mono&amp;quot;, &amp;quot;bitstream vera sans mono&amp;quot;, &amp;quot;courier new&amp;quot;, courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;factorial of n (n!) = 1*2*3*4....n
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;div style=&quot;margin-bottom: 1.4em;&quot;&gt;
The factorial of a negative number n is given by:&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); font-family: consolas, menlo, monaco, &amp;quot;lucida console&amp;quot;, &amp;quot;liberation mono&amp;quot;, &amp;quot;dejavu sans mono&amp;quot;, &amp;quot;bitstream vera sans mono&amp;quot;, &amp;quot;courier new&amp;quot;, courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px;&quot;&gt;factorial of -n (-n!) = -1*-2*-3*-4....-n&lt;/pre&gt;
&lt;br /&gt;
&amp;nbsp;And, the factorial of 0 is 1,&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;0! = 1&lt;/code&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Example: Factorial of a Number&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int a;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int fact=1;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;printf(&quot;Enter an integer: \n&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;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if(a&amp;lt;0)&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;a=-a;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for(int i=1; i&amp;lt;=a; i++)&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;fact=fact*i;&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;printf(&quot;Factorial of the %d=%d&quot;, -a, -fact);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return -fact;&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;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;if(a&amp;gt;0)&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;for(int i=1; i&amp;lt;=a; i++)&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;fact=fact*i;&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;printf(&quot;Factorial of the %d = %d&quot;, a, fact);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return fact;&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;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;if(a==0)&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;printf(&quot;The factorial of %d = 1&quot;, a);&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;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;getch();&lt;br /&gt;}&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output 1:&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: consolas, menlo, monaco, &amp;quot;lucida console&amp;quot;, &amp;quot;liberation mono&amp;quot;, &amp;quot;dejavu sans mono&amp;quot;, &amp;quot;bitstream vera sans mono&amp;quot;, &amp;quot;courier new&amp;quot;, courier, monospace; font-size: 15px; margin: -0.8em 0px 1.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;Enter an integer: 10
Factorial of 10 = 3628800
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;div style=&quot;margin-bottom: 1.4em;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output 2:&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); font-family: consolas, menlo, monaco, &amp;quot;lucida console&amp;quot;, &amp;quot;liberation mono&amp;quot;, &amp;quot;dejavu sans mono&amp;quot;, &amp;quot;bitstream vera sans mono&amp;quot;, &amp;quot;courier new&amp;quot;, courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px;&quot;&gt;Enter an integer: -10
Factorial of 10 = -3628800&lt;/pre&gt;
&lt;div style=&quot;margin-bottom: 1.4em;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output 3:&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); font-family: consolas, menlo, monaco, &amp;quot;lucida console&amp;quot;, &amp;quot;liberation mono&amp;quot;, &amp;quot;dejavu sans mono&amp;quot;, &amp;quot;bitstream vera sans mono&amp;quot;, &amp;quot;courier new&amp;quot;, courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px;&quot;&gt;Enter an integer: 0
Factorial of 0 = 1&lt;/pre&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
This program takes a positive integer from the user and computes factorial using for loop.&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Since the factorial of a number may be very large, the type of&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;factorial&lt;/var&gt;&amp;nbsp;variable is declared as&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;unsigned long long&lt;/code&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
If the user enters negative number, the program displays error message.&lt;/div&gt;
&lt;/div&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin: 0px; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/20XG&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;download button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P9KLqFgvrKry4m4ycja-2uF_OA51uafP1atHRrluSSku56SM03Frj1fz01T_u90_G-F972i0a640oHPDdQMSuC8zSSVyGu1BljVxjXmDvDgL-IjDzyhhhEFX3ai-ubUEJ9HFZpIH4w0/s200/Files-Download-File-icon.png&quot; title=&quot;download file&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/4402674148473182767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/factorial-of-positive-negaitive-0-num.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/4402674148473182767'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/4402674148473182767'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/factorial-of-positive-negaitive-0-num.html' title='C Program to Find Factorial of a Positive Negative and 0 Number'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir-IEdrKDtBe_FuCEJa69ikZxCDGxlfoWo3pcEtf9AMk1ENbQGFxg9bX-V_WVNoq51AKSWYpRD7JxdDW5u_DnqebeTF5Wr-LW_ARZg8gftKU0__aN1-Oc7qHcxP9x2BHlI27bhQKf_WgM/s72-c/factorial-number.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-4643322681004806242</id><published>2017-09-02T22:27:00.001-07:00</published><updated>2017-09-02T22:27:45.342-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program to Calculate the Sum of Natural Numbers</title><content type='html'>&lt;h1 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom: 1px solid rgb(238, 238, 238); border-radius: 8px 8px 0px 0px; color: #252830; display: flex; font-family: Arial, Tahoma, &amp;quot;Trebuchet MS&amp;quot;, &amp;quot;Open Sans&amp;quot;; font-size: 2.5em; font-weight: normal; letter-spacing: -0.5px; line-height: 1.05; margin: 12px 0px 0.3em; padding: 0px 10px 10px;&quot;&gt;
C Program to Calculate the Sum of Natural Numbers&lt;/h1&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;To compute the sum of natural numbers from 1 to n (entered by the user), loops can be used. You will learn how to use for loop and while loop to solve this problem.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_-sGdfQBQ5huADviTiVNYIkZqb327QZ6W1Vjc5a11M9zHdkXnGfJHRYvc3LVNzBWQhvr8x4kSGRFm_kAanoopHXcaI1ldIkPH_BsyrmHTLk5RZbINhW0zeioGJvmYtIMpiTxe2COy-bA/s1600/natural-numbers.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;433&quot; data-original-width=&quot;750&quot; height=&quot;368&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_-sGdfQBQ5huADviTiVNYIkZqb327QZ6W1Vjc5a11M9zHdkXnGfJHRYvc3LVNzBWQhvr8x4kSGRFm_kAanoopHXcaI1ldIkPH_BsyrmHTLk5RZbINhW0zeioGJvmYtIMpiTxe2COy-bA/s640/natural-numbers.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;The positive numbers 1, 2, 3... are known as natural numbers. The programs below takes a positive integer (let say&amp;nbsp;&lt;/span&gt;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; color: #252830; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px; word-spacing: 3px;&quot;&gt;n&lt;/var&gt;&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;) as an input from the user and calculates the sum up to&amp;nbsp;&lt;/span&gt;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; color: #252830; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px; word-spacing: 3px;&quot;&gt;n&lt;/var&gt;&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Example #1: Sum of Natural Numbers Using for Loop&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;blockquote&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; int n, i, sum = 0;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Enter a positive integer: &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;&amp;nbsp; &amp;nbsp; for(i=1; i &amp;lt;= n; ++i)&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sum += i; &amp;nbsp; // sum = sum+i;&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Sum = %d&quot;,sum);&lt;br /&gt;&amp;nbsp; &amp;nbsp; return 0;&lt;br /&gt;}&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;The above program takes the input from the user and stores in variable&amp;nbsp;&lt;/span&gt;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; color: #252830; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px; word-spacing: 3px;&quot;&gt;n&lt;/var&gt;&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;. Then, for loop is used to calculate the sum upto the given number.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter a positive integer: 100
Sum = 5050&lt;/samp&gt;&lt;/pre&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
In both programs, the loop is iterated&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;n&lt;/var&gt;&amp;nbsp;number of times. And, in each iteration, the value of&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;i&lt;/var&gt;&amp;nbsp;is added to&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;sum&lt;/var&gt;&amp;nbsp;and&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;i&lt;/var&gt;&amp;nbsp;is incremented by 1.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
Though both programs are technically correct, it is better to use for loop in this case. It&#39;s because the number of iteration is known.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
The above programs doesn&#39;t work properly if the user enters a negative integer. Here&#39;s a little modification of the above program to take input from the user until positive integer is entered.&lt;/div&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/215Y&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;download button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P9KLqFgvrKry4m4ycja-2uF_OA51uafP1atHRrluSSku56SM03Frj1fz01T_u90_G-F972i0a640oHPDdQMSuC8zSSVyGu1BljVxjXmDvDgL-IjDzyhhhEFX3ai-ubUEJ9HFZpIH4w0/s200/Files-Download-File-icon.png&quot; title=&quot;download file&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/4643322681004806242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/sum-of-natural.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/4643322681004806242'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/4643322681004806242'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/sum-of-natural.html' title='C Program to Calculate the Sum of Natural Numbers'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_-sGdfQBQ5huADviTiVNYIkZqb327QZ6W1Vjc5a11M9zHdkXnGfJHRYvc3LVNzBWQhvr8x4kSGRFm_kAanoopHXcaI1ldIkPH_BsyrmHTLk5RZbINhW0zeioGJvmYtIMpiTxe2COy-bA/s72-c/natural-numbers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-1972768532833504732</id><published>2017-09-02T21:56:00.001-07:00</published><updated>2017-09-02T22:37:28.287-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program to Find Factorial of a Number The factorial of a positive integer.</title><content type='html'>&lt;h1 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom: 1px solid rgb(238, 238, 238); border-radius: 8px 8px 0px 0px; color: #252830; display: flex; font-family: Arial, Tahoma, &amp;quot;Trebuchet MS&amp;quot;, &amp;quot;Open Sans&amp;quot;; font-size: 2.5em; font-weight: normal; letter-spacing: -0.5px; line-height: 1.05; margin: 12px 0px 0.3em; padding: 0px 10px 10px;&quot;&gt;
C Program to Find Factorial of a Positive Number&lt;/h1&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;The factorial of a positive integer n is equal to 1*2*3*...n. You will learn to calculate the factorial of a number using for loop in this example.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir-IEdrKDtBe_FuCEJa69ikZxCDGxlfoWo3pcEtf9AMk1ENbQGFxg9bX-V_WVNoq51AKSWYpRD7JxdDW5u_DnqebeTF5Wr-LW_ARZg8gftKU0__aN1-Oc7qHcxP9x2BHlI27bhQKf_WgM/s1600/factorial-number.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;433&quot; data-original-width=&quot;750&quot; height=&quot;368&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir-IEdrKDtBe_FuCEJa69ikZxCDGxlfoWo3pcEtf9AMk1ENbQGFxg9bX-V_WVNoq51AKSWYpRD7JxdDW5u_DnqebeTF5Wr-LW_ARZg8gftKU0__aN1-Oc7qHcxP9x2BHlI27bhQKf_WgM/s640/factorial-number.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
The factorial of a positive number n is given by:&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;factorial of n (n!) = 1*2*3*4....n
&lt;/pre&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
The factorial of a negative number doesn&#39;t exist. And, the factorial of 0 is 1,&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;0! = 1&lt;/code&gt;&lt;/div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Example: Factorial of a Number&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;int main()&lt;br /&gt;{ &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int a;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int fact=1;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Enter an integer: \n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;, &amp;amp;a); &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(a&amp;lt;0)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;See Next Program to find factorial of 0 or negative value Thanks\n&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(a&amp;gt;0) &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for(int i=1; i&amp;lt;=a; i++) &amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fact=fact*i; &amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;Factorial of the %d = %d&quot;, a, fact); &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return fact; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{ &amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if(a==0) &amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;See Next Program to find factorial of 0 or negative value Thanks\n&quot;); &amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;getch();&lt;br /&gt;}&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;Enter an integer: 10
Factorial of 10 = 3628800
&lt;/pre&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
This program takes a positive integer from the user and computes factorial using for loop.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
Since the factorial of a number may be very large, the type of&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;factorial&lt;/var&gt;&amp;nbsp;variable is declared as&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;unsigned long long&lt;/code&gt;.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
If the user enters negative number, the program displays error message.&lt;/div&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/21JS&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;download button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P9KLqFgvrKry4m4ycja-2uF_OA51uafP1atHRrluSSku56SM03Frj1fz01T_u90_G-F972i0a640oHPDdQMSuC8zSSVyGu1BljVxjXmDvDgL-IjDzyhhhEFX3ai-ubUEJ9HFZpIH4w0/s200/Files-Download-File-icon.png&quot; title=&quot;download file&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #9999aa; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/1972768532833504732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/fact-of-positive-num.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/1972768532833504732'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/1972768532833504732'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/fact-of-positive-num.html' title='C Program to Find Factorial of a Number The factorial of a positive integer.'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir-IEdrKDtBe_FuCEJa69ikZxCDGxlfoWo3pcEtf9AMk1ENbQGFxg9bX-V_WVNoq51AKSWYpRD7JxdDW5u_DnqebeTF5Wr-LW_ARZg8gftKU0__aN1-Oc7qHcxP9x2BHlI27bhQKf_WgM/s72-c/factorial-number.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-6249870293027051146</id><published>2017-09-02T12:49:00.000-07:00</published><updated>2017-09-02T12:50:39.803-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program to Check Whether a Number is Even or Odd</title><content type='html'>&lt;h1 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom: 1px solid rgb(238, 238, 238); border-radius: 8px 8px 0px 0px; color: #252830; display: flex; font-family: Arial, Tahoma, &amp;quot;Trebuchet MS&amp;quot;, &amp;quot;Open Sans&amp;quot;; font-weight: normal; letter-spacing: -0.5px; line-height: 1.05; margin: 12px 0px 0.3em; padding: 0px 10px 10px;&quot;&gt;
&lt;/h1&gt;
&lt;h2&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;C Program to Check Whether a Number is Even or Odd&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;In this example, if...else statement is used to check whether a number entered by the user is even or odd.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimTp8cN410T39Rvs_xTxuzEqIXaEgHedWjnkR9ngdKmkwci-OWVMz9F7fegsP_Fj6QkxyNlXrqTpN6xB4pwXxpDa7lle7voHUjm7fE_Xg7z03S6tSkRR8Mop_mBzSXfif3LLLr9HxCWEQ/s1600/c-even-odd.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; data-original-height=&quot;589&quot; data-original-width=&quot;750&quot; height=&quot;313&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimTp8cN410T39Rvs_xTxuzEqIXaEgHedWjnkR9ngdKmkwci-OWVMz9F7fegsP_Fj6QkxyNlXrqTpN6xB4pwXxpDa7lle7voHUjm7fE_Xg7z03S6tSkRR8Mop_mBzSXfif3LLLr9HxCWEQ/s400/c-even-odd.jpg&quot; title=&quot;even odd&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&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
An even number is an integer that is exactly divisible by 2. Example: 0, 8, -24&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
An odd number is an integer that is not exactly divisible by 2. Example: 1, 7, -11, 15&lt;/div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Example #1: Program to Check Even or Odd&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; int number;&lt;br /&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Enter an integer: &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;, &amp;amp;number);&lt;br /&gt;&amp;nbsp; &amp;nbsp; // True if the number is perfectly divisible by 2&lt;br /&gt;&amp;nbsp; &amp;nbsp; if(number % 2 == 0)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;%d is even.&quot;, number);&lt;br /&gt;&amp;nbsp; &amp;nbsp; else&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;%d is odd.&quot;, number);&lt;br /&gt;&amp;nbsp; &amp;nbsp; getch();&lt;br /&gt;}&lt;/blockquote&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter an integer: -7
-7 is odd.&lt;/samp&gt;&lt;/pre&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
In the program, integer entered by the user is stored in variable&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;number&lt;/var&gt;.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
Then, whether the number is perfectly divisible by 2 or not is checked using modulus operator.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
If the number is perfectly divisible by 2, test expression&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;number%2 == 0&lt;/code&gt;&amp;nbsp;evaluates to 1 (true) and the number is even.&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; word-spacing: 3px;&quot;&gt;However, if the test expression evaluates to 0 (false), the number is odd.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&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;a href=&quot;http://kaitect.com/1tVD&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;download button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P9KLqFgvrKry4m4ycja-2uF_OA51uafP1atHRrluSSku56SM03Frj1fz01T_u90_G-F972i0a640oHPDdQMSuC8zSSVyGu1BljVxjXmDvDgL-IjDzyhhhEFX3ai-ubUEJ9HFZpIH4w0/s200/Files-Download-File-icon.png&quot; title=&quot;download file&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/6249870293027051146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/check-odd-even.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/6249870293027051146'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/6249870293027051146'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/check-odd-even.html' title='C Program to Check Whether a Number is Even or Odd'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimTp8cN410T39Rvs_xTxuzEqIXaEgHedWjnkR9ngdKmkwci-OWVMz9F7fegsP_Fj6QkxyNlXrqTpN6xB4pwXxpDa7lle7voHUjm7fE_Xg7z03S6tSkRR8Mop_mBzSXfif3LLLr9HxCWEQ/s72-c/c-even-odd.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-7970229830945962994</id><published>2017-09-02T12:03:00.000-07:00</published><updated>2017-09-02T12:36:12.635-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program to Check Whether a Number is Positive or Negative</title><content type='html'>&lt;h1 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom: 1px solid rgb(238, 238, 238); border-radius: 8px 8px 0px 0px; color: #252830; display: flex; font-weight: normal; letter-spacing: -0.5px; line-height: 1.05; margin: 12px 0px 0.3em; padding: 0px 10px 10px;&quot;&gt;
&lt;/h1&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;C Program to Check Whether a Number is Positive or Negative&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv85MBkd62ElY5NsL2FsJt0IVK-6Zqg8hyea6hyRmJAf3LvZcuwIcDd9tOoIaR54TnNIqzyrMns9SJgIXNZ8-zDdsYdsJPaMWz4jVBSHYo7Zvc5gKe2Br6iwObsIf7CS6tFyyqKJ72lZE/s1600/3309253.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; data-original-height=&quot;148&quot; data-original-width=&quot;429&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv85MBkd62ElY5NsL2FsJt0IVK-6Zqg8hyea6hyRmJAf3LvZcuwIcDd9tOoIaR54TnNIqzyrMns9SJgIXNZ8-zDdsYdsJPaMWz4jVBSHYo7Zvc5gKe2Br6iwObsIf7CS6tFyyqKJ72lZE/s640/3309253.gif&quot; title=&quot;Positive Negative&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;In this example, you will learn to check whether a number (entered by the user) is negative or positive.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; font-weight: 600; word-spacing: 3.5px;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
This program takes a number from the user and checks whether that number is either positive or negative or zero.&lt;/div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Example #1: Check if a Number is Positive or Negative Using if...else&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;conio.h&amp;gt;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int number;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; printf(&quot;Enter a number: &quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;, &amp;amp;number);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // true if number is less than 0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (number &amp;lt; 0)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;You entered a negative number.&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // true if number is greater than 0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; else if ( number &amp;gt; 0)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;You entered a positive number.&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // if both test expression is evaluated to false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; else&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;You entered 0&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; getch();&lt;br /&gt;
}&lt;br /&gt;
//https://www.coolprogramming4u.blogspot.com&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output 1&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter a number: 12.3
You entered a positive number.&lt;/samp&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;
&lt;/samp&gt;&lt;/pre&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output 2&lt;/strong&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter a number: 0
You entered 0.&lt;/samp&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output 3&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter a number: -5
You entered a negative number.&lt;/samp&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/1tIs&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;download button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P9KLqFgvrKry4m4ycja-2uF_OA51uafP1atHRrluSSku56SM03Frj1fz01T_u90_G-F972i0a640oHPDdQMSuC8zSSVyGu1BljVxjXmDvDgL-IjDzyhhhEFX3ai-ubUEJ9HFZpIH4w0/s200/Files-Download-File-icon.png&quot; title=&quot;download file&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/7970229830945962994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/chech-neg-pos-numbers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/7970229830945962994'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/7970229830945962994'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/09/chech-neg-pos-numbers.html' title='C Program to Check Whether a Number is Positive or Negative'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv85MBkd62ElY5NsL2FsJt0IVK-6Zqg8hyea6hyRmJAf3LvZcuwIcDd9tOoIaR54TnNIqzyrMns9SJgIXNZ8-zDdsYdsJPaMWz4jVBSHYo7Zvc5gKe2Br6iwObsIf7CS6tFyyqKJ72lZE/s72-c/3309253.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-1463090211505984694</id><published>2017-08-30T10:00:00.000-07:00</published><updated>2017-09-02T11:04:02.456-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program Division Of Two Number</title><content type='html'>&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;C Program to Div Two Numbers&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; word-spacing: 3.5px;&quot;&gt;In this program, user is asked to enter two integers. Then, the Div of those two integers is stored in a variable and displayed on the screen.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFBauJysPoz75IMCw_6BXAPdMeLvelHdv5PL03z7aKVlF5b1LJC3EWqifsk_FcDPmNZ9JoZjZUcTK1AOlBg76S08BNzIExXk0xbkC0b4LfYWW8yaX9ZfPAla3LIq0ZA5eUqZ8dNslu8Rk/s1600/mqdefault.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;div of two number in c&quot; border=&quot;0&quot; data-original-height=&quot;180&quot; data-original-width=&quot;320&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFBauJysPoz75IMCw_6BXAPdMeLvelHdv5PL03z7aKVlF5b1LJC3EWqifsk_FcDPmNZ9JoZjZUcTK1AOlBg76S08BNzIExXk0xbkC0b4LfYWW8yaX9ZfPAla3LIq0ZA5eUqZ8dNslu8Rk/s400/mqdefault.jpg&quot; title=&quot;division of two numbers&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;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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;h2 style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Program to Div Two Integers&lt;/h2&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; margin-left: -1pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 119.25pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;border: 1pt solid; height: 119.25pt; padding: 0in 5.4pt; width: 436.5pt;&quot; valign=&quot;top&quot; width=&quot;582&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
#include &amp;lt;conio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
int main()&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int firstNumber, secondNumber, divOfTwoNumbers;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Enter two integers: &quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Two integers entered by user is stored using scanf() function&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %d&quot;, &amp;amp;firstNumber, &amp;amp;secondNumber);&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // div of two numbers in stored in variable divOfTwoNumbers&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; divOfTwoNumbers = firstNumber * secondNumber;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Displays div &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d / %d = %d&quot;, firstNumber, secondNumber, divOfTwoNumbers);&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
getch();&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
}&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&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;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: consolas, menlo, monaco, &amp;quot;lucida console&amp;quot;, &amp;quot;liberation mono&amp;quot;, &amp;quot;dejavu sans mono&amp;quot;, &amp;quot;bitstream vera sans mono&amp;quot;, &amp;quot;courier new&amp;quot;, courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter two integers: 1736
14
1736 / 14 = 124&lt;/samp&gt;
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
In this program, user is asked to enter two integers. Two integers entered by the user is stored in variables&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;firstNumber&lt;/var&gt;&amp;nbsp;and&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;secondNumber&lt;/var&gt;&amp;nbsp;respectively. This is done using&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;scanf()&lt;/code&gt;function.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
Then, variables&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;firstNumber&amp;nbsp;&lt;/var&gt;and&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;secondNumber&lt;/var&gt;&amp;nbsp;are subtracting using - operator and the result is stored in div&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;OfTwoNumbers&lt;/var&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&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/AVvXsEidHDO4xt7u-LPaWwNudvkPFJoLpxnxbgnLxRvtju0wuAgCl41x4m17xdXRntrwFH5-s5dj51dah4-46crO11O-dtnTd3N3Bvh9qktnnt07ZOJu9-YCWohRAXdkNdO5MmqS5HzEY64UQ80/s1600/download.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;207&quot; data-original-width=&quot;243&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidHDO4xt7u-LPaWwNudvkPFJoLpxnxbgnLxRvtju0wuAgCl41x4m17xdXRntrwFH5-s5dj51dah4-46crO11O-dtnTd3N3Bvh9qktnnt07ZOJu9-YCWohRAXdkNdO5MmqS5HzEY64UQ80/s1600/download.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Finally, the &lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;div&lt;/span&gt;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;ofTwoNumbers&lt;/var&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;is displayed on the screen using&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;printf()&lt;/code&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;function.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/1rLW&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;download button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P9KLqFgvrKry4m4ycja-2uF_OA51uafP1atHRrluSSku56SM03Frj1fz01T_u90_G-F972i0a640oHPDdQMSuC8zSSVyGu1BljVxjXmDvDgL-IjDzyhhhEFX3ai-ubUEJ9HFZpIH4w0/s200/Files-Download-File-icon.png&quot; title=&quot;download file&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/1463090211505984694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/Div-of-two-numbers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/1463090211505984694'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/1463090211505984694'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/Div-of-two-numbers.html' title='C Program Division Of Two Number'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFBauJysPoz75IMCw_6BXAPdMeLvelHdv5PL03z7aKVlF5b1LJC3EWqifsk_FcDPmNZ9JoZjZUcTK1AOlBg76S08BNzIExXk0xbkC0b4LfYWW8yaX9ZfPAla3LIq0ZA5eUqZ8dNslu8Rk/s72-c/mqdefault.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-943211028307069365</id><published>2017-08-29T10:30:00.000-07:00</published><updated>2017-09-02T10:55:30.765-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program Multiplication of two numbers</title><content type='html'>&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;C Program to Mul Two Numbers&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; word-spacing: 3.5px;&quot;&gt;In this program, user is asked to enter two integers. Then, the mul of those two integers is stored in a variable and displayed on the screen.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh1zqUyAZcOe6H1dl7iJ_aIEfKvfBl8I8IFXTj2p9HmfrzQYA_YV08eSUkWMerk3lFceITnaMebBeS-gy_KC79NFmp6Rc9Gfcb9MMbiVAvCappbEWu9TCLY_57P0QbY8jsTlyCcwJG8do/s1600/maxresdefault.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh1zqUyAZcOe6H1dl7iJ_aIEfKvfBl8I8IFXTj2p9HmfrzQYA_YV08eSUkWMerk3lFceITnaMebBeS-gy_KC79NFmp6Rc9Gfcb9MMbiVAvCappbEWu9TCLY_57P0QbY8jsTlyCcwJG8do/s400/maxresdefault.jpg&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;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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;h2 style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Program to Mul Two Integers&lt;/h2&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; margin-left: -1pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 119.25pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;border: 1pt solid; height: 119.25pt; padding: 0in 5.4pt; width: 436.5pt;&quot; valign=&quot;top&quot; width=&quot;582&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
#include &amp;lt;conio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
int main()&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int firstNumber, secondNumber, mulOfTwoNumbers;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Enter two integers: &quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Two integers entered by user is stored using scanf() function&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %d&quot;, &amp;amp;firstNumber, &amp;amp;secondNumber);&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // mul of two numbers in stored in variable mulOfTwoNumbers&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; mulOfTwoNumbers = firstNumber * secondNumber;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Displays muliplication &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d * %d = %d&quot;, firstNumber, secondNumber, mulOfTwoNumbers);&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
getch();&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
}&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&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;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: consolas, menlo, monaco, &amp;quot;lucida console&amp;quot;, &amp;quot;liberation mono&amp;quot;, &amp;quot;dejavu sans mono&amp;quot;, &amp;quot;bitstream vera sans mono&amp;quot;, &amp;quot;courier new&amp;quot;, courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter two integers: 22
43
22 * 43 = 946&lt;/samp&gt;
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
In this program, user is asked to enter two integers. Two integers entered by the user is stored in variables&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;firstNumber&lt;/var&gt;&amp;nbsp;and&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;secondNumber&lt;/var&gt;&amp;nbsp;respectively. This is done using&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;scanf()&lt;/code&gt;function.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
Then, variables&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;firstNumber&amp;nbsp;&lt;/var&gt;and&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;secondNumber&lt;/var&gt;&amp;nbsp;are subtracting using - operator and the result is stored in&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;mulOfTwoNumbers&lt;/var&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&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/AVvXsEg6uP9Cq4E417D_ueVl27dtHB1FS8NuuZzYaC4O-EPq2F5EaXnU9McQjUfGFzDNYvd09nOlY1vS_j4BZIjHnZio87g1dkHyZgKpMbNJHfu4kaA0aSf1IHZ0gRxA3bGsrbiaRWfGO_GhuQs/s1600/images.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;180&quot; data-original-width=&quot;280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6uP9Cq4E417D_ueVl27dtHB1FS8NuuZzYaC4O-EPq2F5EaXnU9McQjUfGFzDNYvd09nOlY1vS_j4BZIjHnZio87g1dkHyZgKpMbNJHfu4kaA0aSf1IHZ0gRxA3bGsrbiaRWfGO_GhuQs/s1600/images.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; margin-bottom: 1.4em; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 3px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Finally, the mul&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;ofTwoNumbers&lt;/var&gt;&amp;nbsp;is displayed on the screen using&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;printf()&lt;/code&gt;&amp;nbsp;function.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/1rWF&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;download button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxShlkitmaCm3pekn_2KASVGUQ082ssoBuXZsdnKOI9TTRpkeTwvgXcIQTAIpkjEZcv6d2soPF-lmhHNenWc-dQt1_0ZqNRdnFzaCBOmQZ7x7MhpNy4HE-RRvlJBc1LQar04A-1xOpd0A/s200/Files-Download-File-icon.png&quot; title=&quot;download&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/943211028307069365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/mul-of-two-numbers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/943211028307069365'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/943211028307069365'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/mul-of-two-numbers.html' title='C Program Multiplication of two numbers'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh1zqUyAZcOe6H1dl7iJ_aIEfKvfBl8I8IFXTj2p9HmfrzQYA_YV08eSUkWMerk3lFceITnaMebBeS-gy_KC79NFmp6Rc9Gfcb9MMbiVAvCappbEWu9TCLY_57P0QbY8jsTlyCcwJG8do/s72-c/maxresdefault.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-6404997083591016919</id><published>2017-08-28T10:00:00.000-07:00</published><updated>2017-09-02T11:00:52.640-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program Subtraction of two Numbers</title><content type='html'>&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;C Program to Sub Two Numbers&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; word-spacing: 3.5px;&quot;&gt;In this program, user is asked to enter two integers. Then, the sub of those two integers is stored in a variable and displayed on the screen.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigDrmsjya5adGpUP22uGsJzD4YkdWVWbO1Qw02THrL8QubY_eH5yWuzJb8gahFhJH4ulacWBm85EJ54VuM7ysUdWcXdHIYxpkqkoZ3fv3sT5CTz6CcqQvWJcTBqCPn8T2DHF7584XNbPQ/s1600/0-subtracting-two-digit-numbers.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;sub of two numbers&quot; border=&quot;0&quot; data-original-height=&quot;240&quot; data-original-width=&quot;320&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigDrmsjya5adGpUP22uGsJzD4YkdWVWbO1Qw02THrL8QubY_eH5yWuzJb8gahFhJH4ulacWBm85EJ54VuM7ysUdWcXdHIYxpkqkoZ3fv3sT5CTz6CcqQvWJcTBqCPn8T2DHF7584XNbPQ/s400/0-subtracting-two-digit-numbers.jpg&quot; title=&quot;subtract of two numbers&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;/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;h2 style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Program to Sub Two Integers&lt;/h2&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; margin-left: -1pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 119.25pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;border: 1pt solid; height: 119.25pt; padding: 0in 5.4pt; width: 436.5pt;&quot; valign=&quot;top&quot; width=&quot;582&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
#include &amp;lt;conio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
int main()&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int firstNumber, secondNumber, subOfTwoNumbers;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Enter two integers: &quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Two integers entered by user is stored using scanf() function&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d %d&quot;, &amp;amp;firstNumber, &amp;amp;secondNumber);&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // sub of two numbers in stored in variable sumOfTwoNumbers&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; subOfTwoNumbers = firstNumber - secondNumber;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Displays sub &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d - %d = %d&quot;, firstNumber, secondNumber, subOfTwoNumbers);&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
getch();&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
}&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&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;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: consolas, menlo, monaco, &amp;quot;lucida console&amp;quot;, &amp;quot;liberation mono&amp;quot;, &amp;quot;dejavu sans mono&amp;quot;, &amp;quot;bitstream vera sans mono&amp;quot;, &amp;quot;courier new&amp;quot;, courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter two integers: 12
11
12 - 11 = 1&lt;/samp&gt;
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
In this program, user is asked to enter two integers. Two integers entered by the user is stored in variables&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;firstNumber&lt;/var&gt;&amp;nbsp;and&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;secondNumber&lt;/var&gt;&amp;nbsp;respectively. This is done using&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;scanf()&lt;/code&gt;function.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
Then, variables&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;firstNumber&amp;nbsp;&lt;/var&gt;and&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;secondNumber&lt;/var&gt;&amp;nbsp;are subtracting using - operator and the result is stored in&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;subOfTwoNumbers&lt;/var&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&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/AVvXsEgvUJgnXXfFywjAQ6-WtuNdGL5K6Irm_QYsIwiECzK3iQ76G0XE39mB2LXrfpyJqfuYwTd2Hd2C56VqwbaprFCjzuJJEZSDHjw2N0A4bcX4O328D8YIWg3rxzNcVCG8xcpHjaBWkL2SQ40/s1600/images.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;120&quot; data-original-width=&quot;288&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvUJgnXXfFywjAQ6-WtuNdGL5K6Irm_QYsIwiECzK3iQ76G0XE39mB2LXrfpyJqfuYwTd2Hd2C56VqwbaprFCjzuJJEZSDHjw2N0A4bcX4O328D8YIWg3rxzNcVCG8xcpHjaBWkL2SQ40/s400/images.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
Finally, the&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;subofTwoNumbers&lt;/var&gt;&amp;nbsp;is displayed on the screen using&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;printf()&lt;/code&gt;&amp;nbsp;function.&lt;/div&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/1rcn&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot; Download Button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxShlkitmaCm3pekn_2KASVGUQ082ssoBuXZsdnKOI9TTRpkeTwvgXcIQTAIpkjEZcv6d2soPF-lmhHNenWc-dQt1_0ZqNRdnFzaCBOmQZ7x7MhpNy4HE-RRvlJBc1LQar04A-1xOpd0A/s200/Files-Download-File-icon.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;-webkit-text-stroke-width: 0px; clear: both; color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; margin: 0px; orphans: 2; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/6404997083591016919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/sub-of-two-numbers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/6404997083591016919'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/6404997083591016919'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/sub-of-two-numbers.html' title='C Program Subtraction of two Numbers'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigDrmsjya5adGpUP22uGsJzD4YkdWVWbO1Qw02THrL8QubY_eH5yWuzJb8gahFhJH4ulacWBm85EJ54VuM7ysUdWcXdHIYxpkqkoZ3fv3sT5CTz6CcqQvWJcTBqCPn8T2DHF7584XNbPQ/s72-c/0-subtracting-two-digit-numbers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-2119733181097238821</id><published>2017-08-27T10:00:00.000-07:00</published><updated>2017-09-02T11:14:09.872-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program to Add Two Numbers</title><content type='html'>&lt;h2 style=&quot;height: 0px;&quot;&gt;
&lt;/h2&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;C Program to Add Two Numbers&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; word-spacing: 3.5px;&quot;&gt;In this program, user is asked to enter two integers. Then, the sum of those two integers is stored in a variable and displayed on the screen.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8VqV375_aI0W2gnJC63njREHZRQUZIevCrC6aPw5cM1A1WkOkywL49rPl4IEjkXHdyQJEwur-WCcr3e6pKASpfIzev4d_Qho_cCvwi42rkrluCxP5z5DcBSZoZ0sa_88XmmehPEQPiZM/s1600/0-add-two-digit-numbers.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;addtition of two numbers&quot; border=&quot;0&quot; data-original-height=&quot;241&quot; data-original-width=&quot;322&quot; height=&quot;297&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8VqV375_aI0W2gnJC63njREHZRQUZIevCrC6aPw5cM1A1WkOkywL49rPl4IEjkXHdyQJEwur-WCcr3e6pKASpfIzev4d_Qho_cCvwi42rkrluCxP5z5DcBSZoZ0sa_88XmmehPEQPiZM/s400/0-add-two-digit-numbers.jpg&quot; title=&quot;add two numbers&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;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Program to Add Two Integers&lt;/h2&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; margin-left: -1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-padding-alt: 0in 5.4pt 0in 5.4pt;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 119.25pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; height: 119.25pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 436.5pt;&quot; valign=&quot;top&quot; width=&quot;582&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
#include &amp;lt;conio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
int main()&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int firstNumber,
  secondNumber, sumOfTwoNumbers;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
  printf(&quot;Enter two integers: &quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Two integers
  entered by user is stored using scanf() function&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d
  %d&quot;, &amp;amp;firstNumber, &amp;amp;secondNumber);&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // sum of two
  numbers in stored in variable sumOfTwoNumbers&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; sumOfTwoNumbers
  = firstNumber + secondNumber;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Displays
  sum&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d
  + %d = %d&quot;, firstNumber, secondNumber, sumOfTwoNumbers);&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
getch();&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
}&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&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;br /&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter two integers: 12
11
12 + 11 = 23&lt;/samp&gt;
&lt;/pre&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
In this program, user is asked to enter two integers. Two integers entered by the user is stored in variables&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;firstNumber&lt;/var&gt;&amp;nbsp;and&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;secondNumber&lt;/var&gt;&amp;nbsp;respectively. This is done using&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;scanf()&lt;/code&gt;function.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
Then, variables&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;firstNumber&amp;nbsp;&lt;/var&gt;and&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;secondNumber&lt;/var&gt;&amp;nbsp;are added using + operator and the result is stored in&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;sumOfTwoNumbers&lt;/var&gt;.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;img alt=&quot;Sum of two integers in C programming&quot; src=&quot;https://cdn.programiz.com/sites/tutorial2program/files/addition-program_0.jpg&quot; style=&quot;border: 0px; margin: 1.2em 0px; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
Finally, the&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;sumofTwoNumbers&lt;/var&gt;&amp;nbsp;is displayed on the screen using&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;printf()&lt;/code&gt;&amp;nbsp;function.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/1rgb&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot; Download Button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxShlkitmaCm3pekn_2KASVGUQ082ssoBuXZsdnKOI9TTRpkeTwvgXcIQTAIpkjEZcv6d2soPF-lmhHNenWc-dQt1_0ZqNRdnFzaCBOmQZ7x7MhpNy4HE-RRvlJBc1LQar04A-1xOpd0A/s200/Files-Download-File-icon.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #cccccc;&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;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 16px; word-spacing: 3.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/2119733181097238821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/add-two-numbers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/2119733181097238821'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/2119733181097238821'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/add-two-numbers.html' title='C Program to Add Two Numbers'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8VqV375_aI0W2gnJC63njREHZRQUZIevCrC6aPw5cM1A1WkOkywL49rPl4IEjkXHdyQJEwur-WCcr3e6pKASpfIzev4d_Qho_cCvwi42rkrluCxP5z5DcBSZoZ0sa_88XmmehPEQPiZM/s72-c/0-add-two-digit-numbers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-1813675722049138014</id><published>2017-08-26T05:33:00.002-07:00</published><updated>2017-09-07T03:04:36.992-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Programming Examples</title><content type='html'>&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;
C Programming Examples:-&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo5SX3eqzD2SiyvxF6qZIAjccOmhFKUiCWs13gA4vlfp_i-tmaDB8gbFAe4xm3e1LIOdKzSimkLYZ6sTpwhj08hfA3t-DaJJP3Um45cYoQJzwNbYHQgcC5Z7k40niKLHoVBdInDDlsBT8/s1600/c-programming-250x250.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;250&quot; data-original-width=&quot;250&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo5SX3eqzD2SiyvxF6qZIAjccOmhFKUiCWs13gA4vlfp_i-tmaDB8gbFAe4xm3e1LIOdKzSimkLYZ6sTpwhj08hfA3t-DaJJP3Um45cYoQJzwNbYHQgcC5Z7k40niKLHoVBdInDDlsBT8/s400/c-programming-250x250.png&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;br /&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;This page contains a collection examples on basic concepts of C programming like: loops, functions, pointers, structures etc.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Feel free to use the source code on your system.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;C-Programming Examples:-&lt;/span&gt;&lt;/h3&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Basic Programs:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184; width: 652px;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 22.75pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; height: 22.75pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
Click On The Program For Source Code--------:&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 21.45pt; mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 21.45pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://cogismith.com/1yXa&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;C Program “Hello World”&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 22.75pt; mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 22.75pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://cogismith.com/1yWD&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;C Program To “Print an Integer By User”&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 22.75pt; mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 22.75pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/1N3P&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;C Program To “Addition Of Two Number”&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 21.45pt; mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 21.45pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/1NTK&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;C Program To “Subtract Of Two Number”&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 22.75pt; mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 22.75pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/1NQZ&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;C Program To “Multiplication Of Two Number”&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 21.45pt; mso-yfti-irow: 6;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 21.45pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/1NRU&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;C Program To “Division Of Two Number”&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 22.75pt; mso-yfti-irow: 7;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 22.75pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/1sme&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;C Program To “(Check Positive or Negative Number)”&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 21.45pt; mso-yfti-irow: 8;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 21.45pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/1tXD&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;C Program To “(Check Number is Even or Odd)”&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 22.75pt; mso-yfti-irow: 9;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 22.75pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/1aUp&quot; target=&quot;_blank&quot;&gt;C Program To “(Find Factorial only positive number)&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 22.75pt; mso-yfti-irow: 10;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 22.75pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/1aVx&quot; target=&quot;_blank&quot;&gt;C Program To “(Find Factorial of Positive Negative and 0)&lt;/a&gt;”&amp;nbsp;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 21.45pt; mso-yfti-irow: 11;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 21.45pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/cLT&quot; target=&quot;_blank&quot;&gt;C Program To “(print table of any number)&lt;/a&gt;”&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 22.75pt; mso-yfti-irow: 12;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 22.75pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/1apJ&quot; target=&quot;_blank&quot;&gt;C Program To “(add n numbers)&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 21.45pt; mso-yfti-irow: 13;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 21.45pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/1bDD&quot; target=&quot;_blank&quot;&gt;C Program To “(print prime number)&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 22.75pt; mso-yfti-irow: 14;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 22.75pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/1bqH&quot; target=&quot;_blank&quot;&gt;C Program To “(calculate percentage)&lt;/a&gt;”&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 21.45pt; mso-yfti-irow: 15;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 21.45pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/1cAR&quot; target=&quot;_blank&quot;&gt;C Program to (Calculate the Power of a Number)&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 22.75pt; mso-yfti-irow: 16; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 22.75pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 489.15pt;&quot; valign=&quot;top&quot; width=&quot;652&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;http://yoalizer.com/1cQt&quot; target=&quot;_blank&quot;&gt;C Program To “(make simple calculator)”&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;h1&gt;
&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;Programs With Functions:-&lt;/span&gt;(Up coming)&lt;/h1&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&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://coolprogramming4u.blogspot.com/feeds/1813675722049138014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/c-programming-examples.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/1813675722049138014'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/1813675722049138014'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/c-programming-examples.html' title='C Programming Examples'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo5SX3eqzD2SiyvxF6qZIAjccOmhFKUiCWs13gA4vlfp_i-tmaDB8gbFAe4xm3e1LIOdKzSimkLYZ6sTpwhj08hfA3t-DaJJP3Um45cYoQJzwNbYHQgcC5Z7k40niKLHoVBdInDDlsBT8/s72-c/c-programming-250x250.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-6784424019168140447</id><published>2017-08-26T05:19:00.000-07:00</published><updated>2017-09-02T11:07:41.536-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program to Print an Integer By User</title><content type='html'>&lt;h1 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom: 1px solid rgb(238, 238, 238); border-radius: 8px 8px 0px 0px; color: #252830; display: flex; letter-spacing: -0.5px; line-height: 1.05; margin: 12px 0px 0.3em; padding: 0px 10px 10px;&quot;&gt;
&lt;/h1&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;C Program to Print an Integer By User&lt;/span&gt;&lt;/h2&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom: 1px solid rgb(238, 238, 238); font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 20px; margin-top: 0px; padding: 6px 0px 20px; word-spacing: 3.5px;&quot;&gt;
In this program, integer take by user is stored in a variable. Then, that variable is displayed on the screen using printf() function.&lt;/h2&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/AVvXsEgg5lC6_qHNKEOM5bawKsuRs0FnSK1nyv-p8Zix3v32576z_3K-GUcTsMZgzZpoXGKZEocSYOuZ4fKN7d8udmzjZs-WsLDHtx30xbjzv7eWZfXpQ5YwPLa5-ra_6lAjZT5cMLQgHG_Mc2k/s1600/hqdefault+%25281%2529.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;print an integer&quot; border=&quot;0&quot; data-original-height=&quot;360&quot; data-original-width=&quot;480&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg5lC6_qHNKEOM5bawKsuRs0FnSK1nyv-p8Zix3v32576z_3K-GUcTsMZgzZpoXGKZEocSYOuZ4fKN7d8udmzjZs-WsLDHtx30xbjzv7eWZfXpQ5YwPLa5-ra_6lAjZT5cMLQgHG_Mc2k/s400/hqdefault+%25281%2529.jpg&quot; title=&quot;print an integer&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;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Program to Print an Integer&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; margin-left: -1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-padding-alt: 0in 5.4pt 0in 5.4pt;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 119.25pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; height: 119.25pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 436.5pt;&quot; valign=&quot;top&quot; width=&quot;582&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
#include &amp;lt;conio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
int main()&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; int number;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; // printf() dislpays the formatted output&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; printf(&quot;Enter an integer:\n &quot;); &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; // scanf() reads the formatted input and stores them&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; scanf(&quot;%d&quot;, &amp;amp;number); &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; // printf() displays the formatted output&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; printf(&quot;You entered: %d&quot;, number);&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; return 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
}&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Enter a integer: 25
You entered: 25&lt;/samp&gt;&lt;/pre&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
In this program, an integer variable&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;number&lt;/var&gt;&amp;nbsp;is declared.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
The&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;printf()&lt;/code&gt;&amp;nbsp;function displays&amp;nbsp;&lt;samp style=&quot;font-family: monospace, monospace; font-size: 1em;&quot;&gt;Enter an integer:&amp;nbsp;&lt;/samp&gt;on the screen. Then, the&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;scanf()&lt;/code&gt;function reads an integer data from the user and stores in variable&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;number&lt;/var&gt;.&lt;/div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
Finally, the value stored in the variable&amp;nbsp;&lt;var style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; font-style: normal; padding: 1px 5px;&quot;&gt;number&lt;/var&gt;&amp;nbsp;is displayed on the screen using&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;printf()&lt;/code&gt;function.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/1rlT&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot; Download Button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxShlkitmaCm3pekn_2KASVGUQ082ssoBuXZsdnKOI9TTRpkeTwvgXcIQTAIpkjEZcv6d2soPF-lmhHNenWc-dQt1_0ZqNRdnFzaCBOmQZ7x7MhpNy4HE-RRvlJBc1LQar04A-1xOpd0A/s200/Files-Download-File-icon.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&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://coolprogramming4u.blogspot.com/feeds/6784424019168140447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/print-an-integer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/6784424019168140447'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/6784424019168140447'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/print-an-integer.html' title='C Program to Print an Integer By User'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg5lC6_qHNKEOM5bawKsuRs0FnSK1nyv-p8Zix3v32576z_3K-GUcTsMZgzZpoXGKZEocSYOuZ4fKN7d8udmzjZs-WsLDHtx30xbjzv7eWZfXpQ5YwPLa5-ra_6lAjZT5cMLQgHG_Mc2k/s72-c/hqdefault+%25281%2529.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-3134936040506219143</id><published>2017-08-26T04:50:00.000-07:00</published><updated>2017-09-02T11:14:33.563-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c-programming codes"/><title type='text'>C Program To Display &quot;Hello, World!&quot;</title><content type='html'>&lt;h2 style=&quot;height: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;C Program To Display &quot;Hello, World!&quot;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXTQEvFPNzkvLIVH6Ozff_nPBoSMj8aGOgpCaHHPVttvUM-Avd3SCY372k117srrJIhdhOAVFGaIjZ4EySorTBsdEE6zKnyIq-3mM-4wA3ObmLvdOGej2ojZUrxAoo8y1W8LH9O49xjys/s1600/hello-world.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Hello World&quot; border=&quot;0&quot; data-original-height=&quot;453&quot; data-original-width=&quot;750&quot; height=&quot;241&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXTQEvFPNzkvLIVH6Ozff_nPBoSMj8aGOgpCaHHPVttvUM-Avd3SCY372k117srrJIhdhOAVFGaIjZ4EySorTBsdEE6zKnyIq-3mM-4wA3ObmLvdOGej2ojZUrxAoo8y1W8LH9O49xjys/s400/hello-world.jpg&quot; title=&quot;C Program To Display &amp;quot;Hello, World!&amp;quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 1.9em; line-height: 1.15; margin: 0.8em 0px 0.45em;&quot;&gt;
Program to Display &quot;Hello, World!&quot;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; margin-left: -1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-padding-alt: 0in 5.4pt 0in 5.4pt;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 119.25pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; height: 119.25pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 436.5pt;&quot; valign=&quot;top&quot; width=&quot;582&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
#include &amp;lt;conio.h&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
int main()&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; // printf()
  displays the string inside quotation&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;
  printf(&quot;Hello, World!&quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp;getch();&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
}&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;Output&lt;/strong&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(246, 246, 246); border: 1px solid rgb(234, 234, 236); color: #252830; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 15px; margin-bottom: 1.8em; margin-top: -0.8em; overflow: auto; padding: 15px 18.5px; word-spacing: 3px;&quot;&gt;&lt;samp style=&quot;font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Hello, World!&lt;/samp&gt;&lt;/pre&gt;
&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.4em; word-spacing: 3px;&quot;&gt;
&lt;strong style=&quot;color: #555555; font-size: 0.98em;&quot;&gt;How &quot;Hello, World!&quot; program works?&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;-webkit-font-smoothing: antialiased; background-color: white; color: #252830; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px; margin-bottom: 1.8em; word-spacing: 3px;&quot;&gt;
&lt;li&gt;The&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/code&gt;&amp;nbsp;is a preprocessor command. This command tells compiler to include the contents of&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;stdio.h&lt;/code&gt;&amp;nbsp;(standard input and output) file in the program.&lt;br /&gt;The&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;stdio.h&lt;/code&gt;&amp;nbsp;file contains functions such as&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;scanf()&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;print()&lt;/code&gt;&amp;nbsp;to take input and display output respectively.&lt;br /&gt;If you use&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;printf()&lt;/code&gt;&amp;nbsp;function without writing&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/code&gt;, the program will not be compiled.&lt;/li&gt;
&lt;li&gt;The execution of a C program starts from the&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;main()&lt;/code&gt;&amp;nbsp;function.&lt;/li&gt;
&lt;li&gt;The&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;printf()&lt;/code&gt;&amp;nbsp;is a library function to send formatted output to the screen. In this program, the&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;printf()&lt;/code&gt;&amp;nbsp;displays&amp;nbsp;&lt;samp style=&quot;font-family: monospace, monospace; font-size: 1em;&quot;&gt;Hello, World!&lt;/samp&gt;&amp;nbsp;text on the screen.&lt;/li&gt;
&lt;li&gt;The&amp;nbsp;&lt;code style=&quot;background: rgb(239, 240, 241); border-radius: 2px; font-family: Menlo, Consolas, &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 0.86em; padding: 1px 5px;&quot;&gt;return 0;&lt;/code&gt;&amp;nbsp;statement is the &quot;Exit status&quot; of the program. In simple terms, program ends with this statement.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h2 style=&quot;color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;b&gt;Click on the download button to download file&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #252830; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 16px; text-align: center; word-spacing: 3px;&quot;&gt;
&lt;a href=&quot;http://kaitect.com/1roa&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot; Download Button&quot; border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxShlkitmaCm3pekn_2KASVGUQ082ssoBuXZsdnKOI9TTRpkeTwvgXcIQTAIpkjEZcv6d2soPF-lmhHNenWc-dQt1_0ZqNRdnFzaCBOmQZ7x7MhpNy4HE-RRvlJBc1LQar04A-1xOpd0A/s200/Files-Download-File-icon.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&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://coolprogramming4u.blogspot.com/feeds/3134936040506219143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/Hello-World.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/3134936040506219143'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/3134936040506219143'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/Hello-World.html' title='C Program To Display &quot;Hello, World!&quot;'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXTQEvFPNzkvLIVH6Ozff_nPBoSMj8aGOgpCaHHPVttvUM-Avd3SCY372k117srrJIhdhOAVFGaIjZ4EySorTBsdEE6zKnyIq-3mM-4wA3ObmLvdOGej2ojZUrxAoo8y1W8LH9O49xjys/s72-c/hello-world.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-5752023572318797217</id><published>2017-08-16T02:45:00.000-07:00</published><updated>2017-09-06T02:22:37.432-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lectures"/><category scheme="http://www.blogger.com/atom/ns#" term="Tutorials"/><title type='text'>What Is Programming</title><content type='html'>&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;What Is Programming&lt;/span&gt;&lt;/h2&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/AVvXsEhLiMn_1jjDsvXYnXSBysWcsYJxf91lcxJw6b4ULGEB9lIc_8-kz-DUY6XQIzglQF4O_IzMK6DWAGK7RUWuzMdQIuxLkiZsAFMJk2krVulVvSxv7mGbbgCFsvPthbWhB826IuHhyizik7g/s1600/what-is-programming-TechLog360.com_.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Cprogramming&quot; border=&quot;0&quot; data-original-height=&quot;468&quot; data-original-width=&quot;612&quot; height=&quot;305&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLiMn_1jjDsvXYnXSBysWcsYJxf91lcxJw6b4ULGEB9lIc_8-kz-DUY6XQIzglQF4O_IzMK6DWAGK7RUWuzMdQIuxLkiZsAFMJk2krVulVvSxv7mGbbgCFsvPthbWhB826IuHhyizik7g/s400/what-is-programming-TechLog360.com_.jpg&quot; title=&quot;What is programming&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;source sans pro&amp;quot; , sans-serif;&quot;&gt;The process of developing and implementing various sets of instructions to enable a computer to do a certain task. These instructions are considered computer programs and help the computer to operate smoothly. The language used to program computers is not understood by an untrained eye. Computer programming continues to be a necessary process as the Internet continues to expand.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;Computer Programming Language&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Computer programming language, any of various languages for expressing a set of detailed instructions for a digital computer. Such instructions can be executed directly when they are in the computer manufacturer-specific numerical form known as machine language, after a simple substitution process when expressed in a corresponding assembly language, or after translation from some “higher-level” language. Although there are over 2,000 computer languages, relatively few are widely used.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Machine and assembly languages are “low-level,” requiring a programmer to manage explicitly all of a computer’s idiosyncratic features of data storage and operation. In contrast, high-level languages shield a programmer from worrying about such considerations and provide a notation that is more easily written and read by programmers.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;
&lt;div&gt;
Language Types&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Machine and assembly languages.&lt;/h3&gt;
&lt;div&gt;
A machine language consists of the numeric codes for the operations that a particular computer can execute directly. The codes are strings of 0s and 1s, or binary digits (“bits”), which are frequently converted both from and to hexadecimal (base 16) for human viewing and modification. Machine language instructions typically use some bits to represent operations, such as addition, and some to represent operands, or perhaps the location of the next instruction. Machine language is difficult to read and write, since it does not resemble conventional mathematical notation or human language, and its codes vary from computer to computer.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Assembly language&lt;/b&gt; is one level above machine language. It uses short mnemonic codes for instructions and allows the programmer to introduce names for blocks of memory that hold data. One might thus write “add pay, total” instead of “0110101100101000” for an instruction that adds two numbers.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Assembly language is designed to be easily translated into machine language. Although blocks of data may be referred to by name instead of by their machine addresses, assembly language does not provide more sophisticated means of organizing complex information. Like machine language, assembly language requires detailed knowledge of internal computer architecture. It is useful when such details are important, as in programming a computer to interact with input/output devices (printers, scanners, storage devices, and so forth).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Algorithmic languages.&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;Algorithmic languages&lt;/b&gt; are designed to express mathematical or symbolic computations. They can express algebraic operations in notation similar to mathematics and allow the use of subprograms that package commonly used operations for reuse. They were the first high-level languages.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
FORTRAN.&lt;/h3&gt;
&lt;div&gt;
The first important algorithmic language was FORTRAN (formula translation), designed in 1957 by an IBM team led by John Backus. It was intended for scientific computations with real numbers and collections of them organized as one- or multidimensional arrays. Its control structures included conditional IF statements, repetitive loops (so-called DO loops), and a GOTO statement that allowed nonsequential execution of program code. FORTRAN made it convenient to have subprograms for common mathematical operations, and built libraries of them.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;FORTRAN&lt;/b&gt; was also designed to translate into efficient machine language. It was immediately successful and continues to evolve.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
ALGOL.&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;ALGOL (algorithmic language)&lt;/b&gt; was designed by a committee of American and European computer scientists during 1958–60 for publishing algorithms, as well as for doing computations. Like LISP (described in the next section), ALGOL had recursive subprograms—procedures that could invoke themselves to solve a problem by reducing it to a smaller problem of the same kind. ALGOL introduced block structure, in which a program is composed of blocks that might contain both data and instructions and have the same structure as an entire program. Block structure became a powerful tool for building large programs out of small components.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
ALGOL contributed a notation for describing the structure of a programming language, Backus–Naur Form, which in some variation became the standard tool for stating the syntax (grammar) of programming languages. ALGOL was widely used in Europe, and for many years it remained the language in which computer algorithms were published. Many important languages, such as Pascal and Ada (both described later), are its descendants.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
LISP.&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;LISP (list processing)&lt;/b&gt; was developed about 1960 by John McCarthy at the Massachusetts Institute of Technology (MIT) and was founded on the mathematical theory of recursive functions (in which a function appears in its own definition). A LISP program is a function applied to data, rather than being a sequence of procedural steps as in FORTRAN and ALGOL. LISP uses a very simple notation in which operations and their operands are given in a parenthesized list. For example, (+ a (* b c)) stands for a + b*c. Although this appears awkward, the notation works well for computers. LISP also uses the list structure to represent data, and, because programs and data use the same structure, it is easy for a LISP program to operate on other programs as data.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
LISP became a common language for artificial intelligence (AI) programming, partly owing to the confluence of LISP and AI work at MIT and partly because AI programs capable of “learning” could be written in LISP as self-modifying programs. LISP has evolved through numerous dialects, such as Scheme and Common LISP.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
C.&lt;/h3&gt;
&lt;div&gt;
The &lt;b&gt;C programming language&lt;/b&gt; was developed in 1972 by Dennis Ritchie and Brian Kernighan at the AT&amp;amp;T Corporation for programming computer operating systems. Its capacity to structure data and programs through the composition of smaller units is comparable to that of ALGOL. It uses a compact notation and provides the programmer with the ability to operate with the addresses of data as well as with their values. This ability is important in systems programming, and C shares with assembly language the power to exploit all the features of a computer’s internal architecture. C, along with its descendant C++, remains one of the most common languages.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Business-oriented languages&lt;br /&gt;COBOL&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;COBOL (common business oriented language)&lt;/b&gt; has been heavily used by businesses since its inception in 1959. A committee of computer manufacturers and users and U.S. government organizations established CODASYL (Committee on Data Systems and Languages) to develop and oversee the language standard in order to ensure its portability across diverse systems.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
COBOL uses an English-like notation—novel when introduced. Business computations organize and manipulate large quantities of data, and COBOL introduced the record data structure for such tasks. A record clusters heterogeneous data such as a name, ID number, age, and address into a single unit. This contrasts with scientific languages, in which homogeneous arrays of numbers are common. Records are an important example of “chunking” data into a single object, and they appear in nearly all modern languages.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3&gt;
SQL.&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;SQL (structured query language)&lt;/b&gt; is a language for specifying the organization of databases (collections of records). Databases organized with SQL are called relational because SQL provides the ability to query a database for information that falls in a given relation. For example, a query might be “find all records with both last_name Smith and city New York.” Commercial database programs commonly use a SQL-like language for their queries.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Education-oriented languages&lt;br /&gt;BASIC&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;BASIC (beginner’s all-purpose symbolic instruction code)&lt;/b&gt; was designed at Dartmouth College in the mid-1960 by John Kemeny and Thomas Kurtz. It was intended to be easy to learn by novices, particularly non-computer science majors, and to run well on a time-sharing computer with many users. It had simple data structures and notation and it was interpreted: a BASIC program was translated line-by-line and executed as it was translated, which made it easy to locate programming errors.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Its small size and simplicity also made BASIC a popular language for early personal computers. Its recent forms have adopted many of the data and control structures of other contemporary languages, which makes it more powerful but less convenient for beginners.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Pascal&lt;/h3&gt;
&lt;div&gt;
About 1970 Niklaus Wirth of Switzerland designed Pascal to teach structured programming, which emphasized the orderly use of conditional and loop control structures without GOTO statements. Although Pascal resembled ALGOL in notation, it provided the ability to define data types with which to organize complex information, a feature beyond the capabilities of ALGOL as well as FORTRAN and COBOL. User-defined data types allowed the programmer to introduce names for complex data, which the language translator could then check for correct usage before running a program.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
LOGO&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;Logo&lt;/b&gt; originated in the late 1960 as a simplified LISP dialect for education; Seymour Papert and others used it at MIT to teach mathematical thinking to schoolchildren. It had a more conventional syntax than LISP and featured “turtle graphics,” a simple method for generating computer graphics. (The name came from an early project to program a turtlelike robot.) Turtle graphics used body-centred instructions, in which an object was moved around a screen by commands, such as “left 90” and “forward,” that specified actions relative to the current position and orientation of the object rather than in terms of a fixed framework. Together with recursive routines, this technique made it easy to program intricate and attractive patterns.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Hypertalk&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;Hypertalk&lt;/b&gt; was designed as “programming for the rest of us” by Bill Atkinson for Apple’s Macintosh. Using a simple English-like syntax, Hypertalk enabled anyone to combine text, graphics, and audio quickly into “linked stacks” that could be navigated by clicking with a mouse on standard buttons supplied by the program. Hypertalk was particularly popular among educators in the 1980s and early ’90s for classroom multimedia presentations. Although Hypertalk had many features of object-oriented languages (described in the next section), Apple did not develop it for other computer platforms and let it languish; as Apple’s market share declined in the 1990s, a new cross-platform way of displaying multimedia left Hypertalk all but obsolete (see the section World Wide Web display languages).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Object-oriented languages&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;Object-oriented languages&lt;/b&gt; help to manage complexity in large programs. Objects package data and the operations on them so that only the operations are publicly accessible and internal details of the data structures are hidden. This information hiding made large-scale programming easier by allowing a programmer to think about each part of the program in isolation. In addition, objects may be derived from more general ones, “inheriting” their capabilities. Such an object hierarchy made it possible to define specialized objects without repeating all that is in the more general ones.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Object-oriented programming began with the Simula language (1967), which added information hiding to ALGOL. Another influential object-oriented language was Smalltalk (1980), in which a program was a set of objects that interacted by sending messages to one another.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
C++&lt;/h3&gt;
&lt;div&gt;
The &lt;b&gt;C++ language&lt;/b&gt;, developed by Bjarne Stroustrup at AT&amp;amp;T in the mid-1980s, extended C by adding objects to it while preserving the efficiency of C programs. It has been one of the most important languages for both education and industrial programming. Large parts of many operating systems, such as the Microsoft Corporation’s Windows 98, were written in C++.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Ada&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;Ada&lt;/b&gt; was named for Augusta Ada King, countess of Lovelace, who was an assistant to the 19th-century English inventor Charles Babbage, and is sometimes called the first computer programmer. Ada, the language, was developed in the early 1980s for the U.S. Department of Defense for large-scale programming. It combined Pascal-like notation with the ability to package operations and data into independent modules. Its first form, Ada 83, was not fully object-oriented, but the subsequent Ada 95 provided objects and the ability to construct hierarchies of them. While no longer mandated for use in work for the Department of Defense, Ada remains an effective language for engineering large programs.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Java&lt;/h3&gt;
&lt;div&gt;
In the early 1990s, &lt;b&gt;Java&lt;/b&gt; was designed by Sun Microsystems, Inc., as a programming language for the World Wide Web (WWW). Although it resembled C++ in appearance, it was fully object-oriented. In particular, Java dispensed with lower-level features, including the ability to manipulate data addresses, a capability that is neither desirable nor useful in programs for distributed systems. In order to be portable, Java programs are translated by a Java Virtual Machine specific to each computer platform, which then executes the Java program. In addition to adding interactive capabilities to the Internet through Web “applets,” Java has been widely used for programming small and portable devices, such as mobile telephones.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3&gt;
Visual Basic&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;Visual Basic&lt;/b&gt; was developed by Microsoft to extend the capabilities of BASIC by adding objects and “event-driven” programming: buttons, menus, and other elements of graphical user interfaces (GUIs). Visual Basic can also be used within other Microsoft software to program small routines.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Declarative languages&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;Declarative languages&lt;/b&gt;, also called non procedural or very high level, are programming languages in which (ideally) a program specifies what is to be done rather than how to do it. In such languages there is less difference between the specification of a program and its implementation than in the procedural languages described so far. The two common kinds of declarative languages are logic and functional languages.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Logic programming languages, of which PROLOG (programming in logic) is the best known, state a program as a set of logical relations (e.g., a grandparent is the parent of a parent of someone). Such languages are similar to the SQL database language. A program is executed by an “inference engine” that answers a query by searching these relations systematically to make inferences that will answer a query. PROLOG has been used extensively in natural language processing and other AI programs.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Functional languages have a mathematical style. A functional program is constructed by applying functions to arguments. Functional languages, such as LISP, ML, and Haskell, are used as research tools in language development, in automated mathematical theorem provers, and in some commercial projects.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Scripting languages&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;Scripting languages&lt;/b&gt; are sometimes called little languages. They are intended to solve relatively small programming problems that do not require the overhead of data declarations and other features needed to make large programs manageable. Scripting languages are used for writing operating system utilities, for special-purpose file-manipulation programs, and, because they are easy to learn, sometimes for considerably larger programs.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
PERL (practical extraction and report language) was developed in the late 1980s, originally for use with the UNIX operating system. It was intended to have all the capabilities of earlier scripting languages. PERL provided many ways to state common operations and thereby allowed a programmer to adopt any convenient style. In the 1990s it became popular as a system-programming tool, both for small utility programs and for prototypes of larger ones. Together with other languages discussed below, it also became popular for programming computer Web “servers.”&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Document formatting languages&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;Document formatting languages&lt;/b&gt; specify the organization of printed text and graphics. They fall into several classes: text formatting notation that can serve the same functions as a word processing program, page description languages that are interpreted by a printing device, and, most generally, markup languages that describe the intended function of portions of a document.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
TeX&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;TeX&lt;/b&gt; was developed during 1977–86 as a text formatting language by Donald Knuth, a Stanford University professor, to improve the quality of mathematical notation in his books. Text formatting systems, unlike WYSIWYG (“What You See Is What You Get”) word processors, embed plain text formatting commands in a document, which are then interpreted by the language processor to produce a formatted document for display or printing. TeX marks italic text, for example, as {\it this is italicized}, which is then displayed as this is italicized.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
TeX largely replaced earlier text formatting languages. Its powerful and flexible abilities gave an expert precise control over such things as the choice of fonts, layout of tables, mathematical notation, and the inclusion of graphics within a document. It is generally used with the aid of “macro” packages that define simple commands for common operations, such as starting a new paragraph; LaTeX is a widely used package. TeX contains numerous standard “style sheets” for different types of documents, and these may be further adapted by each user. There are also related programs such as BibTeX, which manages bibliographies and has style sheets for all of the common bibliography styles, and versions of TeX for languages with various alphabets.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
PostScript&lt;/h3&gt;
&lt;div&gt;
PostScript is a page-description language developed in the early 1980s by Adobe Systems Incorporated on the basis of work at Xerox PARC (Palo Alto Research Center). Such languages describe documents in terms that can be interpreted by a personal computer to display the document on its screen or by a microprocessor in a printer or a typesetting device.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
PostScript commands can, for example, precisely position text, in various fonts and sizes, draw images that are mathematically described, and specify colour or shading. PostScript uses postfix, also called reverse Polish notation, in which an operation name follows its arguments. Thus, “300 600 20 270 arc stroke” means: draw (“stroke”) a 270-degree arc with radius 20 at location (300, 600). Although PostScript can be read and written by a programmer, it is normally produced by text formatting programs, word processors, or graphic display tools.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The success of PostScript is due to its specification’s being in the public domain and to its being a good match for high-resolution laser printers. It has influenced the development of printing fonts, and manufacturers produce a large variety of PostScript fonts.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3&gt;
SGML&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;SGML (standard generalized markup language)&lt;/b&gt; is an international standard for the definition of markup languages; that is, it is a metalanguage. Markup consists of notations called tags that specify the function of a piece of text or how it is to be displayed. SGML emphasizes descriptive markup, in which a tag might be “&lt;emphasis&gt;.” Such a markup denotes the document function, and it could be interpreted as reverse video on a computer screen, underlining by a typewriter, or italics in typeset text.&lt;/emphasis&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
SGML is used to specify DTDs (document type definitions). A DTD defines a kind of document, such as a report, by specifying what elements must appear in the document—e.g., &lt;title&gt;—and giving rules for the use of document elements, such as that a paragraph may appear within a table entry but a table may not appear within a paragraph. A marked-up text may be analyzed by a parsing program to determine if it conforms to a DTD. Another program may read the markups to prepare an index or to translate the document into PostScript for printing. Yet another might generate large type or audio for readers with visual or hearing disabilities.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;h3&gt;
World Wide Web display languages&lt;br&gt;HTML&lt;/h3&gt;
&lt;div&gt;
The &lt;b&gt;World Wide Web&lt;/b&gt; is a system for displaying text, graphics, and audio retrieved over the Internet on a computer monitor. Each retrieval unit is known as a Web page, and such pages frequently contain “links” that allow related pages to be retrieved. HTML (hypertext markup language) is the markup language for encoding Web pages. It was designed by Tim Berners-Lee at the CERN nuclear physics laboratory in Switzerland during the 1980s and is defined by an SGML DTD. HTML markup tags specify document elements such as headings, paragraphs, and tables. They mark up a document for display by a computer program known as a Web browser. The browser interprets the tags, displaying the headings, paragraphs, and tables in a layout that is adapted to the screen size and fonts available to it.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
HTML documents also contain anchors, which are tags that specify links to other Web pages. An anchor has the form &lt;a HREF= “http://www.britannica.com”&gt; Encyclopædia Britannica&lt;/A&gt;, where the quoted string is the URL (universal resource locator) to which the link points (the Web “address”) and the text following it is what appears in a Web browser, underlined to show that it is a link to another page. What is displayed as a single page may also be formed from multiple URLs, some containing text and others graphics.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;b&gt;XML&lt;/b&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;HTML&lt;/b&gt; does not allow one to define new text elements; that is, it is not extensible. XML (extensible markup language) is a simplified form of SGML intended for documents that are published on the Web. Like SGML, XML uses DTDs to define document types and the meanings of tags used in them. XML adopts conventions that make it easy to parse, such as that document entities are marked by both a beginning and an ending tag, such as &lt;begin&gt;…&lt;/BEGIN&gt;. XML provides more kinds of hypertext links than HTML, such as bidirectional links and links relative to a document subsection.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
Because an author may define new tags, an XML DTD must also contain rules that instruct a Web browser how to interpret them—how an entity is to be displayed or how it is to generate an action such as preparing an e-mail message.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;h3&gt;
Web scripting&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;Web&lt;/b&gt; pages marked up with &lt;b&gt;HTML&lt;/b&gt; or &lt;b&gt;XML&lt;/b&gt; are largely static documents. Web scripting can add information to a page as a reader uses it or let the reader enter information that may, for example, be passed on to the order department of an online business. CGI (common gateway interface) provides one mechanism; it transmits requests and responses between the reader’s Web browser and the Web server that provides the page. The CGI component on the server contains small programs called scripts that take information from the browser system or provide it for display. A simple script might ask the reader’s name, determine the Internet address of the system that the reader uses, and print a greeting. Scripts may be written in any programming language, but, because they are generally simple text-processing routines, scripting languages like PERL are particularly appropriate.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
Another approach is to use a language designed for Web scripts to be executed by the browser. JavaScript is one such language, designed by the Netscape Communications Corp., which may be used with both Netscape’s and Microsoft’s browsers. JavaScript is a simple language, quite different from Java. A JavaScript program may be embedded in a Web page with the HTML tag &lt;script language=“JavaScript”&gt;. JavaScript instructions following that tag will be executed by the browser when the page is selected. In order to speed up display of dynamic (interactive) pages, JavaScript is often combined with XML or some other language for exchanging information between the server and the client’s browser. In particular, the XMLHttpRequest command enables asynchronous data requests from the server without requiring the server to resend the entire Web page. This approach, or “philosophy,” of programming is called Ajax (asynchronous JavaScript and XML).&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;VB Script&lt;/b&gt; is a subset of Visual Basic. Originally developed for Microsoft’s Office suite of programs, it was later used for Web scripting as well. Its capabilities are similar to those of JavaScript, and it may be embedded in HTML in the same fashion.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
Behind the use of such scripting languages for Web programming lies the idea of component programming, in which programs are constructed by combining independent previously written components without any further language processing. JavaScript and VB Script programs were designed as components that may be attached to Web browsers to control how they display information.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
Elements Of Programming&lt;/h2&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
Despite rotational differences, contemporary computer languages provide many of the same programming structures. These include basic control structures and data structures. The former provide the means to express algorithms, and the latter provide ways to organize information.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3&gt;
Control structures&lt;/h3&gt;
&lt;div&gt;
Programs written in procedural languages, the most common kind, are like recipes, having lists of ingredients and step-by-step instructions for using them. The three basic control structures in virtually every procedural language are:&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
1. Sequence—combine the liquid ingredients, and next add the dry ones.&lt;/div&gt;
&lt;div&gt;
2. Conditional—if the tomatoes are fresh then simmer them, but if canned, skip this step.&lt;/div&gt;
&lt;div&gt;
3. Iterative—beat the egg whites until they form soft peaks.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
Sequence is the default control structure; instructions are executed one after another. They might, for example, carry out a series of arithmetic operations, assigning results to variables, to find the roots of a quadratic equation ax2 + bx + c = 0. The conditional&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
 IF-THEN&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
or&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
IF-THEN-ELSE &lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
control structure allows a program to follow alternative paths of execution. Iteration, or looping, gives computers much of their power. They can repeat a sequence of steps as often as necessary, and appropriate repetitions of quite simple steps can solve complex problems.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
These control structures can be combined. A sequence may contain several loops; a loop may contain a loop nested within it, or the two branches of a conditional may each contain sequences with loops and more conditionals. In the “pseudocode” used in this article, “*” indicates multiplication and “←” is used to assign values to variables. The following programming fragment employs the IF-THEN structure for finding one root of the quadratic equation, using the &lt;b&gt;quadratic formula&lt;/b&gt;:&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;h3&gt;
quadratic formula.&lt;/h3&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
The quadratic formula assumes that a is nonzero and that the discriminant (the portion within the square root sign) is not negative (in order to obtain a real number root). Conditionals check those assumptions:&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
IF a = 0 THEN&lt;/div&gt;
&lt;div&gt;
     ROOT ← −c/b&lt;/div&gt;
&lt;div&gt;
ELSE&lt;/div&gt;
&lt;div&gt;
     DISCRIMINANT ← b*b − 4*a*c&lt;/div&gt;
&lt;div&gt;
     IF DISCRIMINANT ≥ 0 THEN&lt;/div&gt;
&lt;div&gt;
          ROOT ← (−b + SQUARE_ROOT(DISCRIMINANT))/2*a&lt;/div&gt;
&lt;div&gt;
     ENDIF&lt;/div&gt;
&lt;div&gt;
ENDIF&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
The SQUARE_ROOT function used in the above fragment is an example of a subprogram (also called a procedure, subroutine, or function). A subprogram is like a sauce recipe given once and used as part of many other recipes. Subprograms take inputs (the quantity needed) and produce results (the sauce). Commonly used subprograms are generally in a collection or library provided with a language. Subprograms may call other subprograms in their definitions, as shown by the following routine (where ABS is the absolute-value function). SQUARE_ROOT is implemented by using a WHILE (indefinite) loop that produces a good approximation for the square root of real numbers unless x is very small or very large. A subprogram is written by declaring its name, the type of input data, and the output:&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;FUNCTION SQUARE_ROOT(REAL x) RETURNS REAL&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     ROOT ← 1.0&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     WHILE ABS(ROOT*ROOT − x) ≥ 0.000001&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;          AND WHILE ROOT ← (x/ROOT + ROOT)/2&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     RETURN ROOT&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
Subprograms can break a problem into smaller, more tractable subproblems. Sometimes a problem may be solved by reducing it to a subproblem that is a smaller version of the original. In that case the routine is known as a recursive subprogram because it solves the problem by repeatedly calling itself. For example, the factorial function in mathematics (n! = n∙(n−1)⋯3∙2∙1—i.e., the product of the first n integers), can be programmed as a recursive routine:&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;FUNCTION FACTORIAL(INTEGER n) RETURNS INTEGER&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     IF n = 0 THEN RETURN 1&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     ELSE RETURN n * FACTORIAL(n−1)&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
The advantage of recursion is that it is often a simple restatement of a precise definition, one that avoids the bookkeeping details of an iterative solution.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
At the machine-language level, loops and conditionals are implemented with branch instructions that say “jump to” a new point in the program. The “goto” statement in higher-level languages expresses the same operation but is rarely used because it makes it difficult for humans to follow the “flow” of a program. Some languages, such as Java and Ada, do not allow it.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
Data structures&lt;/h2&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
Where as control structures organize algorithms, data structures organize information. In particular, data structures specify types of data, and thus which operations can be performed on them, while eliminating the need for a programmer to keep track of memory addresses. Simple data structures include integers, real numbers, Booleans (true/false), and characters or character strings. Compound data structures are formed by combining one or more data types.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
The most important compound data structures are the array, a homogeneous collection of data, and the record, a heterogeneous collection. An array may represent a vector of numbers, a list of strings, or a collection of vectors (an array of arrays, or mathematical matrix). A record might store employee information—name, title, and salary. An array of records, such as a table of employees, is a collection of elements, each of which is heterogeneous. Conversely, a record might contain a vector—i.e., an array.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
Record components, or fields, are selected by name; for example, E.SALARY might represent the salary field of record E. An array element is selected by its position or index; A[10] is the element at position 10 in array A. A FOR loop (definite iteration) can thus run through an array with index limits (FIRST TO LAST in the following example) in order to sum its elements:&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;FOR i ← FIRST TO LAST&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     SUM ← SUM + A[i]&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
Arrays and records have fixed sizes. Structures that can grow are built with dynamic allocation, which provides new storage as required. These data structures have components, each containing data and references to further components (in machine terms, their addresses). Such self-referential structures have recursive definitions. A bintree (binary tree) for example, either is empty or contains a root component with data and left and right bintree “children.” Such bintrees implement tables of information efficiently. Subroutines to operate on them are naturally recursive; the following routine prints out all the elements of a bintree (each is the root of some subtree):&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;PROCEDURE TRAVERSE(ROOT: BINTREE)&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;     IF NOT(EMPTY(ROOT))&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;          TRAVERSE(ROOT.LEFT)&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;          PRINT ROOT.DATA&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;         TRAVERSE(ROOT.RIGHT)&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;     ENDIF&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
Abstract data types (ADTs) are important for large-scale programming. They package data structures and operations on them, hiding internal details. For example, an ADT table provides insertion and lookup operations to users while keeping the underlying structure, whether an array, list, or binary tree, invisible. In object-oriented languages, classes are ADTs and objects are instances of them. The following object-oriented pseudocode example assumes that there is an ADT bintree and a “superclass” COMPARABLE, characterizing data for which there is a comparison operation (such as “&lt;” for integers). It defines a new ADT, TABLE, that hides its data-representation and provides operations appropriate to tables. This class is polymorphic—defined in terms of an element-type parameter of the COMPARABLE class. Any instance of it must specify that type, here a class with employee data (the COMPARABLE declaration means that PERS_REC must provide a comparison operation to sort records). Implementation details are omitted.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;CLASS TABLE OF &lt;comparable T&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     PRIVATE DATA: BINTREE OF &lt;t&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     PUBLIC INSERT(ITEM: T)&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     PUBLIC LOOKUP(ITEM: T) RETURNS BOOLEAN&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     END&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;CLASS PERS_REC: COMPARABLE&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     PRIVATE NAME: STRING&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     PRIVATE POSITION: {STAFF, SUPERVISOR, MANAGER}&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;      PRIVATE SALARY: REAL&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     PUBLIC COMPARE (R: PERS_REC) RETURNS BOOLEAN&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;     END&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;EMPLOYEES: TABLE &lt;pers_rec&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
TABLE makes public only its own operations; thus, if it is modified to use an array or list rather than a bintree, programs that use it cannot detect the change. This information hiding is essential to managing complexity in large programs. It divides them into small parts, with “contracts” between the parts; here the TABLE class contracts to provide lookup and insertion operations, and its users contract to use only the operations so publicized.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
Published By Waqas Ahmed Mir.&lt;/div&gt;
&lt;/div&gt;
&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;/title&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/5752023572318797217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/what-is-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/5752023572318797217'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/5752023572318797217'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/08/what-is-programming.html' title='What Is Programming'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLiMn_1jjDsvXYnXSBysWcsYJxf91lcxJw6b4ULGEB9lIc_8-kz-DUY6XQIzglQF4O_IzMK6DWAGK7RUWuzMdQIuxLkiZsAFMJk2krVulVvSxv7mGbbgCFsvPthbWhB826IuHhyizik7g/s72-c/what-is-programming-TechLog360.com_.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-6405618322999041588</id><published>2017-03-12T01:53:00.000-08:00</published><updated>2017-09-09T01:10:11.466-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogging"/><title type='text'>Global Best Responsive Blogger Template Download Free</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;Global Best Responsive Blogger Template Download Free..&lt;/span&gt;&lt;/h2&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/AVvXsEg8ZRU6g_gDH9Zd-YGQrKs86ToOtyGnOojc3Z-Qpmz8LL1qbEHWc0kXTkn8JLMyn-_qMdUcZ61gRIsdvalk3DTM_oUnh1rvPHCYzK8i5pnL2A3hVHA3Ha1m7MFCff06didjT886li1rraE/s1600/Global+Blogger+Template.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Global Template&quot; border=&quot;0&quot; height=&quot;412&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8ZRU6g_gDH9Zd-YGQrKs86ToOtyGnOojc3Z-Qpmz8LL1qbEHWc0kXTkn8JLMyn-_qMdUcZ61gRIsdvalk3DTM_oUnh1rvPHCYzK8i5pnL2A3hVHA3Ha1m7MFCff06didjT886li1rraE/s640/Global+Blogger+Template.png&quot; title=&quot;Global Best Responsive Blogger Template Download Free&quot; width=&quot;640&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;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Desciption..&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Global&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; text-align: justify;&quot;&gt;&amp;nbsp;is a clean and&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: Arial, Geneva, sans-serif; margin: 0px; padding: 0px; text-align: justify;&quot;&gt;responsive blogging theme&lt;/b&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; text-align: justify;&quot;&gt;&amp;nbsp;design. It is suitable for any kind of blog, personal, travel, hobby, lifestyle, photography, editorial, article, fashion, and tutorial blog sites. Installing and customizing this theme is very easy. All required information are provided in the online documentation. There are lots of posts styles, each full of freshness and revealing an advance level of skill and craftsmanship.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;box_title&quot; style=&quot;background: rgb(253, 215, 97); color: #4599bd; font-family: Arial, Geneva, sans-serif; font-size: 16px; margin: 0px; outline: none; padding: 10px 15px;&quot;&gt;Features&lt;/div&gt;&lt;div class=&quot;box_content&quot; style=&quot;background: rgb(255, 255, 255); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; color: #595959; font-family: Arial, Geneva, sans-serif; font-size: small; margin: 1px; outline: none; padding: 15px; text-align: justify;&quot;&gt;&lt;ol class=&quot;rounded-list&quot; style=&quot;counter-reset: li 0; font-family: &amp;quot;trebuchet MS&amp;quot;, &amp;quot;lucida sans&amp;quot;; font-size: 15px; font-stretch: normal; line-height: normal; list-style: none; margin: 0px 0px 0px -5px; padding: 0px; text-shadow: rgba(255, 255, 255, 0.498039) 0px 1px 0px;&quot;&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;ol style=&quot;counter-reset: li 0; font-stretch: normal; line-height: normal; list-style: none; margin: 0px 0px 0px 2em; padding: 0px; text-shadow: rgba(255, 255, 255, 0.498039) 0px 1px 0px;&quot;&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://www.responsinator.com/?url=http%3A%2F%2Fglobal-soratemplates.blogspot.com%2F&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; text-decoration: none; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;Responsive -&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Check Here&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://chkme.com/seo-global-soratemplates.blogspot.com&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; text-decoration: none; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;SEO Friendly -&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Check Here&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://search.google.com/structured-data/testing-tool#url=http%3A%2F%2Fglobal-soratemplates.blogspot.com&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; text-decoration: none; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;Google Testing Tool Validator -&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Check Here&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://www.google.com/webmasters/tools/mobile-friendly/?url=http%3A%2F%2Fglobal-soratemplates.blogspot.com%2F&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; text-decoration: none; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;Mobile Friendly -&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Check Here&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://global-soratemplates.blogspot.com/soratemplates&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; text-decoration: none; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;Custom 404 Page -&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Check Here&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://tools.pingdom.com/fpt/#!/dR6bVj/http://global-soratemplates.blogspot.com/&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; text-decoration: none; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;Fast Loading -&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Check Here&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot;&gt;Magazine&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot;&gt;Light Box&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot;&gt;Minimal&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot;&gt;Ads Ready&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot;&gt;Clean Layout&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot;&gt;Simple Design&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot;&gt;Drop Down Menu&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot;&gt;Social Sharing&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot;&gt;HTML5 &amp;amp; CSS3&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot;&gt;Browser Compatibility&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;http://global-soratemplates.blogspot.com/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Live Demo&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;Downlaod Link Here&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;color: #333333; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;background-color: white; font-size: 13px; text-align: center;&quot;&gt;&lt;div class=&quot;box_content&quot; style=&quot;border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; color: black; font-size: medium; margin: 1px; outline: none; padding: 15px; text-align: justify;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a class=&quot;button downloadbutton&quot; href=&quot;http://adf.ly/1lNoHL&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;UsersCloud&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lNoFJ&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;DailyUpload&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lNoCx&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;Drive&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lNoAs&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;ZippyShare&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Password Link Here&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;Password&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #333333; font-family: arial, verdana, helvetica, &amp;quot;liberation sans&amp;quot;, freesans, sans-serif; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/6405618322999041588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/03/global-best-responsive-blogger-template.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/6405618322999041588'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/6405618322999041588'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/03/global-best-responsive-blogger-template.html' title='Global Best Responsive Blogger Template Download Free'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8ZRU6g_gDH9Zd-YGQrKs86ToOtyGnOojc3Z-Qpmz8LL1qbEHWc0kXTkn8JLMyn-_qMdUcZ61gRIsdvalk3DTM_oUnh1rvPHCYzK8i5pnL2A3hVHA3Ha1m7MFCff06didjT886li1rraE/s72-c/Global+Blogger+Template.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-6426835155284742475</id><published>2017-03-11T21:59:00.000-08:00</published><updated>2017-09-09T01:10:11.478-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger"/><title type='text'>Boulevard Free Responsive Blogger Template Full Version Download</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;Boulevard Free Responsive Blogger Template Full Version Download..&lt;/span&gt;&lt;/h2&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/AVvXsEhE_vmRvqmVYTC63vxVLzLBMQHc2VtHZYnOFJmMcAvmN0T5tqId2jm3CjiZd-EM1tIv33gsaplj_Pv73ucNG3OgmaXMDhsf3hRP526NswafaQy94Dg4eJScxxmgoKAoO-VFQxZ2mHhN9V4/s1600/Boulevard-1024x576.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE_vmRvqmVYTC63vxVLzLBMQHc2VtHZYnOFJmMcAvmN0T5tqId2jm3CjiZd-EM1tIv33gsaplj_Pv73ucNG3OgmaXMDhsf3hRP526NswafaQy94Dg4eJScxxmgoKAoO-VFQxZ2mHhN9V4/s640/Boulevard-1024x576.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;box_title&quot; style=&quot;background: rgb(253, 215, 97); color: #4599bd; font-family: Arial, Geneva, sans-serif; font-size: 16px; margin: 0px; outline: none; padding: 10px 15px;&quot;&gt;Description&lt;/div&gt;&lt;div class=&quot;box_content&quot; style=&quot;background: rgb(255, 255, 255); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; color: #595959; font-family: Arial, Geneva, sans-serif; font-size: small; margin: 1px; outline: none; padding: 15px; text-align: justify;&quot;&gt;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Boulevard&lt;/b&gt;&amp;nbsp;is a perfect combination of best design and feature-rich blogger template. Boulevard is specially built for magazine, news, blog, and any of magazine-style website. The wonderful combination of modern and professional style gives this template a powerful attraction.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;box_title&quot; style=&quot;background: rgb(253, 215, 97); color: #4599bd; font-family: Arial, Geneva, sans-serif; font-size: 16px; margin: 0px; outline: none; padding: 10px 15px; text-align: left;&quot;&gt;Features&lt;/div&gt;&lt;div class=&quot;box_content&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; font-family: Arial, Geneva, sans-serif; margin: 1px; outline: none; padding: 15px;&quot;&gt;&lt;ol class=&quot;rounded-list&quot; style=&quot;counter-reset: li 0; font-family: &amp;quot;trebuchet MS&amp;quot;, &amp;quot;lucida sans&amp;quot;; font-size: 15px; font-stretch: normal; line-height: normal; list-style: none; margin: 0px 0px 0px -5px; padding: 0px; text-shadow: rgba(255, 255, 255, 0.498039) 0px 1px 0px;&quot;&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;ol style=&quot;counter-reset: li 0; font-stretch: normal; line-height: normal; list-style: none; margin: 0px 0px 0px 2em; padding: 0px; text-shadow: rgba(255, 255, 255, 0.498039) 0px 1px 0px;&quot;&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://ethingishere.blogspot.com/&quot; rel=&quot;nofollow&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;Responsive&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://ethingishere.blogspot.com/&quot; rel=&quot;nofollow&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;SEO Friendly&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://ethingishere.blogspot.com/&quot; rel=&quot;nofollow&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;Ads Ready&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://ethingishere.blogspot.com/&quot; rel=&quot;nofollow&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;Drop Down Menu&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://ethingishere.blogspot.com/&quot; rel=&quot;nofollow&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;Clean Layout&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://ethingishere.blogspot.com/&quot; rel=&quot;nofollow&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;Clear Design&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://ethingishere.blogspot.com/&quot; rel=&quot;nofollow&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;4 Column Footer&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://ethingishere.blogspot.com/&quot; rel=&quot;nofollow&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;Social Sharing&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://ethingishere.blogspot.com/&quot; rel=&quot;nofollow&quot; style=&quot;background: rgb(221, 221, 221); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;Slider&lt;/a&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://ethingishere.blogspot.com/&quot; rel=&quot;nofollow&quot; style=&quot;background: rgb(238, 238, 238); border-radius: 0.3em; color: #444444; display: block; margin: 0.5em 0px; padding: 0.4em 0.4em 0.4em 2em; position: relative; transition: all 0.3s ease-out;&quot; target=&quot;_blank&quot;&gt;Browser Compatibility&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;box_content&quot; style=&quot;background: rgb(255, 255, 255); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; margin: 1px; outline: none; padding: 15px; text-align: justify;&quot;&gt;&lt;h3 style=&quot;font-family: arial, geneva, sans-serif; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lNWYS&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Watch Live Demo&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Download Link Here&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a class=&quot;button downloadbutton&quot; href=&quot;http://adf.ly/1lNWRH&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;UsersCloud&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lNWP2&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;DailyUpload&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lNWGV&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;Drive&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lNWLD&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;ZippyShare&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&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;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, geneva, sans-serif;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Password link Here&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a class=&quot;button downloadbutton&quot; href=&quot;http://adf.ly/1fOBh3&quot; style=&quot;font-family: cuprum; font-size: 16px; text-align: left;&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;Password&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;box_content&quot; style=&quot;background: rgb(255, 255, 255); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; color: #595959; font-family: Arial, Geneva, sans-serif; font-size: small; margin: 1px; outline: none; padding: 15px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/6426835155284742475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/03/boulevard-free-responsive-blogger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/6426835155284742475'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/6426835155284742475'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/03/boulevard-free-responsive-blogger.html' title='Boulevard Free Responsive Blogger Template Full Version Download'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE_vmRvqmVYTC63vxVLzLBMQHc2VtHZYnOFJmMcAvmN0T5tqId2jm3CjiZd-EM1tIv33gsaplj_Pv73ucNG3OgmaXMDhsf3hRP526NswafaQy94Dg4eJScxxmgoKAoO-VFQxZ2mHhN9V4/s72-c/Boulevard-1024x576.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-3961856876012222229</id><published>2017-03-11T20:27:00.000-08:00</published><updated>2017-09-09T01:10:11.490-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Wordpress"/><title type='text'>Political Activism Theme for WordPress Free Download</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 style=&quot;background-color: white; border: 0px none; box-sizing: border-box; color: #333333; font-weight: normal; list-style: none; margin: 0px 0px 10px; outline: none; padding: 0px;&quot;&gt;&lt;span itemprop=&quot;name&quot; style=&quot;border: 0px none; box-sizing: border-box; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;Political Activism Theme for WordPress Free Download....&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span itemprop=&quot;name&quot; style=&quot;border: 0px none; box-sizing: border-box; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span itemprop=&quot;name&quot; style=&quot;border: 0px none; box-sizing: border-box; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUXLMcPhuLswiYTK3kyDAaQA0f4o9VYf_CY66BaT_ckyuGYHDsSQS_i83oWISm_lmct327iEw9uRV1AWGfivCmP4TAJo2Z4iHEKktAzOuKMhftz8svs77WLzRnmoGjmq0qWklPgyr0t8I/s1600/01.__large_preview+%25281%2529.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Activism - Multipurpose Activism HTML5 Template - Activism Nonprofit&quot; border=&quot;0&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUXLMcPhuLswiYTK3kyDAaQA0f4o9VYf_CY66BaT_ckyuGYHDsSQS_i83oWISm_lmct327iEw9uRV1AWGfivCmP4TAJo2Z4iHEKktAzOuKMhftz8svs77WLzRnmoGjmq0qWklPgyr0t8I/s640/01.__large_preview+%25281%2529.jpg&quot; title=&quot;Activism - Multipurpose Activism HTML5 Template - Activism Nonprofit&quot; width=&quot;640&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;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; border: 0px none; box-sizing: border-box; color: #333333; font-family: &amp;quot;droid sans&amp;quot;, arial, verdana, sans-serif; font-size: 13px; list-style: none; margin-bottom: 20px; outline: none; padding: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;strong style=&quot;border: 0px none; box-sizing: border-box; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Activism: Political Activism&lt;/strong&gt;&amp;nbsp;Clean and minimal responsive WordPress theme for non-profit organizations, events websites or any other business or personal website.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;1.&amp;nbsp;SLIDER REVOLUTION premium plugin&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;2. Drag and drop PAGE BUILDER&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;3. Compatible with EVENTS CALENDAR plugin – Events list and Events single page included.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;4. Donation page included.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; border: 0px none; box-sizing: border-box; color: #333333; font-family: &amp;quot;droid sans&amp;quot;, arial, verdana, sans-serif; font-size: 13px; list-style: none; margin-bottom: 20px; outline: none; padding: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;strong style=&quot;border: 0px none; box-sizing: border-box; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Features&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; border: 0px none; box-sizing: border-box; color: #333333; font-family: &amp;quot;droid sans&amp;quot;, arial, verdana, sans-serif; font-size: 13px; list-style: none; margin-bottom: 20px; outline: none; padding: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Clean and minimal design&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Responsive and retina ready&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Slider Revolution premium plugin ( save $18 )&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Drag and drop page builder ( Aqua page builder )&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Bootstrap 3 framework&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Events calendar&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Optimized for all screen sizes&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;One page or multi page website&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Events page, donation page and blog pages&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;LESS file for easy color change&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Translation ready ( po and mo files included )&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Parallax sections&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Child theme included&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Documentation and step by step guide how to set your website to be like theme preview&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Custom post types and shortcodes in plugin&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;And more&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://adf.ly/1lKWof&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;PREVIEW DEMO&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px none; box-sizing: border-box; color: black; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;Download Links&lt;/span&gt;&amp;nbsp;Here&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a class=&quot;button downloadbutton&quot; href=&quot;http://adf.ly/1lKcaN&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;UsersCloud&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lL8zy&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;DailyUpload&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lLAja&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;Drive&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: #0b0d19; color: white; font-family: &amp;quot;cuprum&amp;quot;; font-size: 16px; text-align: left;&quot;&gt;&lt;a href=&quot;http://adf.ly/1lLE1s&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;Upload&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&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;/b&gt;&lt;br /&gt;&lt;b&gt;Password Link Here&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://adf.ly/1fOBh3&quot; target=&quot;_blank&quot;&gt;&lt;input id=&quot;gobutton&quot; type=&quot;submit&quot; value=&quot;Password&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/3961856876012222229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/03/political-activism-theme-for-wordpress.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/3961856876012222229'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/3961856876012222229'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/03/political-activism-theme-for-wordpress.html' title='Political Activism Theme for WordPress Free Download'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUXLMcPhuLswiYTK3kyDAaQA0f4o9VYf_CY66BaT_ckyuGYHDsSQS_i83oWISm_lmct327iEw9uRV1AWGfivCmP4TAJo2Z4iHEKktAzOuKMhftz8svs77WLzRnmoGjmq0qWklPgyr0t8I/s72-c/01.__large_preview+%25281%2529.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1890522474447179062.post-5025190207572986049</id><published>2017-03-10T20:36:00.000-08:00</published><updated>2017-09-09T01:10:11.503-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogging"/><title type='text'>How To Make Users Setting In Blogger Blog Urdu And Hindi Tutorials 2017</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;How To Make Users Setting In Blogger Blog Urdu And Hindi Tutorials 2017...&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNSTNyGIUlEOBbINuRc-L2k38v49z2TGgBS9D68jCBUmF3oQpQ2o7enqOL-kSDG_9WorD9N6Y4BsyIoM3UTAuzNmm3gSrnd_Kfh5LkldquCk-OWnh3PvnE1BEkVF28BtW8mQ4-YnH70so/s1600/users.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Users Setting In Blog&quot; border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNSTNyGIUlEOBbINuRc-L2k38v49z2TGgBS9D68jCBUmF3oQpQ2o7enqOL-kSDG_9WorD9N6Y4BsyIoM3UTAuzNmm3gSrnd_Kfh5LkldquCk-OWnh3PvnE1BEkVF28BtW8mQ4-YnH70so/s400/users.jpg&quot; title=&quot;How To Make Users Setting In Blogger Blog Urdu And Hindi Tutorials 2017.&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; border: 0px; color: #444444; font-family: &amp;quot;droid sans&amp;quot;; font-size: large; font-stretch: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: x-small; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;- Blog Is The Biggest Platform of sharing Ideas.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;background-color: white; border: 0px; color: #444444; font-family: &amp;quot;Droid Sans&amp;quot;; font-size: 14px; font-stretch: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: large; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: x-small; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;- You can Share your ideas in Public&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;- It also helps For making money online By Connecting Adsense account in Your blog.&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;- Adsense Is the Top Features Of Google, It helps To Advertize On your Blog, Website And On YouTube Videos.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: large; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: x-small; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;- If You want&#39;s to Know More about Adsense, Like How it work, How to create Adsense Account, and How to Approve&amp;nbsp;&lt;span style=&quot;border: 0px; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;Adsense Account easily.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: large; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: x-small; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;The interesting Thing is It&#39;s free , If You don&#39;t have Website, You can easily Use Blogger As a website.&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;If You like this video please Share.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: large; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: x-small; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div id=&quot;adsmiddle25869404149007450262&quot; style=&quot;border: 0px; font-stretch: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;div style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;div style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In this Course you can learn Complete Learn Blogger (Basic to Advanced Level) in Urdu Language and Hindi Language with Video Tutorial By Si&lt;span style=&quot;border: 0px; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;r WAQAS Ahmed Mir&lt;/span&gt;. You can learn how to make your Blogger blog (Completely), Blogger Overview, Blogger Post, Blogger Pages, Blogger Comments, Blogger Google+ Setting, Blogger Stats, Blogger Earnings, Blogger Campaigns, Blogger Layout, Blogger Template, Blogger Setting, Blogger SEO, Add Next and Previous Pagination, Blog Marked as Spam Solutions, Setup a Custom Domain, Edit HTML Video, Remove Scbscribe to Post, SEO Friendly Templates, Customize Template, Google Hummingbird, Panda and Penguin Algorithms, SEO Keyword Research, SEO Link Building, Build an Efficient SEO Strategy, Compressing CSS Images, SEO Best Tools, Google FeedBurner, SEO Tip for Blogger Post Title, Index site in Search Engines, Robots.TXT File, SEO Meta Tags, SEO Optimize Images, Submit Blog Sitemap to Bing Webmaster, Submit Blog Sitemap to Google Webmaster, Webmaster Tools, Analytic Tools, HTML, CSS, JavaScript, jQuery, Choose a best domain Name, choose a best Title and Description, choose a best Keywords, Blogger Settings, add Google Visitors Tracking code, new interface for your Blogger, Blog add in Best Search Engines, Selecting Best Theme, Backup and Restore Blogs, Make Money with Blog and many more, so Watch, Learn and must Share with your Friends.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&amp;nbsp; &amp;nbsp;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;https://www.youtube.com/embed/QuUkH1DxSjk&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://coolprogramming4u.blogspot.com/feeds/5025190207572986049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/03/how-to-make-users-setting-in-blogger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/5025190207572986049'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1890522474447179062/posts/default/5025190207572986049'/><link rel='alternate' type='text/html' href='https://coolprogramming4u.blogspot.com/2017/03/how-to-make-users-setting-in-blogger.html' title='How To Make Users Setting In Blogger Blog Urdu And Hindi Tutorials 2017'/><author><name>Waqas Ahmed Mir PC</name><uri>http://www.blogger.com/profile/04690444688570859814</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNSTNyGIUlEOBbINuRc-L2k38v49z2TGgBS9D68jCBUmF3oQpQ2o7enqOL-kSDG_9WorD9N6Y4BsyIoM3UTAuzNmm3gSrnd_Kfh5LkldquCk-OWnh3PvnE1BEkVF28BtW8mQ4-YnH70so/s72-c/users.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>