<?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-2998465316334389231</id><updated>2024-11-06T08:32:50.430+05:30</updated><category term="Basic"/><category term="Bca Notes"/><category term="jobs"/><category term="PROJECTS"/><category term="Class"/><category term="GRAPHIC CODING"/><category term="C++ programmings"/><category term="ASSIGNMENT HUB"/><category term="c++ code"/><category term="Program Code"/><category term="C++ CV"/><category term="CV Samples"/><category term="FAQ"/><category term="job"/><category term="c++ program"/><category term="Assembly Language Examples"/><category term="engineering"/><category term="TAKE  CHALLENGE"/><category term="c++ notes"/><category term="Bca Collage"/><category term="Bca News"/><category term="C"/><category term="C programmings"/><category term="Robotics Guide"/><category term="SQL"/><category term="Video Tutorial"/><category term="robot program"/><category term="CV"/><category term="How To Compile"/><category term="Learn Gaming"/><category term="Short Definition"/><category term="array in class"/><category term="c program"/><category term="pointers"/><category term="4 x 4 matrix"/><category term="Addressing Concepts"/><category term="Advanced Pointer Topics"/><category term="After Diploma"/><category term="Anti-bug tool"/><category term="Applications and Applets"/><category term="Array"/><category term="Assembly sample source codes"/><category term="BA in Computer Science"/><category term="Big-O Notation"/><category term="C++ Library"/><category term="C++ operator overloading"/><category term="Centralized Databases"/><category term="Code block 12.11"/><category term="Command line arguments"/><category term="Comment your code"/><category term="Connecting Java and World Wide Web"/><category term="Conversion characters"/><category term="Convert"/><category term="Creating HTML Page"/><category term="Data and information"/><category term="Database Architecture"/><category term="Debugging"/><category term="Dimensional sum"/><category term="Download Program"/><category term="Dynamic allocation"/><category term="Escape sequences"/><category term="Explaining data types in Java"/><category term="File handling"/><category term="Functions in C++"/><category term="Fusion sort"/><category term="Garbage Collection in Java"/><category term="HTML"/><category term="How to avoid bugs"/><category term="How to find bugs"/><category term="How to identify a diagnostic"/><category term="Incorporating  Horizontal Rule"/><category term="Input Output (II Part)"/><category term="Input Output Devices (I part)"/><category term="Instructions and I/O Subsystems"/><category term="JVM"/><category term="Logic Gates Flip Flops"/><category term="Logic Gates and Flip Flops I part"/><category term="Macro function"/><category term="Null Pointer"/><category term="Object Persistence"/><category term="Oops"/><category term="Overloading  operator"/><category term="Parentheses and Priority"/><category term="Parser"/><category term="Pointer"/><category term="Preprocessor Commands"/><category term="Returning a pointer"/><category term="Scope : Local And Global"/><category term="Search"/><category term="Serialization"/><category term="Setting up the environment"/><category term="SieveOfEratosthenes"/><category term="Stack Data structure implementation"/><category term="Streams"/><category term="Structure Pointers"/><category term="The C++ Job Seeker&#39;s Guide"/><category term="The Compilation Process"/><category term="The Switch Vs If-Else"/><category term="The semantics of the arguments to main"/><category term="Transposeofmatrix"/><category term="Tree structures"/><category term="Types of Data base"/><category term="Use constants instead of numerical values"/><category term="Using Wind River Workbench"/><category term="Using objects In Robotics"/><category term="Values and Statements"/><category term="Web Accessibility"/><category term="What Interviewers Look For"/><category term="What is the WPI Robotics Library"/><category term="abort function"/><category term="automatic type casting"/><category term="bug zoo"/><category term="c compilers"/><category term="c plus plus coding"/><category term="c++ iostream"/><category term="call by reference in c"/><category term="call by value in c"/><category term="cgets"/><category term="cmd batch commands"/><category term="comments in c++"/><category term="constructor"/><category term="ctype fucntion"/><category term="ctype header file"/><category term="data models"/><category term="data redundancy"/><category term="data structure"/><category term="data type"/><category term="database"/><category term="default constructor"/><category term="dynamic memory allocation"/><category term="else statement"/><category term="filename"/><category term="free online c++ compilers"/><category term="global variable"/><category term="how to write a CV"/><category term="if statement"/><category term="include files"/><category term="interview question"/><category term="iostream in c++"/><category term="java"/><category term="local variable"/><category term="lvalue vs. rvalue"/><category term="memory"/><category term="memory in c"/><category term="multiline comment"/><category term="objects"/><category term="online c++ compilers"/><category term="oop object"/><category term="parameter constructor"/><category term="priviate"/><category term="program to print odd numbers"/><category term="public"/><category term="salary"/><category term="single line comment"/><category term="starting C++"/><category term="stdafx.h"/><category term="storage devices"/><category term="string"/><category term="style note"/><category term="switch statement"/><category term="type casting"/><category term="types of comments in c++"/><category term="variable"/><category term="while and do-while"/><title type='text'>C++ Program</title><subtitle type='html'>Learn C++ Programming fast and easy, find C++ Program Codes</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cplusplusprogramings.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>430</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-5726539841796906327</id><published>2023-05-30T14:34:00.010+05:30</published><updated>2023-05-30T14:34:51.060+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++ notes"/><title type='text'>What are the characteristics of a good program in C++ </title><summary type="text">The program should be written in a good style so that it is understandable to a reader. A good program is efficient in solving the given program.&amp;nbsp;Here are some of the characteristics of a good program :Effective and Efficient&amp;nbsp;User Friendly&amp;nbsp;Self-Documenting Code&amp;nbsp;Reliable&amp;nbsp;Portable&amp;nbsp;I.&amp;nbsp;Effective and Efficient The program produces correct results and works faster, </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/5726539841796906327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/5726539841796906327'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/05/characteristics-of-a-good-program-in-c.html' title='What are the characteristics of a good program in C++ '/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-2041612162531199352</id><published>2023-05-13T13:14:00.003+05:30</published><updated>2023-06-01T12:41:25.533+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++ code"/><title type='text'>C++ Program to determine whether an input Year is Leap Year or not </title><summary type="text">In C++ programming we can write code to check whether a year is a leap year or not. Let&#39;s look at the code to input the year and check if it is a leap year or not.&amp;nbsp;Leap year C++ Program to determine whether an input Year is Leap Year or not#include &amp;lt;stdio.h&amp;gt;int main() {&amp;nbsp; &amp;nbsp;int year;&amp;nbsp; &amp;nbsp;printf(&quot;Enter a year: &quot;);&amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;, &amp;amp;year);&amp;nbsp; &amp;nbsp;// leap </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/2041612162531199352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/2041612162531199352'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/05/c-program-to-determine-whether-an-input-year-is-leap-year-or-not.html' title='C++ Program to determine whether an input Year is Leap Year or not '/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjlE-yIkrTCeNlbj4H-Lq1BsZ8R1oDzl_vH7ZtCOeibIbowQQ9FFkEwRS7odN8c8iShWUxdNhTYvmOuiIOImt8ExKKMrEiuBeAf-dCZsKKmR35XwAyWhOTqR3hOcP5TuTj5Tn8fVkKuqGAQuHbvinmXo5rjyv9LtUdCbW6m-ml3Ur165idKRcT37prXqA=s72-c" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-532452256062362041</id><published>2023-04-26T19:08:00.000+05:30</published><updated>2023-04-26T19:08:52.444+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++ notes"/><category scheme="http://www.blogger.com/atom/ns#" term="dynamic memory allocation"/><category scheme="http://www.blogger.com/atom/ns#" term="memory in c"/><title type='text'>What is Dynamic Memory Allocation in C++ Program</title><summary type="text">In the computer world, anything that is processed be it an instruction or any data first needs to be loaded and located in internal memory.&amp;nbsp;In C++ programs also any data that is processed while executing the program is held in the internal memory.&amp;nbsp;What is Dynamic Memory Allocation?Dynamic Memory allocation means that the memory that will be used during the program is not known </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/532452256062362041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/532452256062362041'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/what-is-dynamic-memory-allocation-in-c-program.html' title='What is Dynamic Memory Allocation in C++ Program'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-2983135388139452422</id><published>2023-04-21T15:40:00.002+05:30</published><updated>2023-04-21T15:40:44.403+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++ code"/><title type='text'>C++ Program to input number of week&#39;s days and convert to equivalent name of day of the week </title><summary type="text">In C++ Program, we can write a code&amp;nbsp;to input the number of week&#39;s days and convert it to the equivalent name of day of the weekThis is done by using the switch selection statement in C++ if you want to learn about the selection statements read it here, What are Selection Statements in C++&amp;nbsp;.Let&#39;s look at the code&amp;nbsp;to input the number of week&#39;s days and convert it to the equivalent </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/2983135388139452422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/2983135388139452422'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/C-Program-to-input-number-of-week-days-and-convert-to-equivalent-name-of-day-of-the-week.html' title='C++ Program to input number of week&#39;s days and convert to equivalent name of day of the week '/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEgjPHAuIlkd1ZtpmaXgbJn3K2Xq2C4oNJN_6pv0vG0_MY4g94X3YxpsCj2p-Gc7cHI5HM1KJ4nS1r_nb4BDWTNNUrw9kYqMlwHzLthBC96imLyfxCQYF7tNjRw4OLbO4QJPudsRjdVsPMbEyDBiijMqVTqtFEpbO9UnOGO9Si7sw_56Xbnv7n2zWUF5Mg=s72-w400-h165-c" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-630761192181390956</id><published>2023-04-21T14:46:00.001+05:30</published><updated>2023-04-21T15:41:19.324+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++ notes"/><category scheme="http://www.blogger.com/atom/ns#" term="else statement"/><category scheme="http://www.blogger.com/atom/ns#" term="if statement"/><category scheme="http://www.blogger.com/atom/ns#" term="switch statement"/><title type='text'>What are selection statements in C++ ? If and Switch </title><summary type="text">There are several statements that we can use in C++ programming that help in choosing a set of instructions for using the code depending upon an expression truth value.&amp;nbsp;What are Selection Statements in C++? As mentioned above there are several statements that we can use to choose a set of pre-defined instructions within a program in any section of the program as per the need. These are </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/630761192181390956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/630761192181390956'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/What-are-selection-statements-in-C-If-and-Switch.html' title='What are selection statements in C++ ? If and Switch '/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-6323375626216632772</id><published>2023-04-21T13:57:00.000+05:30</published><updated>2023-04-21T13:57:07.676+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++ code"/><category scheme="http://www.blogger.com/atom/ns#" term="Program Code"/><title type='text'>C++ Program to calculate the factorial of an integer</title><summary type="text">In C++ program you can write a program to calculate the factorial of an integer. Let&#39;s look at the code to calculate the factorial of an integer.&amp;nbsp;#include &amp;lt;iostream&amp;gt;using namespace std ;int main ()&amp;nbsp;{int i, num, fact=1 ;cout &amp;lt;&amp;lt;&quot;\n Enter integer&quot; ;cin&amp;gt;&amp;gt; num;i = num ;&amp;nbsp;while (num)&amp;nbsp;{fact *=num ;--num ;}cout&amp;lt;&amp;lt; &quot;The factorial of &quot; &amp;lt;&amp;lt; i ;cout&amp;lt;&amp;lt;&quot;is&quot; </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/6323375626216632772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/6323375626216632772'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/C-Program-to-calculate-the-factorial-of-an-integer.html' title='C++ Program to calculate the factorial of an integer'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEj0nGxUgfTOXO1ZsD-Z7Ur1dqZkQUrGy21ffUHqkP19i6ROYky4GF_fyFINcxwn5UgWfF5Yy3HwqW8z08yhDrFz0OPvvuHNtJ862gFDI1AZwAPTLhAoefi9qNYjgUoO0HMwKq-vGFvhRIeGtkxAovk-PwAKe7y7mKgvZprq4oYT0WxYyBJlDVq5ZL3QkQ=s72-w400-h221-c" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-6828397562470843605</id><published>2023-04-20T19:25:00.000+05:30</published><updated>2023-04-20T19:25:42.135+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++ iostream"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ notes"/><category scheme="http://www.blogger.com/atom/ns#" term="iostream in c++"/><title type='text'>What is iostream.h in C++ Programing Language ? </title><summary type="text">In C++ programing language, all header files end with .H extension. In standard C++, all devices are accessed and used as a file.&amp;nbsp;One such header file is iostream.h in C++ programming language. In this, all input and output devices are treated as files.&amp;nbsp;Let&#39;s quickly look at what are the input and output devices mean in C++ program.&amp;nbsp;Standard Input Device- Keyboard&amp;nbsp;Standard </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/6828397562470843605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/6828397562470843605'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/What-is-iostream-in-C-Programing-Language.html' title='What is iostream.h in C++ Programing Language ? '/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-5002745001897441966</id><published>2023-04-20T13:56:00.000+05:30</published><updated>2023-04-20T13:56:08.063+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++ code"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ program"/><category scheme="http://www.blogger.com/atom/ns#" term="C++ programmings"/><category scheme="http://www.blogger.com/atom/ns#" term="Program Code"/><title type='text'>C++ Program to calculate the area of a square </title><summary type="text">In C++ program you can write a program to calculate the area of a square. Let&#39;s look at the C++ Code to calculate the area of a square.#include &amp;lt;iostream.h&amp;gt;#include &amp;lt;conio.h&amp;gt;using namespace std;int main () {float side, area ;cout&amp;lt;&amp;lt;&quot;Enter side of the square : &quot; ; cin &amp;gt;&amp;gt;side ; cout&amp;lt;&amp;lt;&quot;\n The area of the square is :&quot; ;cout&amp;lt;&amp;lt;side*side ;cout&amp;lt;&amp;lt;&quot;square-units&quot; ;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/5002745001897441966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/5002745001897441966'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/C-Program-to-calculate-the-area-of-a square .html' title='C++ Program to calculate the area of a square '/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaMVE1Duijhbp9ZbIGBWgWl9dzVETKPBchIjpm8fig11Oqj3lPX175P5Bbjf3YXcFrvppeK5gTM04XjAbVN3-Hu-Jr7PNh4lDDbfg-4KlpMabOPPSosgNDT-p0ZwCKQL2t4eQiSgHeIUMvl6qmdk58bPsGL_-ffO7VSMxWgcVyhy4nTnYYnXrAdee0Wg/s72-c/Screenshot%202023-04-20%20135343.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-5800823195990060088</id><published>2023-04-20T13:34:00.001+05:30</published><updated>2023-04-20T13:34:57.243+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++ code"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ program"/><category scheme="http://www.blogger.com/atom/ns#" term="Program Code"/><title type='text'>C++ Program to convert a given number of days into years, weeks and days </title><summary type="text">In C++ Programs we can write a program to convert a given number of days into years, weeks and days.Let&#39;s look at the C++ Code&amp;nbsp;to convert a given number of days into years, weeks and days.#include &amp;lt;iostream.h&amp;gt;#include &amp;lt;conio.h&amp;gt;using namespace std ;int main (){ clrscr ();&amp;nbsp;int totdays, years, weeks, days, num1;&amp;nbsp;cout&amp;lt;&amp;lt;&quot;Ener total number of days : &quot; ;cin&amp;gt;&amp;gt; </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/5800823195990060088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/5800823195990060088'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/C-Program-to-convert-a-given-number-of-days-into-years-weeks-and-days .html' title='C++ Program to convert a given number of days into years, weeks and days '/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWb2YnPVUCXePx-EDFyVxzkASSo6zqDy8wOl3Y6_ZTHRJplUfKZzN7s-a-1Hz8qfNp9u5GDHKk8HAMmJwVHAvZkF54qLzNFMivqe7feaIGXrv0uMSaNwA_Na4OPcMQTAC5djYn4k3Mp_5A1kMW0vQpWMAaUVq0f8Tv_UaoAnP4-s09g8oZkqSHYsXOTg/s72-w437-h208-c/Screenshot%202023-04-20%20133033.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-6876969547828005726</id><published>2023-04-19T14:32:00.000+05:30</published><updated>2023-04-19T14:32:10.078+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="call by reference in c"/><category scheme="http://www.blogger.com/atom/ns#" term="call by value in c"/><title type='text'>Difference between call by value and call by reference</title><summary type="text">What is Call By Value in C&amp;nbsp;In call by value method, the called function creates its own copies of the original values that are sent to it. The changes made in the value are made on the copy of the called function and do not affect the main function.&amp;nbsp;Example of call by value in cint main (){int a=6 ;&amp;nbsp;cout&amp;lt;&amp;lt; &quot;a =&quot; &amp;lt;&amp;lt; a ;change (a) ;cout &amp;lt;&amp;lt;&quot;\n a=&quot; &amp;lt;&amp;lt; a ;return </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/6876969547828005726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/6876969547828005726'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/Difference-between-call-by-value-and-call-by-reference.html' title='Difference between call by value and call by reference'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-2820333214031464276</id><published>2023-04-19T13:48:00.000+05:30</published><updated>2023-04-19T13:48:25.305+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++ code"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ program"/><category scheme="http://www.blogger.com/atom/ns#" term="Program Code"/><title type='text'>C++ Program to check if a string is palindrome or not</title><summary type="text">The word palindrome means that when read from left to right or right to left it is the same. The spelling of palindromic words is the same on either side.&amp;nbsp;In C++ Programs we can write a program to check if the string is palindrome or not.C++ Program to check if a string is a palindrome or not#include &amp;lt;iostream&amp;gt;#include &amp;lt;stdlib.h&amp;gt;int main (){system (&quot;cls&quot;);char string[80],c ;std::</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/2820333214031464276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/2820333214031464276'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/c-program-to-check-if-a-string-is-palindrome.html' title='C++ Program to check if a string is palindrome or not'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEj9R39FJO4r0WZjR8XLKssOsEoHQWq8Mi7ALxk2YHphUXuPMutS9gH41TieGyFSCK63DN59Z7Yc0ONPeQQsCD6xtgrLX3JmkSMq63DHJbbNBTZtI-oTLSlqAfp39T7tSBU0_qRgVKhP005ABuXsVJKu5MizZP5WgZJgVKO80lzrJKNLFcUMDGLdlAGrwg=s72-c" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-2453730315543272446</id><published>2023-04-18T13:59:00.004+05:30</published><updated>2023-04-20T14:40:56.601+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c program"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ code"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ program"/><category scheme="http://www.blogger.com/atom/ns#" term="Program Code"/><title type='text'>C++ Program to count the number of characters entered </title><summary type="text">In C++ Program you can write a code to count the characters of the word entered. Let&#39;s look at the coding.C++ Program to count the number of characters entered#include &amp;lt;iostream.h&amp;gt;#include &amp;lt;conio.h&amp;gt;int main (){int chcount =&amp;nbsp; 0 ;const char ent = &#39;\n&#39; ;char ch ;std::cout &amp;lt;&amp;lt; &quot;Enter character\n&quot; ;&amp;nbsp;std::cin.get(ch) ;while (ch!=ent){chcount++ ;std::cout.put(ch) ;std::cin.get</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/2453730315543272446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/2453730315543272446'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/c-program-to-count-the-number-of-characters-entered.html' title='C++ Program to count the number of characters entered '/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjuGPk1suW8BS4GnHqhRNwv7qkc0k1aEfhNA788D230TfSFgNCK_v2HqgqY9YqwAe7vjZsdJTNzRYuR29QCKKp2H1IPfpk2Y2tss1xvdR2vj0fU0n2fUKAMSdo_E6EcLg0Lw5FzxpxAc9TyZ1bxCWPvQaURSvk5zMcZuEFA44FdeT1ndmNe1RWPq8K32Q=s72-c" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-353312720105702156</id><published>2023-04-17T13:42:00.008+05:30</published><updated>2023-04-20T14:41:09.908+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++ code"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ program"/><category scheme="http://www.blogger.com/atom/ns#" term="Program Code"/><title type='text'>C++ Program to Convert Temperature from Fahrenheit to Celsius and Celsius to Fahrenheit  (If-else statement)</title><summary type="text">In C++ programming language we can write a program to convert temperature from&amp;nbsp;Fahrenheit to Celsius and Celsius to Fahrenheit with the simple use ofIf-else statement.Let&#39;s us look at the code.&amp;nbsp;C++ Program to Convert Temperature from Fahrenheit to Celsius and Celsius to Fahrenheit&amp;nbsp; (If-else statement)#include &amp;lt;iostream.h&amp;gt;int main() {int choice ;&amp;nbsp;float temp, countemp ;&amp;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/353312720105702156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/353312720105702156'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/C-Program-to-Convert-Temperature-from-Fahrenheit-to-Celsiusand-visa-versa.html' title='C++ Program to Convert Temperature from Fahrenheit to Celsius and Celsius to Fahrenheit  (If-else statement)'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEgSBlLM2AZ7HRbIfqUIkn2Zkbh1wnq9ZXbJojZWnYMzektollOlKpenQlVQ7HOkx_fXwO-eINrC3I3R3R7xqQRgykRxye-xP_HHwDvlmjj7oWkpLuvDT1aDYqMaGBnG4UtQDVaoizBmDYDRcB1rkLbMvA1PFCOhqkMR8LtvzbBsTaxFNIVHeHtTyOfdIQ=s72-w640-h158-c" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-8674782920141364104</id><published>2023-04-15T15:21:00.005+05:30</published><updated>2023-04-20T14:41:22.869+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c program"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ code"/><category scheme="http://www.blogger.com/atom/ns#" term="Program Code"/><title type='text'>C ++ Program to read radius of a circle to calculate area and perimeter to display them </title><summary type="text">In C++ Program you can easily write a code to read the radius of a circle to calculate the area of the circle and the perimeter of the circle.Let&#39;s have a look at the&amp;nbsp;C ++ Program to read radius of a circle to calculate area and perimeter to display them&amp;nbsp;#include &amp;lt;iostream.h&amp;gt;#include &amp;lt;stdlib.h&amp;gt;int main (){ system (&quot;cls&quot;)double radius, area, perimeter ; cout&amp;lt;&amp;lt;&quot;Enter </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/8674782920141364104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/8674782920141364104'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/-program-to-read-radius-of-circle-and-calculate-area-and-perimeter.html' title='C ++ Program to read radius of a circle to calculate area and perimeter to display them '/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEhQ8aCg_CqJGBcHbL6gkoBU5ag3a2kXwBMX8mTRKd44DEg89B4tLLHgaTKP_iF9nSvP47i1Iocy1Ll2DaMyTC5gfWto9Rx4o0DScNixzmsGZVpbasomUikxtumPP59Shn4eDJHZoH_xiwIEgEu1gE-u-1NOFs1XhrkJcb6QFjYMsEQSWH1P-omjrlXQ8w=s72-w520-h169-c" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-6774182114652735980</id><published>2023-04-15T13:13:00.001+05:30</published><updated>2023-04-15T13:13:51.915+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c compilers"/><category scheme="http://www.blogger.com/atom/ns#" term="free online c++ compilers"/><category scheme="http://www.blogger.com/atom/ns#" term="online c++ compilers"/><title type='text'>Top online c++ compliers to use for free</title><summary type="text">In C++ programming compilers plays a vital role. With the use of compilers such as Turbo C++ which is a free C++ compiler to download and use it on a computer.&amp;nbsp;However, the trends have changed, not everyone has the time to download and set up offline C++ compilers so now there are few Online C++ compilers available for quick testing of codes.&amp;nbsp;Let&#39;s look at some of the Online C++ </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/6774182114652735980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/6774182114652735980'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/top-online-c-compliers-to-use-for-free.html' title='Top online c++ compliers to use for free'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7QenGQmW-aGVqUyy2Q0gjOwFWe7P5vk5HsqcfF9X1Kg2ayUalOdDzK65z0DLPs2Nr97ltCUdLfwMZ5QbamkzeoZOIKRdb3JzuvfOAK9hF-agt-CuvY7nIMAU1A-ShO0LQbD5tA6NzhZEWwSvY2X8uVitC1AFAd_PvdtyLtaWovgA3jB1jMJksXSqeSg/s72-w640-h360-c/programiz.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-9044792346037828226</id><published>2023-04-14T15:06:00.001+05:30</published><updated>2023-04-14T15:06:21.375+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="comments in c++"/><category scheme="http://www.blogger.com/atom/ns#" term="multiline comment"/><category scheme="http://www.blogger.com/atom/ns#" term="single line comment"/><category scheme="http://www.blogger.com/atom/ns#" term="types of comments in c++"/><title type='text'>What are Comments in a C++ Programming?</title><summary type="text">In C++ programing language we can use comments to define different sections in the program itself.&amp;nbsp;Comments in C++ are not detected by the C++ compiler, it ignores the comments and simply does not compline or give any error related to comments. However there is a code or say format set to define comments in C++, otherwise it will show an error while compiling the code.Comments are denoted by</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/9044792346037828226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/9044792346037828226'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/what-are-comments-in-c-programming.html' title='What are Comments in a C++ Programming?'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-5761130701210401312</id><published>2023-04-14T12:17:00.004+05:30</published><updated>2023-04-20T14:41:36.956+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c plus plus coding"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ code"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ program"/><category scheme="http://www.blogger.com/atom/ns#" term="Program Code"/><category scheme="http://www.blogger.com/atom/ns#" term="program to print odd numbers"/><title type='text'>Program to print odd numbers from 100 to 1 in C++</title><summary type="text">In a C++ program, you can write code to print odd numbers from 100 to 1. Here is how to do it.&amp;nbsp;C++ Program Code#include &amp;lt;iostream.h&amp;gt;int main (){for (int i=99 ; i &amp;gt; 0 ; i-- )if (i % 2)std::cout &amp;lt;&amp;lt; i &amp;lt;&amp;lt; &#39; &#39; ;return 0 ;&amp;nbsp;}The output of the Program</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/5761130701210401312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/5761130701210401312'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2023/04/Program-to-print-odd-numbers-from-100-to-1 .html' title='Program to print odd numbers from 100 to 1 in C++'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7JzIahBb2qk7scfh5lk702QhzDIvw4Kq2fktppC2a6tcY0LRqDY3DQhtv1X6Al6J_FnR3loEJ24AFV2r4_nzAyXQbyfoX8M_XZ4Wj7FeX2Z6BkdyxB8YHAGeYhq-UGuI0oMY8fWBNQcBYVszPnkL4gwq9L1r9JPjjxGdzHyy1hXcq0m3PyzrYdeDyFA/s72-w640-h89-c/out.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-1527147379840175668</id><published>2013-06-23T21:38:00.005+05:30</published><updated>2013-06-23T21:38:57.570+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="The Switch Vs If-Else"/><title type='text'>The Switch Vs If-Else</title><summary type="text">

