<?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: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-3753595530348818801</id><updated>2011-12-24T22:20:52.941-08:00</updated><category term='JAVA - Class'/><category term='HTML - Font'/><category term='HTML - Introduction'/><category term='C++ Introduction'/><category term='C-Type Cast'/><category term='C - Switch Statement'/><category term='C-Algorithm'/><category term='PHP - MYSQL INSERT'/><category term='C++ - Template'/><category term='PHP Syntax'/><category term='C-Array'/><category term='HTML - Listing'/><category term='C++ - Function Overload'/><category term='PHP - MYSQL CREATE'/><category term='JAVA - String'/><category term='C Theory'/><category term='C-Numeric Loop'/><category term='CSS - Text'/><category term='C - While Loop'/><category term='C - Pointers'/><category term='PHP - MYSQL UPDATE'/><category term='CSS - Background'/><category term='C++ - Reverse Iterator'/><category term='HTML - Paragraph'/><category term='PHP If Else'/><category term='PHP - MYSQL TABLE'/><category term='C++ - Stack'/><category term='C -If Else'/><category term='PHP - MYSQL SELECT'/><category term='C++ - Pointer'/><category term='PHP - SWITCH'/><category term='C++ Input \ Ouput'/><category term='PHP - MYSQL CONNECT'/><category term='PHP String'/><category term='PHP - MYSQL DELETE'/><category term='HTML - Comment'/><category term='JAVA - Operators'/><category term='C- Expression'/><category term='C++ - Priority Queue'/><category term='JAVA - Numeric Loop'/><category term='HTML - CSS'/><category term='C++ - Vector'/><category term='SQL - SELECT'/><category term='PHP Operators'/><category term='C++ - Queue'/><category term='JS-loop'/><category term='CSS - Font'/><category term='HTML - Heading'/><category term='PHP - ARRAY'/><category term='C - Storage Class'/><category term='HTML - Basic'/><category term='SQL - Controlling User Access'/><category term='C++ - Namespace'/><category term='CSS - Class'/><category term='C++ - Polymorphism'/><category term='HTML 5 - Canvas'/><category term='C++ - Set'/><category term='C++ For Loop'/><category term='HTML - Links'/><category term='HTML - Table'/><category term='HTML - Text Animation'/><category term='JAVA - Introduction'/><category term='PHP - FOR LOOP'/><category term='C-Do-While Loop'/><category term='HTML - Lines'/><category term='C++ Class'/><category term='PHP - MYSQL WHERE'/><category term='HTML - Form'/><category term='C++ - String'/><category term='C - String'/><category term='C++ - Inheritance'/><category term='PHP - DATE'/><category term='Off topic'/><category term='CSS - ID'/><category term='C-Operators'/><category term='C - Function'/><category term='PHP - INTRODUCTION'/><category term='JAVA - If Else'/><category term='C-Test Program'/><category term='C++ - STL'/><category term='C-True/False'/><category term='C++ - Linked List'/><category term='JAVA - Symbolic Loop'/><category term='C-Symbolic Loop'/><category term='PHP Variables'/><category term='HTML 5 - Audio'/><category term='C- Define Function'/><category term='C++ - Iterator'/><title type='text'>Make Program Easy</title><subtitle type='html'>c, c++ , java, oracle, database design, c tutorial, c++ tutorial, java tutorial, oracle tutorial, programming, make program easy, c programming, c advance program, java advance program</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default?start-index=101&amp;max-results=100'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>275</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-1833980419757523069</id><published>2011-05-15T20:44:00.000-07:00</published><updated>2011-05-15T20:49:08.982-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS - Font'/><title type='text'>Set the fonts by CSS</title><summary type='text'>You can select your font name by CSS. The code is given below:

body{
background:lightblue;
font-family:'Times New Roman', Arial;
}
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/1833980419757523069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/set-fonts-by-css.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/1833980419757523069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/1833980419757523069'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/set-fonts-by-css.html' title='Set the fonts by CSS'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-2644794522783317482</id><published>2011-05-15T06:38:00.000-07:00</published><updated>2011-05-15T09:36:18.981-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS - Text'/><title type='text'>Set the line height by CSS</title><summary type='text'>
&lt;html&gt;
&lt;head&gt;
&lt;style&gt;
body{
background:lightblue;
}
#ex1{
line-height:1.5em;
}
#ex2{
line-height:3em;
}

&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id="ex1"&gt;
This paragraph has&lt;br/&gt;
1.5em line height
&lt;div&gt;
&lt;div id="ex2"&gt;
This paragraph has&lt;br/&gt;
3em line height
&lt;div&gt;

&lt;body&gt;
&lt;/html&gt;

The output is given below:

</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/2644794522783317482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/set-line-height-by-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2644794522783317482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2644794522783317482'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/set-line-height-by-css.html' title='Set the line height by CSS'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-7R6OOBm6un4/TdAA_BQhx4I/AAAAAAAAABs/H_cw7xT5bZk/s72-c/line_height.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3618607356338774076</id><published>2011-05-15T06:32:00.000-07:00</published><updated>2011-05-15T06:32:43.804-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS - Text'/><title type='text'>Text Transformation by CSS</title><summary type='text'>
&lt;html&gt;
&lt;head&gt;
&lt;style&gt;
body{
background:lightblue;
}
h1{
text-transform:uppercase;
}
h2{
text-transform:lowercase;
}
h3{
text-transform:Capitalize;
}

&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;This is uppercase paragraph&lt;/h1&gt;
&lt;h2&gt;This is lowercase paragraph&lt;/h2&gt;
&lt;h3&gt;This is capitalize paragraph&lt;/h3&gt;

&lt;body&gt;
&lt;/html&gt;

The output is given below:

</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3618607356338774076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/text-transformation-by-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3618607356338774076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3618607356338774076'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/text-transformation-by-css.html' title='Text Transformation by CSS'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-EJHvEw_qr4k/Tc_V71G2OJI/AAAAAAAAABk/5u_59IkzIQw/s72-c/txt_transformation.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3451730092923949037</id><published>2011-05-15T06:24:00.001-07:00</published><updated>2011-05-15T06:24:31.858-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS - Text'/><title type='text'>Decorate text using CSS</title><summary type='text'>
&lt;html&gt;
&lt;head&gt;
&lt;style&gt;
body{
background:lightblue;
}
h1{
text-decoration:none;
}
h2{
text-decoration:underline;
}
h3{
text-decoration:overline;
}
h4{
text-decoration:line-through;
}
h5{
text-decoration:blink;
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;There is no text text decoration&lt;/h1&gt;
&lt;h2&gt;Using underline by CSS&lt;/h2&gt;
&lt;h3&gt;Using overline by CSS&lt;/h3&gt;
&lt;h4&gt;Using line-through by CSS&lt;/h4&gt;
&lt;h5&gt;Using Blink by CSS&lt;/</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3451730092923949037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/decorate-text-using-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3451730092923949037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3451730092923949037'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/decorate-text-using-css.html' title='Decorate text using CSS'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-e63F8Ix-dZA/Tc_UCA6wE2I/AAAAAAAAABc/DnAlzhIuf-g/s72-c/txtdecoration.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-1870588440034014111</id><published>2011-05-15T06:16:00.001-07:00</published><updated>2011-05-15T06:17:19.490-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS - Text'/><title type='text'>Change Text alignment by CSS</title><summary type='text'>
&lt;html&gt;
&lt;head&gt;
&lt;style&gt;
body{
background:lightblue;
}
.center{
text-align:center;
}
.right{
text-align:right;
}
.left{
text-align:left;
}


&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div class="center"&gt;
This is center class
&lt;/div&gt;

&lt;div class="right"&gt;
This is center class
&lt;/div&gt;

&lt;div class="left"&gt;
This is center class
&lt;/div&gt;
&lt;body&gt;
&lt;/html&gt;

The output is given below:

</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/1870588440034014111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/change-text-alignment-by-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/1870588440034014111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/1870588440034014111'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/change-text-alignment-by-css.html' title='Change Text alignment by CSS'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-GLX6Bk_yw8g/Tc_SJBFvsyI/AAAAAAAAABU/TJnfDG7zw-4/s72-c/text_align.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3572662947089995424</id><published>2011-05-15T06:10:00.000-07:00</published><updated>2011-05-15T06:10:31.898-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS - ID'/><title type='text'>Using ID in CSS</title><summary type='text'>
&lt;html&gt;
&lt;head&gt;
&lt;style&gt;
body{
background:green;
}
#para{
text-decoration:underline;
text-align:center;
font-weight:bold;
}

&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="para"&gt;
This is para id
&lt;/div&gt;
&lt;body&gt;
&lt;/html&gt;

The output is given below:

