<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7255055303680627371</id><updated>2024-10-24T14:52:28.960-07:00</updated><title type='text'>COMPUTER PROGRAMMING AND SOFTWARE LANGUAGES</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rajeshlanguageblog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7255055303680627371/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://rajeshlanguageblog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>rajesh kumar gupta</name><uri>http://www.blogger.com/profile/16517737929998650091</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5R5i5vfbTGJa7Grg7aLpFO8KbAfPXayRif1l2MSLXBggOf5J6HuxBl8t5QpMDqT4azBz_T75tQLg61RdOH2V3V1V7L0AK3RUR8Aq9bB9hmWlB6FAs96T1XEyyJRkekQ/s220/100921-164317.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7255055303680627371.post-3049642582413209342</id><published>2010-09-23T23:43:00.000-07:00</published><updated>2010-09-23T23:43:33.467-07:00</updated><title type='text'>Program arithmetic operations using class in c++</title><content type='html'>#include&lt;iostream.h&gt;&lt;br /&gt;
Class abc&lt;br /&gt;
{&lt;br /&gt;
Private:&lt;br /&gt;
Int  a, b;&lt;br /&gt;
Char ch;&lt;br /&gt;
Public:&lt;br /&gt;
Void fun()&lt;br /&gt;
{&lt;br /&gt;
do &lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
Cout&amp;lt;&amp;lt;”enter 1 for add”&amp;lt;&amp;lt;”enter 2 for delete”&amp;lt;&amp;lt;”enter 3 for multiply” &amp;lt;&amp;lt;”enter 4 for divide”&amp;lt;&amp;lt;”enter 5 for mode”; Cin&amp;gt;&amp;gt;ch;&lt;br /&gt;
Switch(ch)&lt;br /&gt;
{&lt;br /&gt;
Case 1:&lt;br /&gt;
Cout&amp;lt;&amp;lt;””enter two no for addition; Cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b;&lt;br /&gt;
Cout&amp;lt;&amp;lt;”sum=”&amp;lt;&lt;a+b; 2:=&quot;&quot; break;=&quot;&quot; case=&quot;&quot; cout=&quot;&quot;&gt;&amp;lt;&amp;lt;”enter two no”; Cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b;&lt;br /&gt;
Cout&amp;lt;&amp;lt;”diff=”&amp;lt;&lt;a-b; 3:=&quot;&quot; break:=&quot;&quot; case=&quot;&quot; cout=&quot;&quot;&gt;&amp;lt;&amp;lt;”enter two no ”; Cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b;&lt;br /&gt;
Cout&amp;lt;&amp;lt;”mul=”&amp;lt;&lt;a*b; 4:=&quot;&quot; break:=&quot;&quot; case=&quot;&quot; cout=&quot;&quot;&gt;&amp;lt;&amp;lt;”enter two no”; Cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b;&lt;br /&gt;
Cout&amp;lt;&amp;lt;”result of divide=”&amp;lt;&lt;a*b; 5:=&quot;&quot; break;=&quot;&quot; case=&quot;&quot; cout=&quot;&quot;&gt;&amp;lt;&amp;lt;”enter two no” Cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b;&lt;br /&gt;
Cout&amp;lt;&amp;lt;”mod=”&amp;lt;&lt;a b;=&quot;&quot; href=&quot;&quot;&gt;&lt;br /&gt;
Break;&lt;br /&gt;
Default:&lt;br /&gt;
Cout&amp;lt;&amp;lt;”enter right no”&lt;br /&gt;
Break;&lt;br /&gt;
}&lt;br /&gt;
While(ch!=0)&lt;br /&gt;
}&lt;br /&gt;
};&lt;br /&gt;
Int main()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
Abc m;&lt;br /&gt;
m.fun();&lt;br /&gt;
return(0);&lt;br /&gt;
}&lt;br /&gt;
&lt;/a&gt;&lt;/a*b;&gt;&lt;/a*b;&gt;&lt;/a-b;&gt;&lt;/a+b;&gt;&lt;/iostream.h&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshlanguageblog.blogspot.com/feeds/3049642582413209342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rajeshlanguageblog.blogspot.com/2010/09/program-arithmetic-operations-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7255055303680627371/posts/default/3049642582413209342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7255055303680627371/posts/default/3049642582413209342'/><link rel='alternate' type='text/html' href='http://rajeshlanguageblog.blogspot.com/2010/09/program-arithmetic-operations-using.html' title='Program arithmetic operations using class in c++'/><author><name>rajesh kumar gupta</name><uri>http://www.blogger.com/profile/16517737929998650091</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5R5i5vfbTGJa7Grg7aLpFO8KbAfPXayRif1l2MSLXBggOf5J6HuxBl8t5QpMDqT4azBz_T75tQLg61RdOH2V3V1V7L0AK3RUR8Aq9bB9hmWlB6FAs96T1XEyyJRkekQ/s220/100921-164317.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7255055303680627371.post-5236389352519643994</id><published>2010-09-23T10:01:00.000-07:00</published><updated>2010-09-23T10:01:52.760-07:00</updated><title type='text'>PROGRAMME PRINT HELLO</title><content type='html'>&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 12&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 12&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;link href=&quot;file:///C:%5CUsers%5CAbc%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5CAbc%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot; rel=&quot;themeData&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5CAbc%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot; rel=&quot;colorSchemeMapping&quot;&gt;&lt;/link&gt;    &lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:1;
	mso-generic-font-family:roman;
	mso-font-format:other;
	mso-font-pitch:variable;
	mso-font-signature:0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-520092929 1073786111 9 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:&quot;Times New Roman&quot;;
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:&quot;Times New Roman&quot;;
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
.MsoPapDefault
	{mso-style-type:export-only;
	margin-bottom:10.0pt;
	line-height:115%;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Class abc&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Int c;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Char&amp;nbsp; s;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Public:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Void aaa()&lt;br /&gt;
{&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cout&amp;lt;&amp;lt;”do you want to print”&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cout&amp;lt;&amp;lt;”enter y for YES and n for NO”;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cin&amp;gt;&amp;gt;c;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Switch(c)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;{&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Cout&amp;lt;”enter which you want to print”&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Cin&amp;gt;&amp;gt;s;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Cout&amp;lt;&amp;lt;s;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;}&lt;br /&gt;
}&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;};&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Int main()&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;{&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Abc n;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;n.aaa();&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;return(0);&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;}&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshlanguageblog.blogspot.com/feeds/5236389352519643994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rajeshlanguageblog.blogspot.com/2010/09/programme-print-hello.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7255055303680627371/posts/default/5236389352519643994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7255055303680627371/posts/default/5236389352519643994'/><link rel='alternate' type='text/html' href='http://rajeshlanguageblog.blogspot.com/2010/09/programme-print-hello.html' title='PROGRAMME PRINT HELLO'/><author><name>rajesh kumar gupta</name><uri>http://www.blogger.com/profile/16517737929998650091</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5R5i5vfbTGJa7Grg7aLpFO8KbAfPXayRif1l2MSLXBggOf5J6HuxBl8t5QpMDqT4azBz_T75tQLg61RdOH2V3V1V7L0AK3RUR8Aq9bB9hmWlB6FAs96T1XEyyJRkekQ/s220/100921-164317.jpg'/></author><thr:total>0</thr:total></entry></feed>