The switch and if-else both are selection statement and they
both let you select an alternative out of given many alternative by testing an
expression.






Below I have Listed Some of the Difference in their
operations:



The switch statement
differs from the if statement in
that switch can only test for
equality whereas if can evaluate a
relation or logical expression.



The Switch </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/1527147379840175668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/1527147379840175668'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2013/06/the-switch-vs-if-else.html' title='The Switch Vs If-Else'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-7502515724530726224</id><published>2013-06-05T20:24:00.000+05:30</published><updated>2013-06-05T20:24:01.226+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="Scope : Local And Global"/><title type='text'>Scope : Local And Global</title><summary type="text">

From the
computer’s point of view, a C program is nothing more than

a collection
of functions and declarations. 



Functions
can be thought of as sealed capsules of program code which float on a background
of white space,and are connected together by means of function calls. White
space is the name given to the white of an imaginary piece of paper upon which a
program is written, in other </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/7502515724530726224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/7502515724530726224'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2013/06/scope-local-and-global.html' title='Scope : Local And Global'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-5354426688383478704</id><published>2013-05-24T22:16:00.002+05:30</published><updated>2013-05-24T22:16:09.346+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bca Notes"/><title type='text'>Java Runtime Environment</title><summary type="text">

The Java Runtime Environment (JRE) provides the libraries, the Java Virtual Machine, and other components to run applets and applications written in the Java programming language. In addition, two key deployment technologies are part of the JRE: Java Plug-in, which enables applets to run in popular browsers; and Java Web Start, which deploys standalone applications over a network.