</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3572662947089995424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/using-id-in-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3572662947089995424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3572662947089995424'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/using-id-in-css.html' title='Using ID in CSS'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-JKuROEx9RME/Tc_QwCkRA9I/AAAAAAAAABM/FWyYyO1drus/s72-c/id.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-2137329590051273165</id><published>2011-05-15T06:01:00.000-07:00</published><updated>2011-05-15T06:02:40.462-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS - Class'/><title type='text'>Using class in CSS</title><summary type='text'>
&lt;html&gt;
&lt;head&gt;
&lt;style&gt;
body{
background:green;
}
.para{
background:red;
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p class="para"&gt;This paragraph has red background color&lt;/p&gt;
&lt;body&gt;
&lt;/html&gt;

The output is given below:


</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/2137329590051273165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/using-class-in-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2137329590051273165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2137329590051273165'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/using-class-in-css.html' title='Using class in CSS'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-bzcTVZb1Eew/Tc_OgeurFTI/AAAAAAAAAA8/KvE2mphnDlc/s72-c/class.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8116785170324071784</id><published>2011-05-15T05:51:00.000-07:00</published><updated>2011-05-15T06:04:50.262-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS - Background'/><title type='text'>Change background color by CSS</title><summary type='text'>By using this code you can change your background color.

&lt;html&gt;
&lt;head&gt;
&lt;style&gt;
body{
background:green;
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;body&gt;
&lt;/html&gt;

The output is given below:

</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8116785170324071784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/change-background-color-by-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8116785170324071784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8116785170324071784'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/05/change-background-color-by-css.html' title='Change background color by CSS'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-VHG5iArV4Ms/Tc_PawNfrZI/AAAAAAAAABE/3FjY3RZbIjo/s72-c/back.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-331192212725893889</id><published>2011-04-07T05:30:00.000-07:00</published><updated>2011-04-07T05:30:48.088-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML 5 - Canvas'/><title type='text'>Draw a Rectangle By HTML 5</title><summary type='text'>You can draw a rectangle by writing the following code. Here we use canvas tag and its JavaScript.




var i=document.getElementById("Canvas");
var j=i.getContext("2d");
j.fillStyle="blue";
j.fillRect(0,0,200,200);

</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/331192212725893889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/04/draw-rectangle-by-html-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/331192212725893889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/331192212725893889'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/04/draw-rectangle-by-html-5.html' title='Draw a Rectangle By HTML 5'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-6944324378613917396</id><published>2011-04-07T05:18:00.000-07:00</published><updated>2011-04-07T05:20:27.352-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML 5 - Audio'/><title type='text'>Play Audio in HTML 5</title><summary type='text'>The source code is given below:

&lt;!DOCTYPE HTML&gt;








Here Controls is use for play, pause or stop the song.......</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/6944324378613917396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/04/play-audio-in-html-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6944324378613917396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6944324378613917396'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/04/play-audio-in-html-5.html' title='Play Audio in HTML 5'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-4017065842401094488</id><published>2011-01-16T04:32:00.001-08:00</published><updated>2011-01-16T04:32:45.817-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - String'/><title type='text'>Compairing Two String in C++ Program</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
#include &lt;cstring&gt;
int main()
{
    char i[25]="Hello";
    char j[25]="World";
    char k[25]="Hello";
    cout&lt;&lt;"i is: "&lt;&lt;i&lt;&lt;endl;
    cout&lt;&lt;"j is: "&lt;&lt;j&lt;&lt;endl;
    strcat(i,j);
    cout&lt;&lt;"After Compairing:"&lt;&lt;endl;
    cout&lt;&lt;strcmp(i,j)&lt;&lt;endl;
    cout&lt;&lt;strcmp(i,k)&lt;&lt;endl;
    system("pause");
    return 0;
}




The output is given below:

i is: Hello
j </summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/4017065842401094488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/compairing-two-string-in-c-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4017065842401094488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4017065842401094488'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/compairing-two-string-in-c-program.html' title='Compairing Two String in C++ Program'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-1846418088168046074</id><published>2011-01-16T04:31:00.000-08:00</published><updated>2011-01-16T04:31:32.725-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - String'/><title type='text'>Concating Two String in C++ Program</title><summary type='text'>

#include &lt;iostream&gt;
using namespace std;
#include &lt;cstring&gt;
int main()
{
    char i[25]="Hello";
    char j[25]="World";
    cout&lt;&lt;"Before i and j:"&lt;&lt;endl;
    cout&lt;&lt;"i is: "&lt;&lt;i&lt;&lt;endl;
    cout&lt;&lt;"j is: "&lt;&lt;j&lt;&lt;endl;
    strcat(i,j);
    cout&lt;&lt;"After concating:"&lt;&lt;endl;
    cout&lt;&lt;i&lt;&lt;endl;
    system("pause");
    return 0;
}



The output is given below:

Before i and j:
i is: Hello
j is: World
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/1846418088168046074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/concating-two-string-in-c-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/1846418088168046074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/1846418088168046074'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/concating-two-string-in-c-program.html' title='Concating Two String in C++ Program'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-4940000403137377242</id><published>2011-01-16T04:27:00.000-08:00</published><updated>2011-01-16T04:27:24.480-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Polymorphism'/><title type='text'>Using Polymorphism in C++ program_002</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
class Polygon {
  public:
    double width, height;
    void val(double a, double b)
      { 
                    width=a; 
                    height=b; 
      }
};

class Rectangle: public Polygon{
      public:
             double Rect()
             {
                      return height*width;
             }
};
class Triangle: public Polygon{
      </summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/4940000403137377242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/using-polymorphism-in-c-program002.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4940000403137377242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4940000403137377242'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/using-polymorphism-in-c-program002.html' title='Using Polymorphism in C++ program_002'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-4422147021030724881</id><published>2011-01-16T04:25:00.000-08:00</published><updated>2011-01-16T04:25:49.821-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Polymorphism'/><title type='text'>Using Polymorphism in C++ program</title><summary type='text'>

#include &lt;iostream&gt;
using namespace std;
class Rectangle{
      public:
             double height;
             double width;
             double Rect(double height, double width)
             {
                      return height*width;
             }
};
class Triangle: public Rectangle{
      public:
             double trig(double height, double width)
             {
                 return</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/4422147021030724881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/using-polymorphism-in-c-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4422147021030724881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4422147021030724881'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/using-polymorphism-in-c-program.html' title='Using Polymorphism in C++ program'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3237091148832709135</id><published>2011-01-16T04:23:00.000-08:00</published><updated>2011-01-16T04:23:02.654-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - Pointers'/><title type='text'>Pointer in Array</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
int main()
{
    char *array[4]={"Rimon", "Nihar", "Tonoy"};
    for(int i=0;i&lt;=sizeof(array);i++)
    {
            cout&lt;&lt;array[i]&lt;&lt;endl;
    }
    system("pause");
    return 0;
}




The output is given below:

Rimon
Nihar
Tonoy
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3237091148832709135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/pointer-in-array.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3237091148832709135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3237091148832709135'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/pointer-in-array.html' title='Pointer in Array'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5808704964489431871</id><published>2011-01-16T04:21:00.001-08:00</published><updated>2011-01-16T04:21:13.858-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - Pointers'/><title type='text'>Pointer Struct_002</title><summary type='text'>

#include &lt;iostream&gt;
using namespace std;
struct data{
       int x,y;
       };
int main()
{
    data se;
    data *p;
    p=&amp;se;
    cout&lt;&lt;"Please enter the first Integer:"&lt;&lt;endl;
    cin&gt;&gt;p-&gt;x;
    cout&lt;&lt;"Please enter the second Integer:"&lt;&lt;endl;
    cin&gt;&gt;p-&gt;y;
    cout&lt;&lt;"The Multiplication of two integer is:"&lt;&lt;endl;
    cout&lt;&lt;p-&gt;x*p-&gt;y&lt;&lt;endl;
    system("pause");
    return 0;
}
    

</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5808704964489431871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/pointer-struct002.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5808704964489431871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5808704964489431871'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/pointer-struct002.html' title='Pointer Struct_002'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-964074155178288746</id><published>2011-01-16T04:19:00.000-08:00</published><updated>2011-01-16T04:19:31.140-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - Pointers'/><title type='text'>Using Pointer in Struct</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
struct data{
       int x;
       int y;
       char c;
};
int main()
{
    data se;
    data *p;
    p=&amp;se;
    p-&gt;x=5;
    p-&gt;y=7;
    p-&gt;c='z';
    cout&lt;&lt;p-&gt;x*p-&gt;y&lt;&lt;endl;
    cout&lt;&lt;p-&gt;c&lt;&lt;endl;
    system("pause");
    return 0;
}
    




The output is given below:

35
z
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/964074155178288746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/using-pointer-in-struct.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/964074155178288746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/964074155178288746'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/using-pointer-in-struct.html' title='Using Pointer in Struct'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-4369714234170077880</id><published>2011-01-16T04:14:00.000-08:00</published><updated>2011-01-16T04:15:16.701-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Pointer'/><title type='text'>Using Pointer in a Cube Function</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
int main()
{
    int cubeval(int *);
    int v=5;
    cout&lt;&lt;"Real value of v is: "&lt;&lt;v&lt;&lt;endl;
    cubeval(&amp;v);
    cout&lt;&lt;"Cube value of v is: "&lt;&lt;v&lt;&lt;endl;
    system("pause");
    return 0;
}
int cubeval(int *p)
{
    *p=*p* *p* *p;
    return *p;
}

The output is given below:

Real value of v is: 5
Cube value of v is: 125
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/4369714234170077880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/using-pointer-in-cube-function.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4369714234170077880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4369714234170077880'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2011/01/using-pointer-in-cube-function.html' title='Using Pointer in a Cube Function'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-423949222244405623</id><published>2010-12-27T03:40:00.000-08:00</published><updated>2010-12-27T03:40:03.030-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Inheritance'/><title type='text'>How can use Multiple Inheritance In C++</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
class Polygon {
  public:
    double width, height;
    void val(double a, double b)
      { 
                    width=a; 
                    height=b; 
      }
};
class output{
      public:
             void out(double o)
             {
                  cout&lt;&lt;o&lt;&lt;endl;
             }
};               
class Rectangle: public Polygon, public output{
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/423949222244405623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/how-can-use-multiple-inheritance-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/423949222244405623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/423949222244405623'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/how-can-use-multiple-inheritance-in-c.html' title='How can use Multiple Inheritance In C++'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-801074435157595357</id><published>2010-12-26T20:57:00.000-08:00</published><updated>2010-12-26T20:57:04.816-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Iterator'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ - STL'/><title type='text'>Iterator_1.2</title><summary type='text'>
#include &lt;iostream&gt;
#include &lt;iterator&gt;
#include &lt;vector&gt;
using namespace std;
#define pb push_back
int main()
{
      vector &lt;int&gt; a;
      vector &lt;int&gt;::iterator i;
      a.pb(10);
      a.pb(11);
      a.pb(12);
      a.pb(13);
      for(i=a.begin();i&lt;a.end();i++)
      {
          cout&lt;&lt;*i&lt;&lt;endl;
      }
      system("pause");
      return 0;
}
      




This is the output:

10
11
12
13
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/801074435157595357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/iterator12.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/801074435157595357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/801074435157595357'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/iterator12.html' title='Iterator_1.2'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-2748121075133941614</id><published>2010-12-26T20:54:00.000-08:00</published><updated>2010-12-26T20:54:38.585-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Vector'/><title type='text'>How can data index in a Vector</title><summary type='text'>
#include &lt;iostream&gt;
#include &lt;vector&gt;
using namespace std;
int main()
{
    int i=0;
    vector &lt;int&gt; j(10,i);
    for(i=0;i&lt;10;i++)
    {
            cin&gt;&gt;j[i];
    }
    for(i=0;i&lt;10;i++)
    {
            cout&lt;&lt;j[i]&lt;&lt;endl;
    }
    system("pause");
    return 0;
}


</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/2748121075133941614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/how-can-data-index-in-vector.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2748121075133941614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2748121075133941614'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/how-can-data-index-in-vector.html' title='How can data index in a Vector'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-7005405247483410488</id><published>2010-12-26T20:51:00.000-08:00</published><updated>2010-12-26T20:51:30.604-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ Class'/><title type='text'>Using Function in a Class</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
class a{
      public:
      int i,j;
      int cros(int, int)
      {
           return i*j;
      }
};
int main()
{
    int vol;
    int p=7;
    int q=8;
    a aa;
    aa.i=7;
    aa.j=5;
    //vol=a.i*a.j;
    cout&lt;&lt;aa.i&lt;&lt;aa.j&lt;&lt;endl;
    cout&lt;&lt;aa.cros(p,q)&lt;&lt;endl;
    system("pause");
    return 0;
}




This is the output:

75
35
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/7005405247483410488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/using-function-in-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7005405247483410488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7005405247483410488'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/using-function-in-class.html' title='Using Function in a Class'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5942381058391610949</id><published>2010-12-26T20:49:00.000-08:00</published><updated>2010-12-26T20:50:13.653-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ Class'/><title type='text'>Introduction to Class</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
class a{
      public:
      int i,j;
      
};
int main()
{
    int vol;
    a aa;
    aa.i=7;
    aa.j=5;
    cout&lt;&lt;aa.i&lt;&lt;aa.j&lt;&lt;endl;
    system("pause");
    return 0;
}




This is the output:

75
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5942381058391610949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/introduction-to-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5942381058391610949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5942381058391610949'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/introduction-to-class.html' title='Introduction to Class'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-2047547494076875896</id><published>2010-12-18T03:18:00.000-08:00</published><updated>2010-12-18T03:18:28.975-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Function Overload'/><title type='text'>Simple example of Function Overload</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
int add(int x, int y)
{
    int result;
    result = x+y;
    return result;
}
double add(double x, double y)
{
    double result;
    result = x+y;
    return result;
}
int sub(int x, int y)
{
    int result;
    result = x-y;
    return result;
}
double sub(double x, double y)
{
    double result;
    result = x-y;
    return result;
}
int mul(int x, </summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/2047547494076875896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/simple-example-of-function-overload.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2047547494076875896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2047547494076875896'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/simple-example-of-function-overload.html' title='Simple example of Function Overload'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-33975170033023189</id><published>2010-12-18T03:10:00.000-08:00</published><updated>2010-12-18T03:12:59.041-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Inheritance'/><title type='text'>Simple example of Inheritance</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
class A{
      public:
      int i,j;
      void ij()
      {
           cout&lt;&lt;"i and j is: "&lt;&lt;i&lt;&lt;" "&lt;&lt;j&lt;&lt;endl;
      }
};
class B : public A{
      public:
             int k;
             void kk(){
                  cout&lt;&lt;"k is: "&lt;&lt;k&lt;&lt;endl;
             }
             void sum(){
                  cout&lt;&lt;"The sum of i(new value), j(new value) and 
k(new</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/33975170033023189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/inheritance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/33975170033023189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/33975170033023189'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/inheritance.html' title='Simple example of Inheritance'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-9117445327109956772</id><published>2010-12-17T04:28:00.000-08:00</published><updated>2010-12-26T20:37:13.181-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Namespace'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ - STL'/><title type='text'>Namespace</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
namespace int_var{
          int i=7;
          int k=8;
          }
namespace double_var{
          double j=7.5;
          double l=8.5;
          }
int main()
{
    cout&lt;&lt;int_var::i&lt;&lt;"\t"&lt;&lt; int_var::k&lt;&lt;endl;
    cout&lt;&lt;double_var::j&lt;&lt;"\t"&lt;&lt; double_var::l&lt;&lt;endl;
    system("pause");
    return 0;
}




This is the output:

7       8
7.5     8.5
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/9117445327109956772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/namespace.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/9117445327109956772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/9117445327109956772'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/namespace.html' title='Namespace'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-473884005733697924</id><published>2010-12-17T04:16:00.000-08:00</published><updated>2010-12-26T20:35:46.166-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - STL'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Template'/><title type='text'>Template</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
template &lt;class T&gt;
T add(T x, T y)
{
    T result;
    result = x+y;
    return result;
}

template &lt;class T&gt;
T sub(T x, T y)
{
    T result;
    result = x-y;
    return result;
}

template &lt;class T&gt;
T mul(T x, T y)
{
    T result;
    result = x*y;
    return result;
}

template &lt;class T&gt;
T divi(T x, T y)
{
    T result;
    result = x/y;
    return </summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/473884005733697924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/template.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/473884005733697924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/473884005733697924'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/template.html' title='Template'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8514265799871192245</id><published>2010-12-17T04:01:00.000-08:00</published><updated>2010-12-26T20:37:36.510-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Reverse Iterator'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ - STL'/><title type='text'>Reverse Iterator</title><summary type='text'>
#include &lt;iostream&gt;
#include &lt;vector&gt;
#include &lt;iterator&gt;
using namespace std;
int main()
{
    vector &lt; int &gt; x;
    vector &lt; int &gt;::reverse_iterator i;;
    x.push_back(1);
    x.push_back(2);
    x.push_back(3);
    x.push_back(4);
    for(i=x.rbegin(); i!=x.rend();i++)
    {
                     cout&lt;&lt;*i&lt;&lt;endl;
    }
    
    system("pause");
    return 0;
}




This is the output:

4
3
2
1
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8514265799871192245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/reverse-iterator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8514265799871192245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8514265799871192245'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/reverse-iterator.html' title='Reverse Iterator'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-77315714945240411</id><published>2010-12-17T03:59:00.000-08:00</published><updated>2010-12-26T20:37:47.337-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Linked List'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ - STL'/><title type='text'>Linked List</title><summary type='text'>
#include &lt;iostream&gt;
#include &lt;list&gt;
using namespace std;
int main()
{
      list &lt; int &gt; x;
      x.push_back(8);
      x.push_back(9);
      x.push_front(6);
      x.insert(++x.begin(),7);
      x.push_back(10);
      list &lt;int&gt;::iterator i;
      for(i=x.begin(); i!=x.end();i++)
      {
          cout&lt;&lt;*i&lt;&lt;endl;
      }
      system("pause");
      return 0;
}



This is the output:

6
7
8
9
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/77315714945240411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/linked-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/77315714945240411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/77315714945240411'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/linked-list.html' title='Linked List'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8932560219690184310</id><published>2010-12-17T01:57:00.000-08:00</published><updated>2010-12-26T20:38:03.172-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - STL'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Priority Queue'/><title type='text'>Priority Queue</title><summary type='text'>
#include &lt;iostream&gt;
#include &lt;queue&gt;
using namespace std;
int main()
{
    priority_queue &lt;int&gt; i;
    i.push(110);
    i.push(202);
    i.push(303);
    i.push(40);
    do
    {
            cout&lt;&lt;i.top()&lt;&lt;endl;
            i.pop();
    }while(!i.empty());
    system("pause");
    return 0;
}


This is the output:

303
202
110
40
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8932560219690184310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/priority-queue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8932560219690184310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8932560219690184310'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/priority-queue.html' title='Priority Queue'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-6665278332425062109</id><published>2010-12-17T01:56:00.000-08:00</published><updated>2010-12-26T20:38:15.192-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Queue'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ - STL'/><title type='text'>Queue</title><summary type='text'>

#include &lt;iostream&gt;
#include &lt;queue&gt;
using namespace std;
int main()
{
    queue &lt;int&gt; i;
    i.push(110);
    i.push(202);
    i.push(303);
    i.push(40);
    do
    {
            cout&lt;&lt;i.front()&lt;&lt;endl;
            i.pop();
    }while(!i.empty());
    system("pause");
    return 0;
}
    



This is the output:

110
202
303
40
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/6665278332425062109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/queue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6665278332425062109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6665278332425062109'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/queue.html' title='Queue'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-707885423285621352</id><published>2010-12-17T01:51:00.001-08:00</published><updated>2010-12-26T20:38:30.286-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Iterator'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ - STL'/><title type='text'>Iterator</title><summary type='text'>
#include &lt;iostream&gt;
#include&lt;vector&gt;
#include&lt;iterator&gt;
using namespace std;
int main()
{
    
    vector&lt; int &gt; v;
    vector&lt; int &gt; :: iterator i;
 v.push_back( 15 );
 v.push_back( 16 );
 v.push_back( 17 );
 v.push_back( 18 );
  
 for( i = v.begin(); i &lt; v.end(); i++ ) {
 printf("%d\n", *i);
 }
    system("pause");
    return 0;
}



This is the output:

15
16
17
18
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/707885423285621352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/iterator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/707885423285621352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/707885423285621352'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/iterator.html' title='Iterator'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-6547539455741882682</id><published>2010-12-17T01:50:00.000-08:00</published><updated>2010-12-26T20:38:40.683-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - STL'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Stack'/><title type='text'>Stack</title><summary type='text'>
#include &lt;iostream&gt;
#include &lt;stack&gt;
using namespace std;
int main()
{
    stack &lt;int&gt; i;
    i.push(10);
    i.push(20);
    i.push(30);
    i.push(40);
    do
    {
            cout&lt;&lt;i.top()&lt;&lt;endl;
            i.pop();
    }while(!i.empty());
    system("pause");
    return 0;
}



This is the output:

40
30
20
10
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/6547539455741882682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/stack_17.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6547539455741882682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6547539455741882682'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/stack_17.html' title='Stack'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8140160122324823609</id><published>2010-12-17T01:47:00.000-08:00</published><updated>2010-12-26T20:38:48.702-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Set'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ - STL'/><title type='text'>Set</title><summary type='text'>
#include &lt;iostream&gt;
#include&lt;set&gt;
#include&lt;iterator&gt;
using namespace std;
int main()
{
      set &lt; int &gt; s;
      set &lt; int &gt; :: iterator i;
      s.insert(2);
      s.insert(5);
      s.insert(5);
      s.insert(10);
      for( i = s.begin(); i !=s.end(); i++ ) {
      printf("%d\n", *i);
      }
      system("pause");
      return 0;
}
              
      



This is the output:

2
5
10
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8140160122324823609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/set.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8140160122324823609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8140160122324823609'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/set.html' title='Set'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3731203659556297884</id><published>2010-12-16T09:11:00.001-08:00</published><updated>2010-12-26T20:38:58.887-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ - STL'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ - Vector'/><title type='text'>Vector</title><summary type='text'>
#include &lt;iostream&gt;
#include&lt;vector&gt;
using namespace std;
int main()
{
    vector&lt; int &gt; v;
 v.push_back( 1 );
 v.push_back( 2 );
 v.push_back( 3 );
 v.push_back( 4 );
  
 for(int i=0; i&lt;v.size(); i++)
  
 cout &lt;&lt; v[i] &lt;&lt; endl;
    system("pause");
    return 0;
}


This is the output:

1
2
3
4
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3731203659556297884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/vector_16.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3731203659556297884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3731203659556297884'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/vector_16.html' title='Vector'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-2171386850245713663</id><published>2010-12-16T01:58:00.000-08:00</published><updated>2010-12-16T01:58:16.354-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C- Expression'/><title type='text'>C- Expression_1.8</title><summary type='text'>#include "stdio.h"
int main (void)
{
float a=1.0,b=2.0,c=3.0,d=4.0;
printf("%f\n",a-b/c*d);
return 0;
}</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/2171386850245713663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/c-expression18.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2171386850245713663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2171386850245713663'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/c-expression18.html' title='C- Expression_1.8'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3799793490972960267</id><published>2010-12-12T04:09:00.000-08:00</published><updated>2010-12-12T04:09:13.067-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - Pointers'/><title type='text'>Pointer_1.4</title><summary type='text'>
#include &lt;stdio.h&gt;
int main(void)
{
    int *i,*j;
    int a,b;
    printf("Enter the first number:\n");
    scanf("%d",&amp;a);
    i=&amp;a;
    printf("%d\n",*i);
    printf("Enter the Second number:\n");
    scanf("%d",&amp;b);
    j=&amp;b;
    printf("%d\n",*j);
    printf("Enter the third number:\n");
    scanf("%d",&amp;*i);
    printf("%d\n",*i);
    printf("Enter the fourth number:\n");
    scanf("%d",&amp;*j</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3799793490972960267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/pointer14.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3799793490972960267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3799793490972960267'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/pointer14.html' title='Pointer_1.4'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-6354096597099079617</id><published>2010-12-12T04:08:00.000-08:00</published><updated>2010-12-12T04:08:24.710-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - Pointers'/><title type='text'>Pointer_1.3</title><summary type='text'>
#include &lt;stdio.h&gt;
int main (void)
{
    int *i,**j,k=7;
    i=&amp;k;
    j=&amp;i;
    printf("%d\n",*i);
    printf("\n");
    system("pause");
    return 0;
}


This is the output:

7
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/6354096597099079617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/pointer13.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6354096597099079617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6354096597099079617'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/pointer13.html' title='Pointer_1.3'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-675651913481506313</id><published>2010-12-12T04:06:00.000-08:00</published><updated>2010-12-12T04:06:18.159-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - Pointers'/><title type='text'>Pointer_1.2</title><summary type='text'>
#include &lt;stdio.h&gt;
int main (void)
{
    int *i,j,k=7;
    i=&amp;k;
    printf("%p\n",*i);
    *i++;
    printf("%p",*i);
    printf("\n");
    printf("%lf",m);
    system("pause");
    return 0;
}


This is the output:

00000007
0000003B
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/675651913481506313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/pointer12.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/675651913481506313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/675651913481506313'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/pointer12.html' title='Pointer_1.2'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3656122369553115737</id><published>2010-12-12T04:03:00.000-08:00</published><updated>2010-12-12T04:03:57.193-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - Pointers'/><title type='text'>Pointer_1.1</title><summary type='text'>
#include &lt;stdio.h&gt;
int main (void)
{
    int *i,j,k;
    i=&amp;j;
    *i=7;
    i=&amp;k;
    *i=10;
    printf("%d",j);
    printf("\n");
        printf("%d",k);
    printf("\n");
    system("pause");
    return 0;
}


This is the output:

7
10
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3656122369553115737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/pointer11.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3656122369553115737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3656122369553115737'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/pointer11.html' title='Pointer_1.1'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8029799466018342723</id><published>2010-12-09T05:32:00.000-08:00</published><updated>2010-12-09T05:32:08.295-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Array'/><title type='text'>One dimensional Array_1.2</title><summary type='text'>
#include &lt;stdio.h&gt;
int main(void)
{
    int i,a[100];
    char k='A';
    for(i=1;i&lt;=26;i++)
    {
       a[i]=k;
       k++;
    }
    
    for(i=1;i&lt;=26;i++)
    {
       printf("%2c",a[i]);
    }
    printf("\n");
    system("pause");
    return 0;
}



This is the output:

 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8029799466018342723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/one-dimensional-array12.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8029799466018342723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8029799466018342723'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/one-dimensional-array12.html' title='One dimensional Array_1.2'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-2482611782009860066</id><published>2010-12-09T05:31:00.000-08:00</published><updated>2010-12-09T05:31:10.161-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Array'/><title type='text'>One dimensional Array_1.1</title><summary type='text'>
#include &lt;stdio.h&gt;
int main(void)
{
    int i,a[100],k=9;
    for(i=1;i&lt;=9;i++)
    {
       a[i]=k;
       k--;
    }
    
    for(i=1;i&lt;=9;i++)
    {
       printf("%2d",a[i]);
    }
    printf("\n");
    system("pause");
    return 0;
}



This is the output:

 9 8 7 6 5 4 3 2 1
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/2482611782009860066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/one-dimensional-array11.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2482611782009860066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2482611782009860066'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/one-dimensional-array11.html' title='One dimensional Array_1.1'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5558029553403134580</id><published>2010-12-09T05:29:00.001-08:00</published><updated>2010-12-09T05:29:44.196-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Array'/><title type='text'>Multidimensional Array_1.6</title><summary type='text'>
#include &lt;stdio.h&gt;
int main()
{
    int a[25][25],i,j,k=5;
    for(i=1;i&lt;=5;i++)
    {
      for(j=1;j&lt;=i;j++)
      {
         a[i][j]=k;
         k--;
      }
      k=5;
    }

    for(i=1;i&lt;=5;i++)
    {
      for(j=1;j&lt;=i;j++)
      {
          printf("%2d",a[i][j]);
      }
          printf("\n");
    }
    system("pause");
    return 0;
}


This is the output:

 5
 5 4
 5 4 3
 5 4 3 2
 5 4</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5558029553403134580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/multidimensional-array16.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5558029553403134580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5558029553403134580'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/multidimensional-array16.html' title='Multidimensional Array_1.6'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-6219021690071969031</id><published>2010-12-09T05:28:00.002-08:00</published><updated>2010-12-09T05:28:55.857-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Array'/><title type='text'>Multidimensional Array_1.5</title><summary type='text'>
#include &lt;stdio.h&gt;
int main()
{
    int a[25][25],i,j,k=1;
    for(i=1;i&lt;=5;i++)
    {
      for(j=1;j&lt;=i;j++)
      {
         a[i][j]=k;
         k++;
      }
    }

    for(i=1;i&lt;=5;i++)
    {
      for(j=1;j&lt;=i;j++)
      {
          printf("%2d",a[i][j]%10);
      }
          printf("\n");
    }
    system("pause");
    return 0;
}



This is the output:

1
 2 3
 4 5 6
 7 8 9 0
 1 2 3 4 5
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/6219021690071969031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/multidimensional-array15.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6219021690071969031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6219021690071969031'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/multidimensional-array15.html' title='Multidimensional Array_1.5'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-611377186428539563</id><published>2010-12-09T05:28:00.000-08:00</published><updated>2010-12-09T05:28:15.472-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Array'/><title type='text'>Multidimensional Array_1.4</title><summary type='text'>
#include &lt;stdio.h&gt;
int main()
{
    int a[25][25],i,j,k=1;
    for(i=1;i&lt;=6;i++)
    {
      for(j=1;j&lt;=7-i;j++)
      {
         a[i][j]=k;
         k++;
      }
       k=1;
    }

    for(i=1;i&lt;=6;i++)
    {
      for(j=1;j&lt;=7-i;j++)
      {
          printf("%d",a[i][j]);
      }
          printf("\n");
    }
    system("pause");
    return 0;
}



This is the output:

123456
12345
1234
123
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/611377186428539563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/multidimensional-array14.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/611377186428539563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/611377186428539563'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/multidimensional-array14.html' title='Multidimensional Array_1.4'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8580236647725464632</id><published>2010-12-09T05:27:00.000-08:00</published><updated>2010-12-09T05:27:30.016-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Array'/><title type='text'>Multidimensional Array_1.3</title><summary type='text'>
#include &lt;stdio.h&gt;
int main()
{
    int a[25][25],i,j,k=1;
    for(i=1;i&lt;=6;i++)
    {
      for(j=1;j&lt;=i+i-1;j++)
      {
         a[i][j]=k;
      }
       k++;
    }

    for(i=1;i&lt;=6;i++)
    {
      for(j=1;j&lt;=i+i-1;j++)
      {
          printf("%d",a[i][j]);
      }
          printf("\n");
    }
    system("pause");
    return 0;
}


This is the output:

1
222
33333
4444444
555555555
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8580236647725464632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/multidimensional-array13.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8580236647725464632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8580236647725464632'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/multidimensional-array13.html' title='Multidimensional Array_1.3'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8564198417967858034</id><published>2010-12-09T05:23:00.001-08:00</published><updated>2010-12-09T05:26:18.650-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Array'/><title type='text'>Multidimensional Array_1.2</title><summary type='text'>
#include &lt;stdio.h&gt;
int main()
{
    int a[25][25],i,j,k=0;
    for(i=1;i&lt;=4;i++)
    {
      for(j=1;j&lt;=i;j++)
      {
         a[i][j]=k;
      }
       k++;
    }

    for(i=1;i&lt;=4;i++)
    {
      for(j=1;j&lt;=i;j++)
      {
          printf("%d",a[i][j]);
      }
          printf("\n");
    }
    system("pause");
    return 0;
}



This is the output:

0
11
222
3333
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8564198417967858034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/include-main-int-a2525ijk0-fori1i6i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8564198417967858034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8564198417967858034'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/include-main-int-a2525ijk0-fori1i6i.html' title='Multidimensional Array_1.2'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3459096478823829004</id><published>2010-12-09T05:21:00.000-08:00</published><updated>2010-12-09T05:25:51.298-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Array'/><title type='text'>Multidimensional Array_1.1</title><summary type='text'>
#include &lt;stdio.h&gt;
int main()
{
    int a[25][25],i,j,k=0;
    for(i=1;i&lt;=4;i++)
    {
      for(j=1;j&lt;=i;j++)
      {
         a[i][j]=k;
         k++;
      }
    }

    for(i=1;i&lt;=4;i++)
    {
      for(j=1;j&lt;=i;j++)
      {
          printf("%d",a[i][j]);
      }
          printf("\n");
    }
    system("pause");
    return 0;
}


This is the output:

0
12
345
6789
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3459096478823829004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/multidimensional-array11.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3459096478823829004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3459096478823829004'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/12/multidimensional-array11.html' title='Multidimensional Array_1.1'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-2083157554766673090</id><published>2010-10-20T05:15:00.000-07:00</published><updated>2010-10-20T05:15:20.442-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA - Class'/><title type='text'>Use function in a Class</title><summary type='text'>
class Paralelogram{
    double length;
    double breadth;
    void area(){
        System.out.print("The area is: ");
        System.out.println(length*breadth);
    }
}
public class Main{
    public static void main (String args[]){
        Paralelogram para1 = new Paralelogram();
        Paralelogram para2 = new Paralelogram();
        double area;
        para1.length=8.5;
        para1.</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/2083157554766673090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/use-function-in-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2083157554766673090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/2083157554766673090'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/use-function-in-class.html' title='Use function in a Class'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-1703162590380455277</id><published>2010-10-20T05:10:00.000-07:00</published><updated>2010-10-20T05:10:08.703-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA - Class'/><title type='text'>By Using JAVA Class find the area of two Paralelogram</title><summary type='text'>
class Paralelogram{
    double length;
    double breadth;
}
public class Main{
    public static void main (String args[]){
        Paralelogram para1 = new Paralelogram();
        Paralelogram para2 = new Paralelogram();
        double area;
        para1.length=8.5;
        para1.breadth=7.5;
        para2.length=5;
        para2.breadth=3;
                area=para1.length*para1.breadth;
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/1703162590380455277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/by-using-java-class-find-area-of-two.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/1703162590380455277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/1703162590380455277'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/by-using-java-class-find-area-of-two.html' title='By Using JAVA Class find the area of two Paralelogram'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-9025591513749008589</id><published>2010-10-20T05:07:00.000-07:00</published><updated>2010-10-20T05:07:03.414-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA - Class'/><title type='text'>By Using JAVA Class find the area of a Paralelogram</title><summary type='text'>
class Paralelogram{
    double length;
    double breadth;
}
public class Main{
    public static void main (String args[]){
        Paralelogram para = new Paralelogram();
        double area;
        para.length=8.5;
        para.breadth=7.5;
                area=para.length*para.breadth;
        System.out.println("The Area is: " + area);
        
    }
}


The Output is Given Below:
The Area</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/9025591513749008589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/by-using-java-class-find-area-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/9025591513749008589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/9025591513749008589'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/by-using-java-class-find-area-of.html' title='By Using JAVA Class find the area of a Paralelogram'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5308979504889253075</id><published>2010-10-20T05:02:00.000-07:00</published><updated>2010-10-20T05:02:24.396-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA - If Else'/><title type='text'>Simple examle of JAVA IF ELSE</title><summary type='text'>
class Main{
public static void main (String args[]){
    int i=7;
    int j=8;
    if(i==j)
        System.out.println("i and j are equal");
    else
        System.out.println("i and j are not equal");  
    }
}



The Output is Given Below:
i and j are not equal</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5308979504889253075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/simple-examle-of-java-if-else.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5308979504889253075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5308979504889253075'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/simple-examle-of-java-if-else.html' title='Simple examle of JAVA IF ELSE'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-7308078394874601558</id><published>2010-10-20T05:00:00.000-07:00</published><updated>2010-10-20T05:00:11.734-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA - Operators'/><title type='text'>Uses of JAVA Boolean Operators</title><summary type='text'>
class Main{
public static void main(String args[]){
    System.out.println(3&lt;2);
    System.out.println(5&gt;1);
    System.out.println(0==1);
    System.out.println(1!=2);
    System.out.println(2&lt;=5);
    System.out.println(5&gt;=2);
    }
}


The Output is Given Below:
false
true
false
true
true
true</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/7308078394874601558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/uses-of-java-boolean-operators.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7308078394874601558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7308078394874601558'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/uses-of-java-boolean-operators.html' title='Uses of JAVA Boolean Operators'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-4341365415388010508</id><published>2010-10-20T04:57:00.000-07:00</published><updated>2010-10-20T04:57:39.917-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA - Operators'/><title type='text'>Uses of Integer, double and Character in JAVA</title><summary type='text'>
class Main{
public static void main (String args[]){
    int i = 8;
    double d = 8.5;
    char c = 'A';
    System.out.println("Integer i = " + i);
     System.out.println("double d = " + d);
      System.out.println("Character c = " + c);       
    }
}


The Output is Given Below:
Integer i = 8
double d = 8.5
Character c = A</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/4341365415388010508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/uses-of-integer-double-and-character-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4341365415388010508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4341365415388010508'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/uses-of-integer-double-and-character-in.html' title='Uses of Integer, double and Character in JAVA'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5155128153009936824</id><published>2010-10-20T04:52:00.000-07:00</published><updated>2010-10-20T04:53:04.543-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA - String'/><title type='text'>How to write string in JAVA and also see the String Length</title><summary type='text'>
class Main{
    public static void main(String args[]){
        String ss = "I Love JAVA";
        System.out.println(ss);
        System.out.println("Length of the String: " + ss.length());
        }
}



The Output is Given Below:
I Love JAVA
Length of the String: 11</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5155128153009936824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/how-to-write-string-in-java-and-also.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5155128153009936824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5155128153009936824'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/how-to-write-string-in-java-and-also.html' title='How to write string in JAVA and also see the String Length'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-7485008109662819221</id><published>2010-10-20T02:45:00.000-07:00</published><updated>2010-10-20T02:46:21.931-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA - Introduction'/><title type='text'>Print anything by using JAVA String</title><summary type='text'>
class Main{
    public static void main(String args[]){
        String ss = "I Love JAVA";
        System.out.println(ss);
        }
}



The Output is Given Below:
I Love JAVA</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/7485008109662819221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/print-anything-by-using-java-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7485008109662819221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7485008109662819221'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/print-anything-by-using-java-string.html' title='Print anything by using JAVA String'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5609741048215325969</id><published>2010-10-18T21:49:00.001-07:00</published><updated>2010-10-18T21:49:57.697-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - String'/><title type='text'>Mesure the String Length</title><summary type='text'>
#include &lt;stdio.h&gt;
#include &lt;string.h&gt;
int main (void)
{
    char s1[100];
    char s2[100];
    gets(s1);
    gets(s2);
    printf("s1 = %d\ts2 = %d\n",strlen(s1),strlen(s2)); 
    system("pause");
    return 0;
}
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5609741048215325969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/mesure-string-length.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5609741048215325969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5609741048215325969'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/mesure-string-length.html' title='Mesure the String Length'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8883124378965855920</id><published>2010-10-18T21:43:00.001-07:00</published><updated>2010-10-18T21:43:37.610-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - String'/><title type='text'>Concatenate two C Strings</title><summary type='text'>
#include &lt;stdio.h&gt;
int main (void)
{
    char s1[100];
    char s2[100];
    gets(s1);
    gets(s2);
    strcat(s1,s2); //concatenate s1 and s2
    printf("s1= %s\n",s1);
    system("pause");
    return 0;
}

</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8883124378965855920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/concatenate-two-c-strings.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8883124378965855920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8883124378965855920'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/concatenate-two-c-strings.html' title='Concatenate two C Strings'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-6763939282684525379</id><published>2010-10-18T21:42:00.000-07:00</published><updated>2010-10-18T21:42:12.579-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - String'/><title type='text'>How to copy a C string</title><summary type='text'>
#include &lt;stdio.h&gt;
int main (void)
{
    char s1[100];
    char s2[100];
    gets(s1);
    gets(s2);
    strcpy(s1,s2); //copy s2 to s1
    printf("s1= %s s2= %s\n",s1,s2);
    system("pause");
    return 0;
}
    

</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/6763939282684525379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/how-to-copy-c-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6763939282684525379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6763939282684525379'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/how-to-copy-c-string.html' title='How to copy a C string'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-162160217227661511</id><published>2010-10-18T21:40:00.000-07:00</published><updated>2010-10-18T21:40:49.046-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - String'/><title type='text'>Using C String by puts and gets function</title><summary type='text'>
#include &lt;stdio.h&gt;
#define CC "Please enter a string"
int main (void)
{
    char s[100];
    int i;
    puts(CC);
    gets(s);
    puts(s);
    system("pause");
    return 0;
}
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/162160217227661511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/using-c-string-by-puts-and-gets.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/162160217227661511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/162160217227661511'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/using-c-string-by-puts-and-gets.html' title='Using C String by puts and gets function'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8985536924777832425</id><published>2010-10-18T21:38:00.000-07:00</published><updated>2010-10-18T21:38:40.337-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - String'/><title type='text'>How to write a C String</title><summary type='text'>
#include &lt;stdio.h&gt;
int main (void)
{
    char s[100];
    int i;
    printf("Enter a string: ");
    gets(s);
    for(i=0;s[i];i++)
    {
        printf("%c",s[i]);
    }
    system("pause");
    return 0;
}

</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8985536924777832425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/how-to-write-c-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8985536924777832425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8985536924777832425'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/how-to-write-c-string.html' title='How to write a C String'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-6740779002354517273</id><published>2010-10-16T10:30:00.000-07:00</published><updated>2010-10-16T10:40:46.939-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Test Program'/><title type='text'>How to make a simple calculator using C program</title><summary type='text'>
#include &lt;stdio.h&gt;
int main (void)
{
    char x,a,s,m,d;
    double y,z;
    printf("Please Select The Character\nfor addition  press 
a\nfor subtraction press s\nfor Division  press d\nfor 
Multiplication  press m\n");
    scanf("%c",&amp;x);
    if(x=='a')
    {
        printf("Enter the first number: ");
        scanf("%lf",&amp;y);
        printf("Enter the second number: ");
        scanf("%lf",&amp;z)</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/6740779002354517273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/how-to-make-simple-calculator-using-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6740779002354517273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6740779002354517273'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/how-to-make-simple-calculator-using-c.html' title='How to make a simple calculator using C program'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3416119052664594550</id><published>2010-10-16T01:46:00.001-07:00</published><updated>2010-10-16T01:46:49.808-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Test Program'/><title type='text'>Find the Area of a Triangle</title><summary type='text'>
#include &lt;stdio.h&gt;
int main (void)
{
    double base, height, area;
    float z;
    printf("Enter the Triangle's Base: ");
    scanf("%lf",&amp;base);
    printf("Enter the Height: ");
    scanf("%lf",&amp;height);
    area = 0.5*base*height;
    printf("The area of the Triangle is: %lf\n", area);
    system("pause");
    return 0;
}
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3416119052664594550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/find-area-of-triangle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3416119052664594550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3416119052664594550'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/find-area-of-triangle.html' title='Find the Area of a Triangle'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5168578424131607088</id><published>2010-10-16T01:28:00.000-07:00</published><updated>2010-10-16T01:29:05.156-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Test Program'/><title type='text'>Find the Area of a Parallelogram</title><summary type='text'>
#include &amp;ltstdio.h&gt;
int main (void)
{
    double area,length, breadth;
    printf("Enter the length: ");
    scanf("%lf",&amp;length);
    printf("Enter the breadth: ");
    scanf("%lf",&amp;breadth);
    area=length*breadth;
    printf("The Area of the Parallelogram is %lf\n",area);
    system("pause");
    return 0;
}
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5168578424131607088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/find-area-of-parallelogram.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5168578424131607088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5168578424131607088'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/find-area-of-parallelogram.html' title='Find the Area of a Parallelogram'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8450138560738021205</id><published>2010-10-07T10:32:00.001-07:00</published><updated>2010-10-07T10:33:38.550-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - Pointers'/><title type='text'>Assigning values pointer to pointer</title><summary type='text'>

#include &lt;stdio.h&gt;
int main (void)
{
    int i,*j,*k;
    i=100;
    j=&amp;i;
    k=j;
    printf("%d",*k);
    return 0;
}




The output is given below:

100</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8450138560738021205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/assigning-values-pointer-to-pointer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8450138560738021205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8450138560738021205'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/assigning-values-pointer-to-pointer.html' title='Assigning values pointer to pointer'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5565074808810951577</id><published>2010-10-07T10:31:00.000-07:00</published><updated>2010-10-07T10:31:33.225-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - Pointers'/><title type='text'>Array and Pointers</title><summary type='text'>

#include &lt;stdio.h&gt;
int main (void)
{
    int i[5]={10,6,56,8,9};
    int *p;
    p=i;
    printf("%d %d %d\n",*p,*(p+1),*(p+2));
    printf("%d %d %d\n",i[0],i[1],i[2]);
    system("pause");
    return 0;
}




The output is given below:

10 6 56
10 6 56</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5565074808810951577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/array-and-pointers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5565074808810951577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5565074808810951577'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/array-and-pointers.html' title='Array and Pointers'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3844178956950166531</id><published>2010-10-07T10:29:00.000-07:00</published><updated>2010-10-07T10:34:04.276-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - Pointers'/><title type='text'>Right use of increment in pointers</title><summary type='text'>

#include &lt;stdio.h&gt;
int main (void)
{
    int *i,j;
    i=&amp;j;
    j=10;
    printf("%p\n",i);
    (*i)++;
    printf("%d\n%p\n",j,i);
    return 0;
}




The output is given below:

2293616
11
2293616</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3844178956950166531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/right-use-of-increment-in-pointers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3844178956950166531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3844178956950166531'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/right-use-of-increment-in-pointers.html' title='Right use of increment in pointers'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-7155452181199997777</id><published>2010-10-07T10:28:00.000-07:00</published><updated>2010-10-07T10:34:30.962-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - Pointers'/><title type='text'>Wrong use of increment in pointers</title><summary type='text'>

#include &lt;stdio.h&gt;
int main (void)
{
    int *i,j;
    i=&amp;j;
    j=10;
    printf("%d\n",i);
    *i++;
    printf("%d\n%d\n",j,i);
    return 0;
}




The output is given below:

2293616
10
2293620</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/7155452181199997777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/wrong-use-of-increment-in-pointers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7155452181199997777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7155452181199997777'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/wrong-use-of-increment-in-pointers.html' title='Wrong use of increment in pointers'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3714928602306186077</id><published>2010-10-07T10:24:00.001-07:00</published><updated>2010-10-07T10:25:29.207-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - Pointers'/><title type='text'>Assigning values to a pointer - 2</title><summary type='text'>

#include &lt;stdio.h&gt;
int main (void)
{
    int *p, q;
    p=&amp;q;
    *p=200;
    printf("%d\n", q);
    return 0;
}




The output is given below:
200</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3714928602306186077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/assigning-values-to-pointer-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3714928602306186077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3714928602306186077'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/assigning-values-to-pointer-2.html' title='Assigning values to a pointer - 2'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-934901834563986880</id><published>2010-10-07T10:19:00.000-07:00</published><updated>2010-10-07T10:22:13.259-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C - Pointers'/><title type='text'>Assigning values to a pointer</title><summary type='text'>
#include &lt;stdio.h&gt;
int main (void)
{
    int i=200;
    int *j;
    j=&amp;i;
    printf("%d\n",*j);
    return 0;
}



The output is given below:

200</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/934901834563986880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/assigning-values-to-pointer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/934901834563986880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/934901834563986880'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/10/assigning-values-to-pointer.html' title='Assigning values to a pointer'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5909898413856294832</id><published>2010-09-12T05:26:00.000-07:00</published><updated>2010-09-12T05:28:00.402-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - DATE'/><title type='text'>Showing date in your webpage</title><summary type='text'>&lt;?php
echo date("d-m-y") . "&lt;br/&gt;";
echo date("d/m/y") . "&lt;br/&gt;";
echo date("d.m.y") . "&lt;br/&gt;";
echo date("d.m.Y") . "&lt;br/&gt;";
echo date("d.M.Y") . "&lt;br/&gt;";
echo date("D/M/Y") . "&lt;br/&gt;";
echo date("d /D/M/Y") . "&lt;br/&gt;";
?&gt;



The output is given below:

12-09-10
12/09/10
12.09.10
12.09.2010
12.Sep.2010
Sun/Sep/2010
12 /Sun/Sep/2010</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5909898413856294832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/showing-date-to-your-webpage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5909898413856294832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5909898413856294832'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/showing-date-to-your-webpage.html' title='Showing date in your webpage'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5130083614889194787</id><published>2010-09-12T05:04:00.000-07:00</published><updated>2010-09-12T05:04:35.263-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - MYSQL DELETE'/><title type='text'>Delete data from the database</title><summary type='text'>
&lt;?php
$con = mysql_connect("localhost","root","");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
mysql_select_db("my_db", $con);
mysql_query("DELETE FROM Students WHERE name='Harry Potter';");
$i = mysql_query("SELECT *FROM students;");
while($j= mysql_fetch_array($i))
{
echo $j['student_id']. " " . $j['Section']. " " .$j['name'];
echo "";
}
mysql_close($con);
?&gt; 
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5130083614889194787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/delete-data-from-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5130083614889194787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5130083614889194787'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/delete-data-from-database.html' title='Delete data from the database'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3216439431741788037</id><published>2010-09-12T02:40:00.000-07:00</published><updated>2010-09-12T02:42:40.410-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - MYSQL UPDATE'/><title type='text'>Update your database</title><summary type='text'>
&lt;?php
$con = mysql_connect("localhost","root","");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
mysql_select_db("my_db", $con);
mysql_query("UPDATE students set section='aa'
WHERE name='Harry Potter';");
$i = mysql_query("SELECT *FROM students;");
while($j= mysql_fetch_array($i))
{
echo $j['student_id']. " " . $j['Section']. " " .$j['Name'];
echo "";
}
mysql_close($con);
?&gt; 
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3216439431741788037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/update-your-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3216439431741788037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3216439431741788037'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/update-your-database.html' title='Update your database'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-7760702318144827987</id><published>2010-09-12T00:47:00.000-07:00</published><updated>2010-09-12T00:47:54.209-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - MYSQL WHERE'/><title type='text'>Searching data by using where clause</title><summary type='text'>
&lt;?php
$con = mysql_connect("localhost","root","");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
mysql_select_db("my_db", $con);
$i = mysql_query("SELECT *FROM Students 
where name='Harry Potter';");
echo "

student_id
Section
Name
";
while($j= mysql_fetch_array($i))
{
echo "";
echo "" . $j['Student_id'] . "";
echo "" . $j['Section'] . "";
echo "" . $j['Name'] . "";
echo "";
}</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/7760702318144827987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/searching-data-by-using-where-clause.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7760702318144827987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7760702318144827987'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/searching-data-by-using-where-clause.html' title='Searching data by using where clause'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-4917156501495168962</id><published>2010-09-12T00:07:00.000-07:00</published><updated>2010-09-12T00:09:11.709-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - MYSQL SELECT'/><title type='text'>Showing data using a html table</title><summary type='text'>
&lt;?php
$con = mysql_connect("localhost","root","");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
mysql_select_db("my_db", $con);
$i = mysql_query("SELECT *FROM students;");
echo "

student_id
Section
Name
";
while($j= mysql_fetch_array($i))
{
echo "";
echo "" . $j['student_id'] . "";
echo "" . $j['Section'] . "";
echo "" . $j['Name'] . "";
echo "";
}
echo "";
mysql_close($con)</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/4917156501495168962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/showing-data-using-html-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4917156501495168962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4917156501495168962'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/showing-data-using-html-table.html' title='Showing data using a html table'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8205874154514855050</id><published>2010-09-11T23:53:00.000-07:00</published><updated>2010-09-11T23:53:21.860-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - MYSQL SELECT'/><title type='text'>Showing data to your webpage</title><summary type='text'>
&lt;?php
$con = mysql_connect("localhost","root","");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
mysql_select_db("my_db", $con);
$i = mysql_query("SELECT *FROM students;");
while($j= mysql_fetch_array($i))
{
echo $j['student_id']. " " . $j['section']. " " .$j['name'];
echo "";
}
mysql_close($con);
?&gt;
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8205874154514855050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/showing-data-to-your-webpage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8205874154514855050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8205874154514855050'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/showing-data-to-your-webpage.html' title='Showing data to your webpage'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8894389750912613825</id><published>2010-09-11T11:41:00.000-07:00</published><updated>2010-09-11T11:41:42.542-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - MYSQL INSERT'/><title type='text'>Insert data to the students table</title><summary type='text'>
&lt;?php
$con = mysql_connect("localhost","root","");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
mysql_select_db("my_db",$con);
mysql_query("INSERT INTO students(
student_id, section, name)
VALUES(1,'AA','Harry Potter')");

mysql_close($con);
?&gt; 
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8894389750912613825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/insert-data-to-students-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8894389750912613825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8894389750912613825'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/insert-data-to-students-table.html' title='Insert data to the students table'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-4516935883811651219</id><published>2010-09-11T11:33:00.000-07:00</published><updated>2010-09-11T11:33:58.448-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - MYSQL TABLE'/><title type='text'>Create a Table</title><summary type='text'>
&lt;?php
$con = mysql_connect("localhost","root","");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
mysql_select_db("my_db", $con);
mysql_query("CREATE TABLE Students(
student_id int,
Section varchar(15),
Name varchar(30)
)");

mysql_close($con);
?&gt; 
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/4516935883811651219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/create-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4516935883811651219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4516935883811651219'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/create-table.html' title='Create a Table'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8844915143792595066</id><published>2010-09-11T03:21:00.000-07:00</published><updated>2010-09-11T10:51:15.964-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - MYSQL CREATE'/><title type='text'>Create a database</title><summary type='text'>If you want to create a mysql database by using php then the command will be

mysql_query(CREATE DATABASE database_name);

Then the php script will be,
&lt;?php
$con = mysql_connect("localhost","root","123456");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

if (mysql_query("CREATE DATABASE my_db",$con))
  {
  echo "Database created successfully";
  }
else
  {
  echo "Error </summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8844915143792595066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/create-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8844915143792595066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8844915143792595066'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/create-database.html' title='Create a database'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-913214755470388670</id><published>2010-09-11T03:06:00.000-07:00</published><updated>2010-09-11T03:08:59.372-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - MYSQL CONNECT'/><title type='text'>Close a database connection</title><summary type='text'>If you want to close the mysql database connection by using php then you should write 
the following command.

mysql_close($con);

Then the code will be,
&lt;?php
$con=mysql_connect("localhost","root","123456");
if(!$con)
       {
             die ('Could not connect'.mysql_error());
       }
mysql_close($con);
?&gt;
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/913214755470388670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/close-database-connection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/913214755470388670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/913214755470388670'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/close-database-connection.html' title='Close a database connection'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-1119682545385303045</id><published>2010-09-11T02:51:00.000-07:00</published><updated>2010-09-11T03:03:04.793-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - MYSQL CONNECT'/><title type='text'>Create connection to a database</title><summary type='text'>If you want to connect a mysql database by using php then the command will be:
mysql_connect("host_name", "user_name", "password")

In php we can write it by the following way.


&lt;?php
$con=mysql_connect("localhost","root","123456");
if(!$con)
       {
             die ('Could not connect'.mysql_error());
       }
?&gt;
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/1119682545385303045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/create-connection-to-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/1119682545385303045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/1119682545385303045'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/create-connection-to-database.html' title='Create connection to a database'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-1565121645147164350</id><published>2010-09-06T23:44:00.000-07:00</published><updated>2010-09-06T23:44:09.263-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL - SELECT'/><title type='text'>Selecting certain column in a table</title><summary type='text'>If you want to select the specific column in a table then you should write the following command:
SELECT region_name
FROM regions;

***Here regions_name is the column of a regions table.

SQL Command:
SELECT column_name
FROM table_name;
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/1565121645147164350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/selecting-certain-column-in-table.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/1565121645147164350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/1565121645147164350'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/selecting-certain-column-in-table.html' title='Selecting certain column in a table'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5657659895914314949</id><published>2010-09-06T23:38:00.000-07:00</published><updated>2010-09-06T23:38:49.512-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL - SELECT'/><title type='text'>Selecting All columns in a table</title><summary type='text'>Suppose you have a table named departments. Then you can select the table by the following command:
SELECT * FROM  departments;

SQL Command:
SELECT * FROM table_name;</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5657659895914314949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/selecting-all-columns-in-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5657659895914314949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5657659895914314949'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/selecting-all-columns-in-table.html' title='Selecting All columns in a table'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-30612674423047607</id><published>2010-09-06T23:24:00.000-07:00</published><updated>2010-09-06T23:24:55.401-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL - Controlling User Access'/><title type='text'>Revoke the privilige from the user</title><summary type='text'>You can revoke the privilege from the user rimon by the following command:
REVOKE create session, create table,
create view, create sequence
FROM rimon;

SQL Command:
REVOKE create session, create table,
create view, create sequence
FROM user_name; 
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/30612674423047607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/revoke-privilige-from-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/30612674423047607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/30612674423047607'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/revoke-privilige-from-user.html' title='Revoke the privilige from the user'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-6476367750177821363</id><published>2010-09-06T23:14:00.000-07:00</published><updated>2010-09-06T23:18:14.820-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL - Controlling User Access'/><title type='text'>Delete user</title><summary type='text'>If you have a user named rimon then you can delete the user by the following command:
DROP USER rimon;

SQL Command:
DROP USER user_name;</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/6476367750177821363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/delete-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6476367750177821363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6476367750177821363'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/delete-user.html' title='Delete user'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-219692267036927648</id><published>2010-09-06T23:13:00.000-07:00</published><updated>2010-09-06T23:19:02.713-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL - Controlling User Access'/><title type='text'>Change the password of the user</title><summary type='text'>If you create a user named rimon then you can change that user's password by the following command.
ALTER USER rimon
IDENTIFIED BY 654321;

SQL Command:
ALTER USER user_name
IDENTIFIED BY password;</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/219692267036927648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/change-password-of-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/219692267036927648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/219692267036927648'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/change-password-of-user.html' title='Change the password of the user'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8108685084162468468</id><published>2010-09-06T01:25:00.000-07:00</published><updated>2010-09-06T01:26:10.250-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL - Controlling User Access'/><title type='text'>User System privilige</title><summary type='text'>SQL - Command:
GRANT create session, create table,
create sequence, create view
TO user_name;


GRANT create session, create table,
create sequence, create view
TO rimon;



</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8108685084162468468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/user-system-privilige.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8108685084162468468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8108685084162468468'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/user-system-privilige.html' title='User System privilige'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-383432437661950018</id><published>2010-09-06T01:20:00.000-07:00</published><updated>2010-09-06T01:20:33.952-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL - Controlling User Access'/><title type='text'>Create User</title><summary type='text'> SQL - Command:
CREATE USER user_name
IDENTIFIED BY password

If the user_name is rimon and the password is 123456 then the command will be
CREATE USER rimon
IDENTIFIED BY 123456 
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/383432437661950018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/create-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/383432437661950018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/383432437661950018'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/09/create-user.html' title='Create User'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-4648385385643872445</id><published>2010-08-14T12:21:00.000-07:00</published><updated>2010-08-14T12:21:13.699-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - FOR LOOP'/><title type='text'>PHP For Loop_1.2</title><summary type='text'>&lt;?php
for($i=1;$i&lt;=10;$i++)
{
    for($j=1;$j&lt;=$i;$j++)
    {
        echo $j;
    }
    echo "&lt;br/&gt;";
}
?&gt;



The output is given below:
11212312341234512345612345671234567812345678912345678910 </summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/4648385385643872445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/08/php-for-loop12.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4648385385643872445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4648385385643872445'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/08/php-for-loop12.html' title='PHP For Loop_1.2'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5216481700676889905</id><published>2010-08-14T12:13:00.000-07:00</published><updated>2010-08-14T12:13:24.567-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - FOR LOOP'/><title type='text'>PHP For Loop_1.1</title><summary type='text'>&lt;?php
for($i=1;$i&lt;=10;$i++)
{
    echo $i."&lt;br/&gt;";
}
?&gt;



The output is given below:
1
2
3
4
5
6
7
8
9
10 </summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5216481700676889905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/08/php-for-loop11.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5216481700676889905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5216481700676889905'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/08/php-for-loop11.html' title='PHP For Loop_1.1'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-4088988198234346125</id><published>2010-08-14T11:56:00.001-07:00</published><updated>2010-08-14T11:57:39.874-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - ARRAY'/><title type='text'>PHP - ARRAY</title><summary type='text'>
&lt;?php
$x=array("Motherboard", "Harddisk", "Ram", "Processor", "PowerSupply", "CDRom");
echo $x[5]."";
echo $x[3]."";
echo $x[1]."";
?&gt;


The output is given below:
CDRom
Processor
Harddisk</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/4088988198234346125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/08/php-array.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4088988198234346125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4088988198234346125'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/08/php-array.html' title='PHP - ARRAY'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-7651651911622810285</id><published>2010-08-14T11:37:00.001-07:00</published><updated>2010-08-14T11:38:40.213-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - SWITCH'/><title type='text'></title><summary type='text'>
&lt;?php
switch ($x)
{
    case 1:
        echo "You press 1";
        break;
    case 2:
        echo "You press 2";
        break;
    case 3:
        echo "You press 3";
        break;
    default:
        echo "You do not press any number";
}
?&gt;
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/7651651911622810285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/08/x-case-1-echo-you-press-1-break-case-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7651651911622810285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7651651911622810285'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/08/x-case-1-echo-you-press-1-break-case-2.html' title=''/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-4623323168895239677</id><published>2010-08-14T11:20:00.000-07:00</published><updated>2010-08-14T11:25:29.234-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP - INTRODUCTION'/><title type='text'>PHP - INTRODUCTION</title><summary type='text'>
&lt;?php
echo "This is your first PHP script";
?&gt;


The output is given below:
This is your first PHP script</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/4623323168895239677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/08/php-introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4623323168895239677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/4623323168895239677'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/08/php-introduction.html' title='PHP - INTRODUCTION'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5302913376384426752</id><published>2010-06-24T07:22:00.000-07:00</published><updated>2010-06-24T07:22:49.697-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ Input \ Ouput'/><title type='text'>C++ I/O</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
int main()
{
    int i,j;
    cin &gt;&gt; i; 
    cin &gt;&gt; j;
    cout &lt;&lt; "The multiplication of two integer is: " &lt;&lt; i*j &lt;&lt; "\n"; 
    system("pause");
    return 0;
}
    

</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5302913376384426752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/c-io.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5302913376384426752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5302913376384426752'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/c-io.html' title='C++ I/O'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-5548192825130877636</id><published>2010-06-24T07:13:00.000-07:00</published><updated>2010-06-24T07:13:31.965-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ Introduction'/><title type='text'>Introduction of C++</title><summary type='text'>
#include &lt;iostream &gt;
using namespace std;
int main()
{
    cout &lt;&lt; "This is your first C++ Program" &lt;&lt; "\n";
    system("pause");
    return 0;
}



The Output is Given Below:

This is your first C++ Program
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/5548192825130877636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/introduction-of-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5548192825130877636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/5548192825130877636'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/introduction-of-c.html' title='Introduction of C++'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3609012120095378684</id><published>2010-06-24T07:09:00.000-07:00</published><updated>2010-06-24T07:09:12.600-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ Class'/><title type='text'>C++ Class_1.1</title><summary type='text'>
#include &lt;iostream&gt;
using namespace std;
class rec
      {
      int x,y;
      public:
             void set_values(int,int);
             int area(){return (x*y);}
      };
      void rec::set_values(int a, int b)
      {
           x=a;
           y=b;
      }
      int main()
      {
          rec rect;
          rect.set_values(3,4);
          cout &lt;&lt; "area: "&lt;&lt; rect.area();
          </summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3609012120095378684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/c-class11.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3609012120095378684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3609012120095378684'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/c-class11.html' title='C++ Class_1.1'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-3461391665894033718</id><published>2010-06-19T05:47:00.000-07:00</published><updated>2010-06-19T05:47:07.653-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA - Numeric Loop'/><title type='text'>Java Numeric Loop - 1.7</title><summary type='text'>
class numloop7
{
 public static void main(String args[])
 {
  int i,j;
  for(i=1;i&lt;=6;i++)
  {
   for(j=1;j&lt;=6-i;j++)
   System.out.print(" ");
   for(j=1;j&lt;=i;j++)
   System.out.print(i);
   System.out.println();
  }
 }
}


The Output is Given Below:

     1
    22
   333
  4444
 55555
666666
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/3461391665894033718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/java-numeric-loop-17.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3461391665894033718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/3461391665894033718'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/java-numeric-loop-17.html' title='Java Numeric Loop - 1.7'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-7055753677458653702</id><published>2010-06-19T05:46:00.000-07:00</published><updated>2010-06-19T05:46:05.820-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA - Numeric Loop'/><title type='text'>Java Numeric Loop - 1.6</title><summary type='text'>
class numloop6
{
 public static void main(String args[])
 {
  int i,j;
  for(i=1;i&lt;=6;i++)
  {
   for(j=1;j&lt;=6-i;j++)
   System.out.print(" ");
   for(j=1;j&lt;=i+i-1;j++)
   System.out.print(i);
   System.out.println();
  }
 }
}


The Output is Given Below:

     1
    222
   33333
  4444444
 555555555
66666666666
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/7055753677458653702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/java-numeric-loop-16.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7055753677458653702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/7055753677458653702'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/java-numeric-loop-16.html' title='Java Numeric Loop - 1.6'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-6038775728024949078</id><published>2010-06-19T05:44:00.000-07:00</published><updated>2010-06-19T05:44:02.901-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA - Numeric Loop'/><title type='text'>Java Numeric Loop - 1.5</title><summary type='text'>
class numloop5
{
 public static void main(String args[])
 {
  int i,j;
  for(i=1;i&lt;=6;i++)
  {
   for(j=1;j&lt;=i+i-1;j++)
   System.out.print(i);
   System.out.println();
  }
 }
}


The Output is Given Below:

1
222
33333
4444444
555555555
66666666666
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/6038775728024949078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/java-numeric-loop-15.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6038775728024949078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/6038775728024949078'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/java-numeric-loop-15.html' title='Java Numeric Loop - 1.5'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3753595530348818801.post-8145856415711516024</id><published>2010-06-19T05:43:00.000-07:00</published><updated>2010-06-19T05:43:01.030-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA - Numeric Loop'/><title type='text'>Java Numeric Loop - 1.4</title><summary type='text'>
class numloop4
{
 public static void main(String args[])
 {
  int i,j;
  for(i=1;i&lt;=6;i++)
  {
   for(j=1;j&lt;=i;j++)
   System.out.print(i);
   System.out.println();
  }
 }
}


The Output is Given Below:

1
22
333
4444
55555
666666
</summary><link rel='replies' type='application/atom+xml' href='http://makeprogrameasy.blogspot.com/feeds/8145856415711516024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/java-numeric-loop-14.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8145856415711516024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3753595530348818801/posts/default/8145856415711516024'/><link rel='alternate' type='text/html' href='http://makeprogrameasy.blogspot.com/2010/06/java-numeric-loop-14.html' title='Java Numeric Loop - 1.4'/><author><name>FUN WITH PROGRAMMING</name><uri>http://www.blogger.com/profile/08644772929316351163</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