(a) Java </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/5354426688383478704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/5354426688383478704'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2013/05/java-runtime-environment.html' title='Java Runtime Environment'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-7187397514946317825</id><published>2013-05-24T14:54:00.002+05:30</published><updated>2013-05-24T14:54:51.430+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Applications and Applets"/><category scheme="http://www.blogger.com/atom/ns#" term="Bca Notes"/><title type='text'>Applications and Applets In Java</title><summary type="text">

Java is a general-purpose, object-oriented programming language. We can&amp;nbsp;develop two types of Java programs :

Stand alone Applications : Programs written in Java to carry out certain&amp;nbsp;
tasks on a stand alone local computer.

&amp;nbsp;Executing stand alone java&amp;nbsp;programs involves two steps :

(a) Compiling through javac compiler.
(b) Executing the byte code using java interpreter.&amp;nbsp</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/7187397514946317825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/7187397514946317825'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2013/05/applications-and-applets-in-java.html' title='Applications and Applets In Java'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-1339331062010185221</id><published>2013-05-23T16:59:00.000+05:30</published><updated>2013-05-23T16:59:09.054+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bca Notes"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>Exception Handling in Java</title><summary type="text">
The term exception is shorthand for the phrase &quot;exceptional event.&quot; Definition : An exception is an event, which occurs during the execution of a program that disrupts the normal flow of the program&#39;s instructions.

&amp;nbsp;When an error occurs within a method, the method creates an object and hands it off to the runtime system. The object, called an exception object, contains information about </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/1339331062010185221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/1339331062010185221'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2013/05/exception-handling-in-java.html' title='Exception Handling in Java'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-4371387260395524333</id><published>2013-05-23T16:04:00.001+05:30</published><updated>2013-05-23T16:04:23.789+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bca Notes"/><title type='text'>What are Abstract Methods and Classes</title><summary type="text">

Abstract Methods and Classes : An abstract class is a class that is declared abstract—it may or may not include abstract methods. Abstract classes cannot be instantiated, but they can be subclassed. An abstract method is a method that is declared without an implementation (without braces, and followed by a semicolon), like this : abstract void moveTo(double deltaX, double deltaY); If a class </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/4371387260395524333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/4371387260395524333'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2013/05/what-are-abstract-methods-and-classes.html' title='What are Abstract Methods and Classes'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-5033567953129816892</id><published>2013-05-23T15:23:00.001+05:30</published><updated>2013-05-23T15:23:19.168+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bca Notes"/><title type='text'>Packages and Interfaces</title><summary type="text">


Packages

Many times when we get a chance to work on a small project, one thing we intend to do is to put all java files into one single directory. It is quick, easy and harmless. However if our small project gets bigger, and the number of files is increasing, putting all these files into the same directory would be a problematic for us. In java we can avoid this sort of problem by using </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/5033567953129816892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/5033567953129816892'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2013/05/packages-and-interfaces.html' title='Packages and Interfaces'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-2998465316334389231.post-8641892024418466178</id><published>2013-05-23T14:57:00.005+05:30</published><updated>2013-05-23T14:57:56.042+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bca Notes"/><title type='text'>Wrapper Classes</title><summary type="text">

Wrapper classes are used to represent primitive values when an Object is required. The wrapper classes are used extensively with Collection classes in the java.util package and with the classes in the java.lang.reflect reflection package.

Wrapper classes has the following features :

&amp;nbsp;One for each primitive type: Boolean, Byte, Character, Double, Float, Integer, Long, and Short. Byte, </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/8641892024418466178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2998465316334389231/posts/default/8641892024418466178'/><link rel='alternate' type='text/html' href='http://cplusplusprogramings.blogspot.com/2013/05/wrapper-classes.html' title='Wrapper Classes'/><author><name>Benny Mathur</name><uri>http://www.blogger.com/profile/06889443513762481237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYDY5TOj5X65XH9sN_h1qDXqfSMIGHVSke_Y00UACiJFIvK0p7YeIWd0QXMJyJYeERW5pRTy9F1EreBbeOeFzO7UqnCSGqbnJr7s4fUQ9uURJ717nEPhRDExB0lqa0YruVuQWPFZ3E-bY3EW0ejFrq_X6ZuhJE3e5339sfTTKFD_jK-Q/s1600/benny%20photo.jpg'/></author></entry></feed>