<?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-8527552249947761645</id><updated>2024-09-01T13:47:25.470+05:30</updated><title type='text'>softimage</title><subtitle type='html'>lovers view..........</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-4112374905419364046</id><published>2011-10-24T02:02:00.000+05:30</published><updated>2011-10-24T02:02:14.283+05:30</updated><title type='text'>Browser Statistics</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2&gt;
Browser Statistics Month by Month&lt;/h2&gt;
&lt;table class=&quot;reference&quot;&gt;
    &lt;tbody&gt;
&lt;tr&gt;
    &lt;th align=&quot;left&quot; width=&quot;16.5%&quot;&gt;2011&lt;/th&gt;
    &lt;th align=&quot;right&quot; width=&quot;19.5%&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/browsers/browsers_explorer.asp&quot;&gt;Internet Explorer&lt;/a&gt;&lt;/th&gt;
    &lt;th align=&quot;right&quot; width=&quot;16%&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/browsers/browsers_firefox.asp&quot;&gt;Firefox&lt;/a&gt;&lt;/th&gt;
    &lt;th align=&quot;right&quot; width=&quot;16%&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/browsers/browsers_chrome.asp&quot;&gt;Chrome&lt;/a&gt;&lt;/th&gt;
    &lt;th align=&quot;right&quot; width=&quot;16%&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/browsers/browsers_safari.asp&quot;&gt;Safari&lt;/a&gt;&lt;/th&gt;
    &lt;th align=&quot;right&quot; width=&quot;16%&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/browsers/browsers_opera.asp&quot;&gt;Opera&lt;/a&gt;&lt;/th&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;September&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;22.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;39.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;30.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;August&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;22.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;40.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;30.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.3 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;July&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;22.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;42.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;29.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.4 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;June&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;23.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;42.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;27.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.4 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;May&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;24.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;42.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;25.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.4 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;April&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;24.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;42.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;25.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.6 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;March&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;25.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;42.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;25.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.5 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;February&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;26.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;42.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;24.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.5 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;January&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;26.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;42.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;23.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.5 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;th align=&quot;left&quot;&gt;2010&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Internet Explorer&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Firefox&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Chrome&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Safari&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Opera&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;December&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;27.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;43.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;22.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;November&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;28.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;44.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;20.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.3 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;October&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;29.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;44.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;19.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;September&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;31.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;45.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;17.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;August&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;30.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;45.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;17.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.3 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;July&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;30.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;46.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;16.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.3 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;June&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;31.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;46.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;15.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.1 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;May&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;32.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;46.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;14.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;April&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;33.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;46.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;13.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;March&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;34.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;46.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;12.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;February&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;35.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;46.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;11.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.1 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;January&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;36.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;46.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;10.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;th align=&quot;left&quot;&gt;2009&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Internet Explorer&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Firefox&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Chrome&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Safari&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Opera&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;December&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;37.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;46.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;9.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.3 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;November&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;37.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;47.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;8.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.3 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;October&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;37.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;47.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;8.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.3 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;September&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;39.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;46.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;7.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;August&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;39.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;47.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;7.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.1 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;July&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;39.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;47.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;6.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.1 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;June&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;40.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;47.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;6.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.1 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;May&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;41.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;47.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;5.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;April&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;42.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;47.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;March&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;43.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;46.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.3 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;February&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;43.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;46.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;January&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;44.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;45.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.3 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;th align=&quot;left&quot;&gt;2008&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Internet Explorer&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Firefox&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Chrome&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Safari&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Opera&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;December&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;46.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;44.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.4 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;November&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;47.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;44.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.3 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;October&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;47.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;44.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;September&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;49.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;42.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.0 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;August&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;51.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;43.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.1 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;July&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;52.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;42.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.9 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;June&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;54.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;41.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.7 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;May&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;54.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;39.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.5 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;April&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;54.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;39.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.4 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;March&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;53.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;37.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.4 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;February&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;54.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;36.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.4 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;January&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;54.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;36.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.4 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;th align=&quot;left&quot;&gt;2007&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Internet Explorer&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Firefox&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Mozilla&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Safari&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Opera&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;November&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;56.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;36.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.6 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;September&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;57.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;35.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.5 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;July&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;58.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;34.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.9 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;May&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;58.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;33.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.7 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;March&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;58.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;31.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.6 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;January&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;58.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;31.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.5 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;th align=&quot;left&quot;&gt;2006&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Internet Explorer&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Firefox&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Mozilla&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Netscape&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Opera&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;November&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;60.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;29.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;0.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.5 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;September&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;62.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;27.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;0.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.6 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;July&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;62.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;25.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;0.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.4 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;May&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;63.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;25.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;0.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.5 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;March&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;64.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;24.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;0.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.5 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;January&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;66.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;25.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;0.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.6 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;th align=&quot;left&quot;&gt;2005&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Internet Explorer&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Firefox&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Mozilla&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Netscape&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Opera&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;November&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;68.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;23.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;0.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.5 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;September&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;75.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;18.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;0.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.2 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;July&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;73.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;19.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;0.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.2 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;May&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;71.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;21.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;0.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.3 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;March&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;72.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;18.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.9 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;January&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;74.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;16.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.9 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;th align=&quot;left&quot;&gt;2004&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Internet Explorer&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;&amp;nbsp;&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Mozilla&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Netscape&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Opera&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;November&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;76.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;16.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.6 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;September&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;79.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;13.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.7 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;July&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;80.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;12.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.6 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;May&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;81.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;9.5&amp;nbsp; %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.6 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;March&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;82.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;7.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.4 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;January&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;84.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;5.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.5 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;th align=&quot;left&quot;&gt;2003&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Internet Explorer&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;&amp;nbsp;&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Mozilla&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Netscape&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Opera&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;November&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;84.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;7.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.9 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;September&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;86.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;6.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.8 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;July&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;87.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;5.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.7 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;May&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;87.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.4 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;March&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;88.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;1.2 %&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;January&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;84.6 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;th align=&quot;left&quot;&gt;2002&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Internet Explorer&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;AOL&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;&amp;nbsp;&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;Netscape&lt;/th&gt;
    &lt;th align=&quot;right&quot;&gt;&amp;nbsp;&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;November&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;83.4 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;5.2 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;8.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;September&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;83.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;4.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;8.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;July&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;84.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.5 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;7.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;May&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;86.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;7.3 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;March&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;86.1 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;3.0 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;7.7 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td align=&quot;left&quot;&gt;January&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;85.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;2.8 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;7.9 %&lt;/td&gt;
    &lt;td align=&quot;right&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;

  &lt;table class=&quot;reference&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;
    &lt;td width=&quot;20%&quot;&gt;&lt;b&gt;Internet Explorer&lt;/b&gt;&lt;/td&gt;
    &lt;td&gt;Microsoft Internet Explorer&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&lt;b&gt;Firefox&lt;/b&gt;&lt;/td&gt;
    &lt;td&gt;Mozilla Firefox (identified as Mozilla before 2005) &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&lt;b&gt;Chrome&lt;/b&gt;&lt;/td&gt;
    &lt;td&gt;Google Chrome&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&lt;b&gt;Mozilla&lt;/b&gt;&lt;/td&gt;
    &lt;td&gt;The Mozilla Suite (Gecko, Netscape)&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&lt;b&gt;Safari&lt;/b&gt;&lt;/td&gt;
    &lt;td&gt;Safari (and Konqueror. Both identified as Mozilla before 2007)&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&lt;b&gt;Opera&lt;/b&gt;&lt;/td&gt;
    &lt;td&gt;Opera (as of 2011, Opera Mini is included here)&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&lt;b&gt;Netscape&lt;/b&gt;&lt;/td&gt;
    &lt;td&gt;Netscape Navigator (identified as Mozilla after 2006)&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;&lt;b&gt;AOL&lt;/b&gt;&lt;/td&gt;
    &lt;td&gt;America Online (based on both Internet Explorer and Mozilla)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/4112374905419364046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/10/browser-statistics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/4112374905419364046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/4112374905419364046'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/10/browser-statistics.html' title='Browser Statistics'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-5140936106629403518</id><published>2011-07-30T02:31:00.000+05:30</published><updated>2011-07-30T02:31:37.226+05:30</updated><title type='text'>6 useful Windows tricks</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;intro&quot;&gt;You know that feeling you get when your friends or  family see you do something on your computer that they&#39;ve never seen  before? If you’ve had this experience, you know that “world&#39;s coolest  power-user” feeling. But if you haven’t, start here. Knowledge is power!  &lt;/div&gt;&lt;div class=&quot;intro&quot;&gt;Read these six tips for Windows 7, Windows Vista,  and Windows XP that will keep you schoolin&#39; your friends and family.&lt;/div&gt;&lt;div&gt;&lt;h2&gt;1. Don&#39;t just maximize your windows—go full screen&lt;/h2&gt;When  you need a really big window for viewing photos and videos, don&#39;t just  maximize it: go full screen! This tip works great for viewing photos and  videos at maximum size in Windows Explorer or Windows Media Player,  utilizing screen space usually occupied by the header at the top of the  screen and the taskbar at the bottom. Here’s how:&lt;br /&gt;
Open any photo  in Windows Explorer, or open a photo or video clip in Windows Media  Player. Do one of the following:&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In Windows 7 and Windows  XP, click the &lt;strong&gt;F11&lt;/strong&gt; key at the top of your keyboard. &lt;/li&gt;
&lt;/ul&gt;The  photo or video image enlarges to its maximum size and the title bar and  taskbar are hidden.&lt;br /&gt;
&lt;div class=&quot;captionedobject clear&quot;&gt;&lt;img alt=&quot;Viewing a photo in Windows Explorer standard view&quot; border=&quot;0&quot; class=&quot;nofloat&quot; src=&quot;http://www.microsoft.com/global/athome/PublishingImages/setup/6wintricks-1.jpg&quot; title=&quot;Viewing a
 photo in Windows Explorer standard view&quot; /&gt;&lt;em&gt;Viewing  a photo in Windows Explorer standard view&lt;/em&gt;&lt;/div&gt;To undue  full-screen mode and restore the window to its normal view, press the &lt;strong&gt;Esc&lt;/strong&gt;  (Escape) key at the top of your keyboard &lt;br /&gt;
&lt;hr class=&quot;clear&quot; /&gt;&lt;/div&gt;&lt;div&gt;&lt;h2&gt;2. Customize the Navigation pane&lt;/h2&gt;You can use  the navigation pane (the left pane) to find files and folders and  display links to frequently used folders and other items. You can also  move or copy items to a destination in the navigation pane. &lt;br /&gt;
If  you don&#39;t see the navigation pane on the left side of an open folder  window, click &lt;strong&gt;Organize&lt;/strong&gt;, point to &lt;strong&gt;Layout&lt;/strong&gt;,  and then click &lt;strong&gt;Navigation pane&lt;/strong&gt; to display it.&lt;br /&gt;
&lt;h3&gt;To  customize the navigation pane in Windows 7&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;In an open  folder or library window, click &lt;strong&gt;Organize&lt;/strong&gt;, and then  click &lt;strong&gt;Folder and search options&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Folder  Options&lt;/strong&gt; dialog box, click the &lt;strong&gt;General&lt;/strong&gt; tab,  and then do one or both of the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;To show all the  folders on your computer in the navigation pane, including your personal  folder, select the &lt;strong&gt;Show all folders&lt;/strong&gt; check box, click &lt;strong&gt;Apply&lt;/strong&gt;  to see the change, and then click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;To  automatically expand the navigation pane to the folder that&#39;s selected  in the folder window, select the &lt;strong&gt;Automatically expand to current  folder&lt;/strong&gt; check box, and then click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;captionedobject clear&quot;&gt;&lt;img alt=&quot;Customizing the navigation pane in Windows 7&quot; border=&quot;0&quot; class=&quot;nofloat&quot; src=&quot;http://www.microsoft.com/global/athome/PublishingImages/setup/6wintricks-3.jpg&quot; title=&quot;Customizing 
the navigation pane in Windows 7&quot; /&gt;&lt;em&gt;Customizing  the navigation pane in Windows 7&lt;/em&gt;&lt;/div&gt;&lt;h3&gt;More ways to  customize your favorites in Windows 7&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;To add a folder, a  saved search, a library, or even a drive as a favorite, drag it to the &lt;strong&gt;Favorites&lt;/strong&gt;  section in the navigation pane.  &lt;strong&gt;Note:&lt;/strong&gt; You can’t add  individual file to Favorites, but you can add them to any folder in  Favorites.&lt;/li&gt;
&lt;li&gt;To change the order of favorites, drag a  favorite to a new position in the list.&lt;/li&gt;
&lt;li&gt;To restore the  default favorites in the navigation pane, right-click &lt;strong&gt;Favorites&lt;/strong&gt;,  and then click &lt;strong&gt;Restore Favorite Links&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;To  view the folder where your favorites are stored, click &lt;strong&gt;Favorites&lt;/strong&gt;  in the navigation pane. Favorites are stored as shortcuts.&lt;/li&gt;
&lt;li&gt;To  remove a favorite, right-click the favorite, and then click &lt;strong&gt;Remove&lt;/strong&gt;.  This removes the favorite from the navigation pane—it doesn&#39;t delete  the files or folders that the shortcut points to.&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;captionedobject clear&quot;&gt;&lt;img alt=&quot;The Favorites area of the navigation pane in Windows 7&quot; border=&quot;0&quot; class=&quot;nofloat&quot; src=&quot;http://www.microsoft.com/global/athome/PublishingImages/setup/6wintricks-4.jpg&quot; title=&quot;The
 Favorites area of the navigation pane in Windows 7&quot; /&gt;&lt;em&gt;The Favorites area of the navigation pane in Windows 7&lt;/em&gt;&lt;/div&gt;&lt;h3&gt;Add  folders and files in Windows Vista&lt;/h3&gt;In Windows Vista, you can add  folders to Favorite Links in the navigation pane so that you can open  them from any folder window at any time. To do this, first open the  folder that contains the subfolder  you want to add. Then simply drag  its icon from the original folder to where you want it in the navigation  pane. You can also click &lt;strong&gt;Folders&lt;/strong&gt; at the bottom of the  pane and drag a folder from the folder list up into the Favorite Links  section of the pane. &lt;strong&gt;Note:&lt;/strong&gt; You can’t add individual  files to Favorite Links, but you can add them to any folder in Favorite  Links.&lt;br /&gt;
&lt;div class=&quot;captionedobject clear&quot;&gt;&lt;img alt=&quot;Pictures folder in Windows&quot; border=&quot;0&quot; class=&quot;nofloat&quot; src=&quot;http://www.microsoft.com/global/athome/PublishingImages/setup/6wintricks_img2.jpg&quot; title=&quot;Pictures folder in Windows&quot; /&gt;&lt;em&gt;Pictures folder in Windows&lt;/em&gt;&lt;/div&gt;&lt;hr class=&quot;clear&quot; /&gt;&lt;/div&gt;&lt;div&gt;&lt;h2&gt;3. Pin a program or items to  the Windows 7 taskbar&lt;/h2&gt;You know what would make a great taskbar?  One where you could pin your favorite applications or files so that you  could open them quickly from any window at any time. Guess what? You  can.&lt;br /&gt;
In Windows 7, you can also pin shortcuts for favorite or  frequently used files, folders, and websites to the Jump Lists for each  of those programs to the taskbar. &lt;a href=&quot;http://windows.microsoft.com/en-US/windows7/Using-Jump-Lists-to-open-programs-and-items&quot;&gt;Learn  more about Jump Lists&lt;/a&gt;.&lt;br /&gt;
&lt;strong&gt;Pin a program to the taskbar&lt;/strong&gt;&lt;br /&gt;
To  pin a program shortcut to the taskbar, do one of the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;If  the program is already running, right-click the program&#39;s button on the  taskbar (or drag the button toward the desktop) to open the program’s  Jump List, and then click &lt;strong&gt;Pin this program to taskbar&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Or  if the program isn&#39;t running, click &lt;strong&gt;Start&lt;/strong&gt;, find the  program’s icon, right-click the icon, and then click &lt;strong&gt;Pin to  Taskbar&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;You can also pin a program by dragging  the program&#39;s shortcut from the desktop or &lt;strong&gt;Start&lt;/strong&gt; menu  to the taskbar.&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;captionedobject clear&quot;&gt;&lt;img alt=&quot;Pinning a program to the taskbar&quot; border=&quot;0&quot; class=&quot;nofloat&quot; src=&quot;http://www.microsoft.com/global/athome/PublishingImages/setup/6wintricks-5.jpg&quot; title=&quot;Pinning a program to the 
taskbar&quot; /&gt;&lt;em&gt;Pinning a program to the  taskbar&lt;/em&gt;&lt;/div&gt;&lt;a href=&quot;javascript:void(0);&quot; onclick=&quot;this.blur();toggleExpando(11);&quot;&gt;&lt;h3 class=&quot;expando-off&quot; id=&quot;expandohead11&quot;&gt;Using Jump Lists in Windows 7&lt;/h3&gt;&lt;/a&gt;&lt;div class=&quot;expando-hide&quot; id=&quot;expando11&quot;&gt; Jump Lists on the taskbar give  you quick access to the things you use most often. You can drag a file,  folder, or website icon or a shortcut from the &lt;strong&gt;Start&lt;/strong&gt;  menu or the desktop to the taskbar. This pins the item to the Jump List  and also pins the associated program to the taskbar. If you drag the  shortcut to the taskbar and the associated program isn&#39;t already pinned  there, then that program is pinned to the taskbar and the item is pinned  to the program’s Jump List.&lt;br /&gt;
&lt;div class=&quot;captionedobject clear&quot;&gt;&lt;img alt=&quot;Pinning an item to a Jump List on the taskbar&quot; border=&quot;0&quot; class=&quot;nofloat&quot; src=&quot;http://www.microsoft.com/global/athome/PublishingImages/setup/6wintricks-10.jpg&quot; title=&quot;Pinning an 
item to a Jump List on the taskbar&quot; /&gt;&lt;em&gt;Pinning  an item to a Jump List on the taskbar&lt;/em&gt;&lt;/div&gt;To view the Jump  List for a program, right-click the program&#39;s button on the taskbar. To  open an item from a Jump List, open the program&#39;s Jump List, and then  click the item.&lt;/div&gt;&lt;hr class=&quot;clear&quot; /&gt;&lt;/div&gt;&lt;div&gt;&lt;h2&gt;4.&amp;nbsp;Customize  the Quick Launch Bar in Windows XP&lt;/h2&gt;In Windows XP, the  customizable Quick Launch Bar also gives you convenient shortcuts to  your favorite programs, folders, and files. The Quick Launch Bar remains  accessible from most windows, so it’s a handy way to open the  applications and files you use frequently. &lt;br /&gt;
If the Quick Launch  Bar isn’t already visible to the right of the Start button &lt;img alt=&quot;Start button&quot; border=&quot;0&quot; class=&quot;nofloat&quot; src=&quot;http://www.microsoft.com/global/athome/PublishingImages/setup/6wintricks-6sm.gif&quot; title=&quot;Start button&quot; /&gt;,  you’ll need to turn it on. To do that, right-click an open area of the  taskbar. Hover your mouse pointer over &lt;strong&gt;Toolbars&lt;/strong&gt;, then  click &lt;strong&gt;Quick Launch&lt;/strong&gt;. The Quick Launch Bar appears on  your taskbar.&lt;br /&gt;
&lt;div class=&quot;captionedobject clear&quot;&gt;&lt;img alt=&quot;The Quick Launch Bar on the Windows XP taskbar&quot; border=&quot;0&quot; class=&quot;nofloat&quot; src=&quot;http://www.microsoft.com/global/athome/PublishingImages/setup/6wintricks-7.jpg&quot; title=&quot;The Quick 
Launch Bar on the Windows XP taskbar&quot; /&gt;&lt;em&gt;The  Quick Launch Bar on the Windows XP taskbar&lt;/em&gt;&lt;/div&gt;To add a  program shortcut to the Quick Launch Bar, click the &lt;strong&gt;Start button&lt;/strong&gt;&lt;img alt=&quot;Start button&quot; border=&quot;0&quot; class=&quot;nofloat&quot; src=&quot;http://www.microsoft.com/global/athome/PublishingImages/setup/6wintricks-6sm.gif&quot; title=&quot;Start button&quot; /&gt;,  click &lt;strong&gt;All Programs&lt;/strong&gt;, then click and drag the application  you want to the Quick Launch Bar. Release the mouse button and the  application’s icon appears in the Quick Launch Bar.&lt;br /&gt;
To add a  folder or file shortcut to the Quick Launch Bar, open Windows Explorer,  navigate to the folder, subfolder, or individual file you want, click  and drag the folder or file you want to the Quick Launch Bar. Release  the mouse button and the icon for the folder or file appears in the  Quick Launch Bar.&lt;br /&gt;
To remove a shortcut from the Quick Launch Bar,  right-click on the icon in the Quick Launch Bar of the application,  folder, or file you want to remove and right-click it, click&lt;strong&gt;  Delete&lt;/strong&gt;, and then click &lt;strong&gt;Yes&lt;/strong&gt; when asked if  you’re sure you want to  delete the shortcut. &lt;strong&gt;Note:&lt;/strong&gt;  Although the shortcut is removed from the Quick Launch Bar, the actual  application, folder, or file has not been deleted from your computer.&lt;br /&gt;
&lt;hr class=&quot;clear&quot; /&gt;&lt;/div&gt;&lt;h2&gt;5.&amp;nbsp;Arrange windows on your  desktop&lt;/h2&gt;In Windows, you can arrange windows side by side, which  can be especially helpful when comparing two documents or when moving  files from one place to another. &lt;strong&gt;Note:&lt;/strong&gt; If you’re using a  nonstandard setup (such as dual monitors), the tricks below may not  work as expected.&lt;br /&gt;
&lt;h3&gt;Windows 7&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;Drag the title bar of a  window to the left or right side of the screen until an outline of the  expanded window appears.&lt;/li&gt;
&lt;li&gt;Release the mouse to expand the  window.&lt;/li&gt;
&lt;li&gt;Repeat steps 1 and 2 with another window to  arrange the windows side by side.&lt;/li&gt;
&lt;/ol&gt;To return a window to  its original size click the &lt;strong&gt;Maximize&lt;/strong&gt; button in the  window’s title bar and the window expands to full size.&lt;br /&gt;
&lt;div class=&quot;captionedobject clear&quot;&gt;&lt;img alt=&quot;The Maximize button&quot; border=&quot;0&quot; class=&quot;nofloat&quot; src=&quot;http://www.microsoft.com/global/athome/PublishingImages/setup/6wintricks-8.jpg&quot; title=&quot;The Maximize button&quot; /&gt;&lt;em&gt;The Maximize button&lt;/em&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/5140936106629403518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/07/6-useful-windows-tricks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/5140936106629403518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/5140936106629403518'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/07/6-useful-windows-tricks.html' title='6 useful Windows tricks'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-8800690882299188725</id><published>2011-05-14T03:01:00.001+05:30</published><updated>2011-05-16T17:34:11.586+05:30</updated><title type='text'>How to create a compressed folder(it&#39;s work as locker)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;h3 id=&quot;tocHeadRef&quot;&gt;How to create a compressed folder&lt;/h3&gt;&lt;script&gt;
&lt;/script&gt; If you want to create a compressed folder within another folder, go to  method 1. If you want to create a compressed folder on your desktop, go  to method 2. &lt;br /&gt;
&lt;h4 id=&quot;tocHeadRef&quot;&gt;Method 1: Use My Computer to create the  compressed folder&lt;/h4&gt;&lt;script&gt;
&lt;/script&gt;Follow these steps to use My Computer to create a  compressed folder: &lt;br /&gt;
&lt;ol&gt;&lt;li&gt;On your desktop, double-click &lt;strong class=&quot;uiterm&quot;&gt;My Computer&lt;/strong&gt;, and then open the folder in which  you want to create the compressed folder. For example, if you want to  make a compressed folder in the root folder of drive C, double-click &lt;strong class=&quot;uiterm&quot;&gt;My Computer&lt;/strong&gt;, and then double-click drive C to  open the root folder.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note&lt;/b&gt; If you do not see a &lt;strong class=&quot;uiterm&quot;&gt;My Computer&lt;/strong&gt; icon on your desktop, click &lt;strong class=&quot;uiterm&quot;&gt;Start&lt;/strong&gt;, and then click &lt;strong class=&quot;uiterm&quot;&gt;My  Computer&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;On the &lt;strong class=&quot;uiterm&quot;&gt;File&lt;/strong&gt;  menu, point to &lt;strong class=&quot;uiterm&quot;&gt;New&lt;/strong&gt;, and then click &lt;strong class=&quot;uiterm&quot;&gt;Compressed (zipped) Folder&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Type a name  for the new compressed folder, and then press ENTER. Your new  compressed folder is displayed as a folder icon with a zipper. Depending  on which folder options that you have set, a .zip file name extension  may also appear.&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;h4 id=&quot;tocHeadRef&quot;&gt;Method 2: Create the  compressed folder on the desktop or in a folder &lt;/h4&gt;&lt;script&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Right-click a blank area on the desktop or in  an open folder, point to &lt;strong class=&quot;uiterm&quot;&gt;New&lt;/strong&gt;, and then  click &lt;strong class=&quot;uiterm&quot;&gt;Compressed (zipped) Folder&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Type  a name for the new compressed folder, and then press ENTER. Your new  compressed folder is displayed as a folder icon with a zipper. Depending  on your preferences, a .zip file name extension may also appear. &lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;topOfPage&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 id=&quot;tocHeadRef&quot;&gt;How to move files  and folders to and from a compressed folder&lt;/h3&gt;&lt;script&gt;
&lt;/script&gt;You move files and folders to or from compressed  folders exactly as you move them to or from uncompressed folders. For  example, you can drag files or folders to the compressed folder. When  you move a file or a folder to a compressed folder, that file is  automatically compressed. A file that is moved from a compressed folder  is automatically uncompressed.&lt;br /&gt;
&lt;div class=&quot;topOfPage&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 id=&quot;tocHeadRef&quot;&gt;How to extract  files from a compressed folder&lt;/h3&gt;&lt;script&gt;
&lt;/script&gt;Getting files or folders out of a compressed folder  is known as extracting them. You can extract one file or folder at a  time, or you can extract multiple files or folders. To extract a single  file or folder, follow these steps:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Double-click the compressed  folder to open it.&lt;/li&gt;
&lt;li&gt;Then, drag the file or folder from the  compressed folder to a new location.&lt;/li&gt;
&lt;/ol&gt;&lt;b&gt;Note&lt;/b&gt; The original,  compressed files remain in the compressed folder.&lt;br /&gt;
&lt;br /&gt;
To extract all  the files and folders from a compressed folder, use the Extraction  Wizard. To use the Extraction Wizard, follow these steps: &lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Double-click  the compressed folder to open it. The &lt;strong class=&quot;uiterm&quot;&gt;Extract  all files&lt;/strong&gt; command appears in the &lt;strong class=&quot;uiterm&quot;&gt;Folder  Tasks&lt;/strong&gt; list.&lt;/li&gt;
&lt;li&gt;Click &lt;strong class=&quot;uiterm&quot;&gt;Extract all  files&lt;/strong&gt; to start the Extraction Wizard, and then click &lt;strong class=&quot;uiterm&quot;&gt;Next&lt;/strong&gt; to start the extraction process. &lt;/li&gt;
&lt;li&gt;When  you are prompted to select a location to put the extracted files,  select a location, and then click &lt;strong class=&quot;uiterm&quot;&gt;Next&lt;/strong&gt;.  By default, &lt;strong class=&quot;uiterm&quot;&gt;Show extracted files&lt;/strong&gt; is  selected.&lt;/li&gt;
&lt;li&gt;Click &lt;strong class=&quot;uiterm&quot;&gt;Finish&lt;/strong&gt; to view  the extracted files. &lt;/li&gt;
&lt;/ol&gt;&lt;b&gt;Note&lt;/b&gt; The original, compressed  files still remain in the compressed folder after you run the Extraction  Wizard.&lt;br /&gt;
&lt;div class=&quot;topOfPage&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 id=&quot;tocHeadRef&quot;&gt;How to protect a  compressed folder by requiring a password&lt;/h3&gt;&lt;script&gt;
&lt;/script&gt;You can restrict access to files and folders in  compressed folders by requiring a password.   &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Important&lt;/b&gt; The password for a protected, compressed file  is not recoverable. If you lose the password, you will be unable to  access that file.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note&lt;/b&gt; You cannot protect an empty  compressed folder with a password.&lt;br /&gt;
&lt;br /&gt;
To protect the contents of a  compressed folder, follow these steps: &lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Double-click the  compressed folder that you want to protect.&lt;/li&gt;
&lt;li&gt;On the &lt;strong class=&quot;uiterm&quot;&gt;File&lt;/strong&gt; menu, click &lt;strong class=&quot;uiterm&quot;&gt;Add a  Password&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;strong class=&quot;uiterm&quot;&gt;Password&lt;/strong&gt;  box, type the password that you want to use. Type the same password in  the &lt;strong class=&quot;uiterm&quot;&gt;Confirm Password&lt;/strong&gt; box, and then click  &lt;strong class=&quot;uiterm&quot;&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;&lt;b&gt;Note&lt;/b&gt; When you try  to move or open a file that is protected with a password, a &lt;strong class=&quot;uiterm&quot;&gt;Password Needed&lt;/strong&gt; dialog box is displayed. Type  the correct password in the &lt;strong class=&quot;uiterm&quot;&gt;Password&lt;/strong&gt;  box, and then click &lt;strong class=&quot;uiterm&quot;&gt;OK&lt;/strong&gt;.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/8800690882299188725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/05/how-to-create-compressed-folderits-work.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/8800690882299188725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/8800690882299188725'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/05/how-to-create-compressed-folderits-work.html' title='How to create a compressed folder(it&#39;s work as locker)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-2245934128081216861</id><published>2011-04-24T00:29:00.001+05:30</published><updated>2011-05-16T17:34:31.409+05:30</updated><title type='text'>The DatagramSocket Class</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoHeading9&quot; style=&quot;margin-left: 1.0in; text-indent: .5in;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; font-style: normal;&quot;&gt;The DatagramSocket Class&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;To send or receive a &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramPacket&lt;/span&gt;, you need to open a datagram socket. In Java, a datagram socket is created and accessed through the &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;class:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-layout-grid-align: none; text-align: justify; text-autospace: none; text-indent: .5in;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;public class DatagramSocket extends Object&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;All datagram sockets are bound to a local port, on which they listen for incoming data and which they place in the header of outgoing datagrams. If you&#39;re writing a client,&amp;nbsp; you don&#39;t care what the local port is, so you call a constructor that lets the system assign an unused port (an anonymous port). This port number is placed in any outgoing datagrams and will be used by the server to address any response datagrams. If you&#39;re writing a server, clients need to know on which port the server is listening for incoming datagrams; therefore, when a server constructs a &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket&lt;/span&gt;, it must specify the local port on which it will listen. However, the sockets used by clients and servers are otherwise identical: they differ only in whether they use an anonymous (system-assigned) or a well-known port. There&#39;s no distinction between client sockets and server sockets, as there is with TCP; there is no such thing as a &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramServerSocket&lt;/span&gt;.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; tab-stops: 107.25pt; text-align: justify; text-autospace: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;The Constructors&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;The &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;class has three constructors that are used in different situations, much like the &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramPacket &lt;/span&gt;class. The first constructor opens a datagram socket on an anonymous local port. The second constructor opens a datagram socket on a well-known local port that listens to all local network interfaces. The third constructor opens a datagram socket on a well-known local port on a specific network interface. All three constructors deal only with the local address and port. The remote address and port are stored in the &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramPacket&lt;/span&gt;, not the &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket&lt;/span&gt;. Indeed, one &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;can send and receive datagrams from multiple remote hosts and ports.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&amp;nbsp; public DatagramSocket( ) throws SocketException&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;This constructor creates a socket that is bound to an anonymous port. For example: &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;try {&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;DatagramSocket client = new DatagramSocket( );&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;// send packets...&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;catch (SocketException e) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;System.err.println(e);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;You would use this constructor in a client that initiates a conversation with a server. In this scenario, you don&#39;t care what port you are using, because the server will send its response to the port from which the datagram originated. Letting the system assign a port means that you don&#39;t have to worry about finding an unused port. If for some reason you need to know the local port, you can find out with the &lt;span style=&quot;font-size: 10pt;&quot;&gt;getLocalPort( ) &lt;/span&gt;method described later in this chapter. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;The same socket may be used to receive the datagrams that a server sends back to it. A &lt;span style=&quot;font-size: 10pt;&quot;&gt;SocketException &lt;/span&gt;is thrown if the socket can&#39;t be created. It&#39;s unusual for this constructor to throw an exception; it&#39;s hard to imagine situations in which the socket could not be opened, since the system gets to choose the local port. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;public DatagramSocket(int port) throws SocketException&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;This constructor creates a socket that listens for incoming datagrams on a specific port, specified by the &lt;span style=&quot;font-size: 10pt;&quot;&gt;port &lt;/span&gt;argument. You would use this constructor to write a server that&amp;nbsp; has to listen on a well-known port; if servers listened on anonymous ports, clients would not be able to contact them. A &lt;span style=&quot;font-size: 10pt;&quot;&gt;SocketException &lt;/span&gt;is thrown if the socket can&#39;t be created. There are two common reasons for the constructor to fail: the specified port is already occupied, or you are trying to connect to a port below 1,024 and you don&#39;t have sufficient privileges (i.e., you are not root on a Unix system; for better or worse, other platforms allow anyone to connect to low-numbered ports). TCP ports and UDP ports are not related. Two unrelated servers or clients can use the same port number if one uses UDP and the other uses TCP. Example 13.2 is a port scanner that looks for UDP ports in use on the local host. It decides that the port is in use if the &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;constructor throws an exception. As written, it looks at ports from 1,024 up to avoid Unix&#39;s requirement that it run as root to bind to ports below 1,024. You can easily extend it to check ports below 1,024, however, if you have root access or are running it on Windows or a Mac.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;The speed at which &lt;span style=&quot;font-size: 10pt;&quot;&gt;UDPPortScanner &lt;/span&gt;runs depends strongly on the speed of your&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;machine and its UDP implementation. I&#39;ve clocked Example 13.2 at as little as two&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;minutes on a moderately powered SPARCstation and as long as an hour on a&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;PowerBook 5300. Here are the results from one SPARCstation:&amp;nbsp; The high-numbered UDP ports in the 30,000 range are Remote Procedure Call (RPC) services. Aside from RPC, some common protocols that use UDP are NFS, TFTP, and FSP. It&#39;s much harder to scan UDP ports on a remote system than to scan for remote TCP ports. Whereas there&#39;s always some indication that your TCP packet has been received by a listening port regardless of application layer protocol, UDP provides no such guarantees. To determine that a UDP server is listening, you have to send it a packet it will recognize and respond to. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;public DatagramSocket(int port, InetAddress address) throws SocketException&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;This constructor is primarily used on multihomed hosts; it creates a socket that listens&amp;nbsp; for incoming datagrams on a specific port and network interface. The &lt;span style=&quot;font-size: 10pt;&quot;&gt;port &lt;/span&gt;argumentis the port on which this socket listens for datagrams. As with TCP sockets, you need to be root on a Unix system to create a &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;on a port below 1,024. The &lt;span style=&quot;font-size: 10pt;&quot;&gt;address &lt;/span&gt;argument is an &lt;span style=&quot;font-size: 10pt;&quot;&gt;InetAddress &lt;/span&gt;object matching one of the host&#39;s network addresses. A &lt;span style=&quot;font-size: 10pt;&quot;&gt;SocketException &lt;/span&gt;is thrown if the socket can&#39;t be created. There are three common reasons for this constructor to fail: the specified port is&amp;nbsp; already occupied, you are trying to connect to a port below 1,024 and you don&#39;t have sufficient privileges (i.e., you are not root on a Unix system), or &lt;span style=&quot;font-size: 10pt;&quot;&gt;address &lt;/span&gt;is not the address of one of the system&#39;s network interfaces.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;Sending and Receiving Datagrams&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;The primary task of the &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;class is to send and receive UDP datagrams. One socket can both send and receive. Indeed, it can send and receive to and from multiple hosts at the same time. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;public void send(DatagramPacket dp) throws IOException&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;Once a &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramPacket &lt;/span&gt;is created and a &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;is constructed, you send&amp;nbsp; the packet by passing it to the socket&#39;s &lt;span style=&quot;font-size: 10pt;&quot;&gt;send( ) &lt;/span&gt;method. For example, if &lt;span style=&quot;font-size: 10pt;&quot;&gt;theSocket &lt;/span&gt;is a &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;object and &lt;span style=&quot;font-size: 10pt;&quot;&gt;theOutput &lt;/span&gt;is a &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramPacket &lt;/span&gt;object, you send &lt;span style=&quot;font-size: 10pt;&quot;&gt;theOutput &lt;/span&gt;using &lt;span style=&quot;font-size: 10pt;&quot;&gt;theSocket &lt;/span&gt;like this:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;theSocket.send(theOutput);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;If there&#39;s a problem sending the data, an &lt;span style=&quot;font-size: 10pt;&quot;&gt;IOException &lt;/span&gt;may be thrown. However, this is less common with &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;than &lt;span style=&quot;font-size: 10pt;&quot;&gt;Socket &lt;/span&gt;or &lt;span style=&quot;font-size: 10pt;&quot;&gt;ServerSocket&lt;/span&gt;, since the unreliable nature of UDP means you won&#39;t get an exception just because the packet doesn&#39;t arrive at its destination. You may get an &lt;span style=&quot;font-size: 10pt;&quot;&gt;IOException &lt;/span&gt;if you&#39;re trying to send a larger datagram than your host&#39;s native networking software supports, but then again you may not. This depends heavily on the native UDP software in the OS and the native code that interfaces between this and Java&#39;s &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocketImpl &lt;/span&gt;class. This method may also throw a &lt;span style=&quot;font-size: 10pt;&quot;&gt;SecurityException &lt;/span&gt;if the &lt;span style=&quot;font-size: 10pt;&quot;&gt;SecurityManager &lt;/span&gt;won&#39;t let you&amp;nbsp; communicate with the host to which the packet is addressed. This is primarily a problem for applets.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;public void receive(DatagramPacket dp) throws IOException&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;This method receives a single UDP datagram from the network and stores it in the pre-existing &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramPacket &lt;/span&gt;object &lt;span style=&quot;font-size: 10pt;&quot;&gt;dp&lt;/span&gt;. Like the &lt;span style=&quot;font-size: 10pt;&quot;&gt;accept( ) &lt;/span&gt;method in the &lt;span style=&quot;font-size: 10pt;&quot;&gt;ServerSocket &lt;/span&gt;class, this method blocks the calling thread until a datagram arrives. If your program does anything besides wait for datagrams, you should call &lt;span style=&quot;font-size: 10pt;&quot;&gt;receive( ) &lt;/span&gt;in a separate thread. The datagram&#39;s buffer should be large enough to hold the data received. If not, &lt;span style=&quot;font-size: 10pt;&quot;&gt;receive( ) &lt;/span&gt;places as much data in the buffer as it can hold; the rest is lost. It may be useful to remember that the maximum size of the data portion of a UDP datagram is 65,507 bytes. (That&#39;s the 65,536-byte maximum size of an IP datagram minus the 20- byte size of the IP header and the 8-byte size of the UDP header.) Some application protocols that use UDP further restrict the maximum number of bytes in a packet; for instance, NFS uses a maximum packet size of 8,192 bytes. If there&#39;s a problem receiving the data, an &lt;span style=&quot;font-size: 10pt;&quot;&gt;IOException &lt;/span&gt;may be thrown. In practice, this is rare. Unlike &lt;span style=&quot;font-size: 10pt;&quot;&gt;send( )&lt;/span&gt;, this method does not throw a &lt;span style=&quot;font-size: 10pt;&quot;&gt;SecurityException &lt;/span&gt;if an applet receives a datagram from other than the applet host. However, it will silently discard all such packets. (This behavior prevents a denial-of-service attack against&amp;nbsp; applets that receive UDP datagrams.) &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;public void close( )&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;Calling a &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;object&#39;s &lt;span style=&quot;font-size: 10pt;&quot;&gt;close( ) &lt;/span&gt;method frees the port occupied by that socket. For example:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;try {&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;DatagramSocket theServer = new DatagramSocket( );&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;theServer.close( );&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;catch (SocketException e) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;System.err.println(e);&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;It&#39;s never a bad idea to close a &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;when you&#39;re through with it; it&#39;s particularly important to close an unneeded socket if your program will continue to run for a significant amount of time. For example, the &lt;span style=&quot;font-size: 10pt;&quot;&gt;close( ) &lt;/span&gt;method was essential in Example 13.2, &lt;span style=&quot;font-size: 10pt;&quot;&gt;UDPPortScanner&lt;/span&gt;: if this program did not close the sockets it opened, it would tie up every UDP port on the system for a significant amount of time. On the other hand, if the program ends as soon as you&#39;re through with the &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket&lt;/span&gt;, you don&#39;t need to close the socket explicitly; the socket is automatically closed on garbage collection. However, Java won&#39;t run the garbage collector just because you&#39;ve run out of ports or sockets, unless by lucky happenstance you run out of memory at the same time. On the gripping hand, closing unneeded sockets never hurts and is good programming practice.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;public int getLocalPort( )&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;A &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket&lt;/span&gt;&#39;s &lt;span style=&quot;font-size: 10pt;&quot;&gt;getLocalPort( ) &lt;/span&gt;method returns an &lt;span style=&quot;font-size: 10pt;&quot;&gt;int &lt;/span&gt;that represents the local port on which the socket is listening. You would use this method if you created a &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;with an anonymous port and want to find out what port you have been assigned. For example:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;try {&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;DatagramSocket ds = new DatagramSocket( );&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;System.out.println(&quot;The socket is using port &quot; +&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;ds.getLocalPort( ));&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;catch (SocketException e) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;i&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;Managing Connections&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;Unlike TCP sockets, datagram sockets aren&#39;t very picky about whom they&#39;ll talk to. In fact, by default they&#39;ll talk to anyone. But this is often not what you want. For instance, applets are only allowed to send datagrams to and receive datagrams from the applet host. An NFS or FSP client should accept packets only from the server it&#39;s talking to. A networked game should listen to datagrams only from the people playing the game. In Java 1.1, programs must manually check the source addresses and ports of the hosts sending them data to make sure they&#39;re who they should be. However, Java 1.2 adds four methods that let you choose which host you can send datagrams to and receive datagrams from, while rejecting all others&#39; packets.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&amp;nbsp;public void connect(InetAddress host, int port) // Java 1.2&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;The &lt;span style=&quot;font-size: 10pt;&quot;&gt;connect( ) &lt;/span&gt;method doesn&#39;t really establish a connection in the TCP sense. However, it does specify that the &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;will send packets to and receive packets from only the specified remote host on the specified remote port. Attempts to send packets to a different host or port will throw an &lt;span style=&quot;font-size: 10pt;&quot;&gt;IllegalArgumentException&lt;/span&gt;. Packets received from a different host or a different port will be discarded without an exception or other notification. A security check is made when the &lt;span style=&quot;font-size: 10pt;&quot;&gt;connect( ) &lt;/span&gt;method is invoked. If the VM is allowed to send data to that host and port, then the check passes silently. Otherwise, a &lt;span style=&quot;font-size: 10pt;&quot;&gt;SecurityException &lt;/span&gt;is thrown. However, once the connection has been made, &lt;span style=&quot;font-size: 10pt;&quot;&gt;send( ) &lt;/span&gt;and &lt;span style=&quot;font-size: 10pt;&quot;&gt;receive( ) &lt;/span&gt;on that &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;no longer make the security checks they&#39;d normally make.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&amp;nbsp;public void disconnect()&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;The &lt;span style=&quot;font-size: 10pt;&quot;&gt;disconnect( ) &lt;/span&gt;method breaks the &quot;connection&quot; of a connected &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;so that it can once again send packets to and receive packets from any host and port.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;public int getPort( )&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;If and only if a &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;is connected, the &lt;span style=&quot;font-size: 10pt;&quot;&gt;getPort( ) &lt;/span&gt;method returns the remote port to which it is connected. Otherwise, it returns -1.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;public InetAddress getInetAddress( )&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;If and only if a &lt;span style=&quot;font-size: 10pt;&quot;&gt;DatagramSocket &lt;/span&gt;is connected, the &lt;span style=&quot;font-size: 10pt;&quot;&gt;getInetAddress( ) &lt;/span&gt;method returns the address of the remote host to which it is connected. Otherwise, it returns null.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/2245934128081216861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/datagramsocket-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/2245934128081216861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/2245934128081216861'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/datagramsocket-class.html' title='The DatagramSocket Class'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-8478172822154489874</id><published>2011-04-23T12:06:00.001+05:30</published><updated>2011-05-16T23:06:16.558+05:30</updated><title type='text'>SERVLET</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;SERVLET &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;INTRODUCTION TO SERVELT:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp; Servlet is a server-side component, written in java that dynamically extends the functionality of a server. Similar to the manner in which applets run inside a Java-enabled Web browser on the client, servlets execute on a Java-enabled user. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Servlets similar to CGI allows two-way interaction between the client and server. Servlets offer advantages over CGI in the areas of performance, portability, and security. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Basic Servlet Structure:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; All servlets that perform some useful function have two things in common. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;First, they all extend one of two servlet classes- GenericServlet or HttpServlet. Extending these classes provides a framework for creating a servlet as well as significant default functionality.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;Second, all servlets override at least one method wherein custom functionality is implemented.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;public class SkeletonServlet extends HttpServlet&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;{&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void init()&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //initialization code goes here&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void service()&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //meaningful work happens here&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void destroy()&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //free resources here&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;}&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;init() :&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It is called a single time when the servlet is first loaded. It is similar to class constructor in that it provides a method wherein initialization code is guaranteed to be run.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;destroy() :&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It is executed when the servlet is unloaded. It is used to free any resources held by the servlet.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;service() :&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The server calls this method wherever a servlet request is received. For Http servlets, this method should usually not be overridden.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;The three important packages that are to be imported by the Java servlet program are:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;javax.servlet&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;javax.servlet.http&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;java.io&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;The service() method makes use of two important methods:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;doget()&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;dopost()&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;These methods have two arguments to request and to respond. The servlet program throws two exceptions namely, ServletException and IOException. It is important to set the content type which may be text/html or text/css. It corresponds to the program to which we implement. The inputs can be requested by using the getParameter() method.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;The client side program is a HTML program which is used to execute the program. The URL (where the server program is located) is to be mentioned in the FORM tag. By connecting the client program to the server program and by running the client program the required output is obtained. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1in; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/8478172822154489874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/servlet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/8478172822154489874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/8478172822154489874'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/servlet.html' title='SERVLET'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-2125577500943975019</id><published>2011-04-17T01:13:00.001+05:30</published><updated>2011-05-16T23:08:41.079+05:30</updated><title type='text'>c program  for STUDENT MARKLIST.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;c program&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #960000;&quot;&gt;&amp;nbsp;&lt;/span&gt; for STUDENT  MARKLIST.  &lt;br /&gt;
&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
int k=0;&lt;br /&gt;
struct stud&lt;br /&gt;
{&lt;br /&gt;
int rn;&lt;br /&gt;
char name[30];&lt;br /&gt;
int m1,m2,m3,total;&lt;br /&gt;
float avg;&lt;br /&gt;
char grade,result;&lt;br /&gt;
}s[30];&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
int no,roll=101,i;&lt;br /&gt;
clrscr();&lt;br /&gt;
printf(&quot;Enter NO of Students:&quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;no);&lt;br /&gt;
for(i=0;i&amp;lt;no;i++)&lt;br /&gt;
{&lt;br /&gt;
clrscr();&lt;br /&gt;
s[k].rn=roll;&lt;br /&gt;
printf(&quot;\nEnter the Student Roll Number: %d &quot;,s[k].rn);&lt;br /&gt;
printf(&quot;\nEnter the Student Name:&quot;);&lt;br /&gt;
fflush(stdin);&lt;br /&gt;
gets(s[k].name);&lt;br /&gt;
printf(&quot;\nEnter the Three Marks&quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;s[k].m1);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;s[k].m2);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;s[k].m3);&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
if(s[k].m1&amp;gt;=35 &amp;amp;&amp;amp; s[k].m2&amp;gt;=35 &amp;amp;&amp;amp;  s[k].m3&amp;gt;=35)&lt;br /&gt;
{&lt;br /&gt;
s[k].result=&#39;P&#39;;&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
s[k].result = &#39;F&#39;;&lt;br /&gt;
}&lt;br /&gt;
s[k].total = s[k].m1+s[k].m2+s[k].m3;&lt;br /&gt;
printf(&quot;The Total is : %d&quot;,s[k].total);&lt;br /&gt;
s[k].avg=s[k].total/3;&lt;br /&gt;
if(s[k].avg&amp;gt;=60)&lt;br /&gt;
{&lt;br /&gt;
if(s[k].result == &#39;P&#39;)&lt;br /&gt;
{&lt;br /&gt;
s[k].grade = &#39;A&#39;;&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
s[k].grade = &#39;N&#39;;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
else if(s[k].avg&amp;gt;=50)&lt;br /&gt;
{&lt;br /&gt;
if(s[k].result == &#39;P&#39;)&lt;br /&gt;
{&lt;br /&gt;
s[k].grade = &#39;B&#39;;&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
s[k].grade = &#39;N&#39;;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
else if(s[k].avg&amp;gt;=35)&lt;br /&gt;
{&lt;br /&gt;
if(s[k].result == &#39;P&#39;)&lt;br /&gt;
{&lt;br /&gt;
s[k].grade = &#39;C&#39;;&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
s[k].grade = &#39;N&#39;;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
getch();&lt;br /&gt;
k++;&lt;br /&gt;
roll++;&lt;br /&gt;
}&lt;br /&gt;
printf(&quot;\n*******************************************************&quot;);&lt;br /&gt;
printf(&quot;\n                STUDENT MARKLIST                       &quot;);&lt;br /&gt;
printf(&quot;\n*******************************************************&quot;);&lt;br /&gt;
printf(&quot;\nROLL \tNAME           MARK1  MARK2  MARK3  TOTAL  RESULT   Average   GRADE&quot;);&lt;br /&gt;
for(i=0;i&amp;lt;no;i++)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\n%d\t%s          %d    %d     %d    %d      %c     %0.1f         %c&quot;,s[i].rn,s[i].name,s[i].m1,s[i].m2,s[i].m3,s[i].total,s[i].result,s[i].avg,s[i].grade);    &lt;br /&gt;
}&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/2125577500943975019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-student-marklist.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/2125577500943975019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/2125577500943975019'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-student-marklist.html' title='c program  for STUDENT MARKLIST.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-3503199049870781821</id><published>2011-04-17T00:58:00.002+05:30</published><updated>2011-05-16T23:09:58.760+05:30</updated><title type='text'>C Program for Library Operation.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial,sans-serif;&quot;&gt;C Program for Library Operation.&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial,sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
int i=0;&lt;br /&gt;
void add();&lt;br /&gt;
void search();&lt;br /&gt;
void sort();&lt;br /&gt;
void sorta();&lt;br /&gt;
struct book&lt;br /&gt;
{&lt;br /&gt;
char bookname[50];&lt;br /&gt;
char author[50];&lt;br /&gt;
double price;&lt;br /&gt;
int nocopy;&lt;br /&gt;
}book[50];&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
int ch;&lt;br /&gt;
while(1)&lt;br /&gt;
{&lt;br /&gt;
clrscr();&lt;br /&gt;
printf(&quot;********************&quot;);&lt;br /&gt;
printf(&quot;\nLIBRARY MANAGEMENT&quot;);&lt;br /&gt;
printf(&quot;\n******************&quot;);&lt;br /&gt;
printf(&quot;\n1-ADD TO LIBRARY&quot;);&lt;br /&gt;
printf(&quot;\n2-SEARCH A BOOK&quot;);&lt;br /&gt;
printf(&quot;\n3-SORT BY BOOK NAME&quot;);&lt;br /&gt;
printf(&quot;\n4-SORT BY AUTHOR NAME&quot;);&lt;br /&gt;
printf(&quot;\n5-EXIT&quot;);&lt;br /&gt;
printf(&quot;\nEnter your choice:&quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;ch);&lt;br /&gt;
switch(ch)&lt;br /&gt;
{&lt;br /&gt;
case 1: add();&lt;br /&gt;
break;&lt;br /&gt;
case 2: search();&lt;br /&gt;
break;&lt;br /&gt;
case 3: sort();&lt;br /&gt;
break;&lt;br /&gt;
case 4: sorta();&lt;br /&gt;
break;&lt;br /&gt;
case 5: exit(0);&lt;br /&gt;
default: puts(&quot;Please enter 1-5 only&quot;);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
void add()&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\n\nADD TO LIBRARY&quot;);&lt;br /&gt;
printf(&quot;\nEnter the Bookname: &quot;);&lt;br /&gt;
fflush(stdin);&lt;br /&gt;
gets(book[i].bookname);&lt;br /&gt;
printf(&quot;\nEnter the Author name: &quot;);&lt;br /&gt;
fflush(stdin);&lt;br /&gt;
gets(book[i].author);&lt;br /&gt;
printf(&quot;\nEnter the Price of the Book: &quot;);&lt;br /&gt;
scanf(&quot;%ld&quot;,&amp;amp;book[i].price);&lt;br /&gt;
printf(&quot;\nEnter no of copies : &quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;book[i].nocopy);&lt;br /&gt;
printf(&quot;STORED&quot;);&lt;br /&gt;
printf(&quot;\nBOOK NAME: %s&quot;,book[i].bookname);&lt;br /&gt;
printf(&quot;\nAUTHOR : %s&quot;,book[i].author);&lt;br /&gt;
printf(&quot;\nPRICE : %d&quot;,book[i].price);&lt;br /&gt;
printf(&quot;\nNO OF COPIES: %d&quot;,book[i].nocopy);&lt;br /&gt;
i++;&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
void search()&lt;br /&gt;
{&lt;br /&gt;
int f=0,y,j,x;&lt;br /&gt;
char bookn[50],authorname[50];&lt;br /&gt;
printf(&quot;\n Enter the Book Name: &quot;);&lt;br /&gt;
fflush(stdin);&lt;br /&gt;
gets(bookn);&lt;br /&gt;
printf(&quot;\n Enter the Author Name: &quot;);&lt;br /&gt;
fflush(stdin);&lt;br /&gt;
gets(authorname);&lt;br /&gt;
printf(&quot;\nThe Given Search&quot;);&lt;br /&gt;
printf(&quot;\nThe Book Name is: %s&quot;,bookn);&lt;br /&gt;
printf(&quot;\nThe Author Name is : %s&quot;,authorname);&lt;br /&gt;
for(j=0;j&amp;lt;i;j++)&lt;br /&gt;
{&lt;br /&gt;
x= strcmp(book[j].bookname,bookn);&lt;br /&gt;
y=strcmp(book[j].author,authorname);&lt;br /&gt;
if(x==0&amp;amp;&amp;amp;y==0)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\nBOOK IS FOUND&quot;);&lt;br /&gt;
getch();&lt;br /&gt;
f=1;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
if(f==0)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\nBOOK NOT FOUND&quot;);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
void sort()&lt;br /&gt;
{&lt;br /&gt;
int j,k,x;&lt;br /&gt;
char t[50];&lt;br /&gt;
for(j=0;j&amp;lt;i;j++)&lt;br /&gt;
{&lt;br /&gt;
for(k=0;k&amp;lt;j;k++)&lt;br /&gt;
{&lt;br /&gt;
x = (strcmp(book[k].bookname,book[k+1].bookname));&lt;br /&gt;
if(x&amp;gt;0)&lt;br /&gt;
{&lt;br /&gt;
strcpy(t,book[k].bookname);&lt;br /&gt;
strcpy(book[k].bookname ,book[k+1].bookname);&lt;br /&gt;
strcpy(book[k+1].bookname, t);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
printf(&quot;\nSORTED BY BOOK NAME&quot;);&lt;br /&gt;
for(j=0;j&amp;lt;i;j++)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\nThe BookName is:%s - %s&quot;,book[j].bookname,book[j].author);&lt;br /&gt;
}&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
void sorta()&lt;br /&gt;
{&lt;br /&gt;
int j,k,x;&lt;br /&gt;
char t[50];&lt;br /&gt;
for(j=0;j&amp;lt;i;j++)&lt;br /&gt;
{&lt;br /&gt;
for(k=0;k&amp;lt;j;k++)&lt;br /&gt;
{&lt;br /&gt;
x = (strcmp(book[k].author,book[k+1].author));&lt;br /&gt;
if(x&amp;gt;0)&lt;br /&gt;
{&lt;br /&gt;
strcpy(t,book[k].author);&lt;br /&gt;
strcpy(book[k].author ,book[k+1].author);&lt;br /&gt;
strcpy(book[k+1].author, t);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
printf(&quot;\nSORTED BY AUTHOR NAME&quot;);&lt;br /&gt;
for(j=0;j&amp;lt;i;j++)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\nThe AUTHOR NAME is:%s - %s&quot;,book[j].author,book[j].bookname);&lt;br /&gt;
}&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 6pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/3503199049870781821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-library-operation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/3503199049870781821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/3503199049870781821'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-library-operation.html' title='C Program for Library Operation.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-8952521284040396054</id><published>2011-04-17T00:57:00.003+05:30</published><updated>2011-04-17T00:57:51.460+05:30</updated><title type='text'>C PROGRAM FOR PASCAL TRIANGLE.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;C PROGRAM FOR PASCAL TRIANGLE.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;int i=1,j,num,x=1;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;clrscr();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;Please Enter the Number :&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;num);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;\n\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;OUTPUT:\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;------&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;\n\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;The Pascal triangle is\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;**********************\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;for(i=1;i&amp;lt;=num;i++)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;for(j=1;j&amp;lt;=i;j++)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;if(j==1)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;x=1;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;%d&quot;,x);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;x=(x*(i-j+1)/(j-1));&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;%d&quot;,x);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;getch();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;}&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 6pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/8952521284040396054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-pascal-triangle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/8952521284040396054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/8952521284040396054'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-pascal-triangle.html' title='C PROGRAM FOR PASCAL TRIANGLE.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-4076728237736670000</id><published>2011-04-17T00:57:00.001+05:30</published><updated>2011-04-17T00:57:19.934+05:30</updated><title type='text'>C Program For REPLACE OF STRING.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;C Program For REPLACE OF STRING.&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
char a[100],b[100],c[100],d[100];&lt;br /&gt;
int i,j,k,l1,l2,l3,m,count=-1;&lt;br /&gt;
clrscr();&lt;br /&gt;
printf(&quot;\t\t\t REPLACE OF STRING &quot;);&lt;br /&gt;
printf(&quot;\n\t\t\t ********************&quot;);&lt;br /&gt;
printf(&quot;\n\n\tINPUT&quot;);&lt;br /&gt;
printf(&quot;\n\t*******&quot;);&lt;br /&gt;
printf(&quot;\n\nEnter the first String:&quot;);&lt;br /&gt;
scanf(&quot;%[a-z ]s&quot;,a);&lt;br /&gt;
printf(&quot;\nEnter the substring:&quot;);&lt;br /&gt;
scanf(&quot;%s&quot;,b);&lt;br /&gt;
printf(&quot;\nEnter the replace string:&quot;);&lt;br /&gt;
scanf(&quot;%s&quot;,c);&lt;br /&gt;
printf(&quot;\n\n\tOUTPUT&quot;);&lt;br /&gt;
printf(&quot;\n\t*******&quot;);&lt;br /&gt;
for(i=0;a[i]!=&#39;\0&#39;;i++)&lt;br /&gt;
l1=i;&lt;br /&gt;
for(i=0;b[i]!=&#39;\0&#39;;i++)&lt;br /&gt;
l2=i;&lt;br /&gt;
for(i=0;c[i]!=&#39;\0&#39;;i++)&lt;br /&gt;
l3=i;&lt;br /&gt;
for(i=0;a[i]!=&#39;\0&#39;;i++)&lt;br /&gt;
d[i]=a[i];&lt;br /&gt;
d[i]=&#39;\0&#39;;&lt;br /&gt;
if(l1&amp;gt;=l2)&lt;br /&gt;
{&lt;br /&gt;
do&lt;br /&gt;
{&lt;br /&gt;
for(i=0,j=0;a[i]!=&#39;\0&#39; &amp;amp;&amp;amp; b[j]!=&#39;\0&#39;;i++ )&lt;br /&gt;
{&lt;br /&gt;
if(a[i]==b[j])&lt;br /&gt;
{&lt;br /&gt;
count++;&lt;br /&gt;
j++;&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
count=-1;&lt;br /&gt;
if(j&amp;gt;0)&lt;br /&gt;
i--;&lt;br /&gt;
j=0;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
m=i;&lt;br /&gt;
if(count==l2)&lt;br /&gt;
{&lt;br /&gt;
i=i-j;&lt;br /&gt;
for(k=0;c[k]!=&#39;\0&#39;;i++,k++)&lt;br /&gt;
a[i]=c[k];&lt;br /&gt;
if(l2!=l3)&lt;br /&gt;
{&lt;br /&gt;
for( ;d[m]!=&#39;\0&#39;;m++,i++)&lt;br /&gt;
{&lt;br /&gt;
a[i]=d[m];&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
//a[i]=&#39;\0&#39;;&lt;br /&gt;
//printf(&quot;\nReplaced string:%s&quot;,a);&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
break;&lt;br /&gt;
//printf(&quot;\nThe substring is not there&quot;);&lt;br /&gt;
}while(a[i]!=&#39;\0&#39;);&lt;br /&gt;
printf(&quot;\nReplaced string:%s&quot;,a);&lt;br /&gt;
}&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 6pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/4076728237736670000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-replace-of-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/4076728237736670000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/4076728237736670000'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-replace-of-string.html' title='C Program For REPLACE OF STRING.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-9198901787392794454</id><published>2011-04-17T00:56:00.001+05:30</published><updated>2011-04-17T00:56:35.916+05:30</updated><title type='text'>C Program for String Length.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;C Program for String Length.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;int i,c=0;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;char a[50];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;clrscr();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;OUTPUT\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;------&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;\n\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;Please Enter a String:\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;*********************&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;scanf(&quot;%s&quot;,a);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;for(i=0;a[i]!=&#39;\0&#39;;i++)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c=c+1;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;\n\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;Length Of The Given String is=%d\n&quot;,c);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;*****************************&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;getch();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;}&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 6pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/9198901787392794454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-string-length.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/9198901787392794454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/9198901787392794454'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-string-length.html' title='C Program for String Length.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-6997032241071185930</id><published>2011-04-17T00:55:00.002+05:30</published><updated>2011-04-17T00:55:38.592+05:30</updated><title type='text'>C Program for factorial using recursion.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;C Program for factorial using recursion.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
int fact(int);&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
int a,b=0,c;&lt;br /&gt;
clrscr();&lt;br /&gt;
printf(&quot;Enter the N value:&quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;a);&lt;br /&gt;
while(a&amp;lt;0)&lt;br /&gt;
{printf(&quot;\n\Enter only positive number.\n&quot;);&lt;br /&gt;
printf(&quot;Enter N value:&quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;a);&lt;br /&gt;
}&lt;br /&gt;
b=fact(a);&lt;br /&gt;
printf(&quot;%d&quot;,b);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
int fact(int x)&lt;br /&gt;
{&lt;br /&gt;
if(x==0)&lt;br /&gt;
{&lt;br /&gt;
return(1);&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
return((x)*(fact(x-1)));&lt;br /&gt;
}&lt;br /&gt;
}&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 6pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/6997032241071185930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-factorial-using-recursion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/6997032241071185930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/6997032241071185930'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-factorial-using-recursion.html' title='C Program for factorial using recursion.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-2586282956307375925</id><published>2011-04-17T00:55:00.000+05:30</published><updated>2011-04-17T00:55:05.690+05:30</updated><title type='text'>C Program for Exponential value.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;C Program for Exponential value.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;double term=1,expo=1;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;float x;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;int i;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;clrscr();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;Enter the exp value of x: &quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;scanf(&quot;%f&quot;,&amp;amp;x);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;for(i=1;term&amp;gt;=0.00001;i++)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;term *= x/i;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;expo+=term;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;\Our Exp = %f %f\n&quot;,x,expo);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;getch();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;}&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 6pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/2586282956307375925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-exponential-value.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/2586282956307375925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/2586282956307375925'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-exponential-value.html' title='C Program for Exponential value.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-4755185924529975758</id><published>2011-04-17T00:54:00.000+05:30</published><updated>2011-04-17T00:54:06.224+05:30</updated><title type='text'>C Program For String Reverse.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;C Program For String Reverse.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;char n[50],j,i=0;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;clrscr();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;OUTPUT\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;------&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;Enter String:\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;The Reverse Of The Given String is\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;**********************************&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;while((n[i]=getchar())!=&#39;\n&#39;)i++;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;for(j=i-1;j&amp;gt;=0;j--)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;%c&quot;,n[j]);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;getch();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;}&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 6pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/4755185924529975758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-string-reverse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/4755185924529975758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/4755185924529975758'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-string-reverse.html' title='C Program For String Reverse.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-8264346106207174000</id><published>2011-04-17T00:38:00.001+05:30</published><updated>2011-04-17T00:38:23.099+05:30</updated><title type='text'>C Program for salesman problem.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;C Program for salesman problem.&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
int ss[50][50]={0};&lt;br /&gt;
int x,y,sale,i,a,b,t=0;&lt;br /&gt;
clrscr();&lt;br /&gt;
printf(&quot;\nEnter the How many sales man:&quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;sale);&lt;br /&gt;
printf(&quot;\nEnter the How many Items:&quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;i);&lt;br /&gt;
for(a=0;a&amp;lt;sale;a++)&lt;br /&gt;
{&lt;br /&gt;
for(b=0;b&amp;lt;i;b++)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;Sales man [%d] item [%d]:&quot;,a+1,b+1);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;ss[a][b]);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
clrscr();&lt;br /&gt;
printf(&quot;\n**********************************************************&quot;);&lt;br /&gt;
printf(&quot;\n*********************SALES REPORT*************************&quot;);&lt;br /&gt;
printf(&quot;\n**********************************************************\n&quot;);&lt;br /&gt;
printf(&quot;\n\t\t&quot;);&lt;br /&gt;
for(b=0;b&amp;lt;i;b++)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;item[%d] &quot;,b+1);&lt;br /&gt;
}&lt;br /&gt;
printf(&quot; Total&quot;);&lt;br /&gt;
for(a=0;a&amp;lt;sale;a++)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\nSales man [%d]&quot;,a+1);&lt;br /&gt;
for(b=0;b&amp;lt;i;b++)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot; %d\t&quot;,ss[a][b]);&lt;br /&gt;
t+=ss[a][b];&lt;br /&gt;
}&lt;br /&gt;
printf(&quot; %d&quot;,t);&lt;br /&gt;
t=0;&lt;br /&gt;
}&lt;br /&gt;
printf(&quot;\n********************************************************\n&quot;);&lt;br /&gt;
printf(&quot;TOTAL :&quot;);&lt;br /&gt;
printf(&quot;\t\t&quot;);&lt;br /&gt;
x=0,y=0;&lt;br /&gt;
for(a=0;a&amp;lt;i;a++)&lt;br /&gt;
{&lt;br /&gt;
for(b=0;b&amp;lt;sale;b++)&lt;br /&gt;
{&lt;br /&gt;
x=x+ss[b][a];&lt;br /&gt;
}&lt;br /&gt;
y=y+x;&lt;br /&gt;
printf(&quot; %d\t&quot;,x);&lt;br /&gt;
x=0;&lt;br /&gt;
}&lt;br /&gt;
printf(&quot; %d\t&quot;,y);&lt;br /&gt;
printf(&quot;\n********************************************************&quot;);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-special-character: line-break; page-break-before: always;&quot; /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/8264346106207174000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-salesman-problem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/8264346106207174000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/8264346106207174000'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-salesman-problem.html' title='C Program for salesman problem.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-6675456963023584543</id><published>2011-04-17T00:27:00.001+05:30</published><updated>2011-05-16T23:12:13.577+05:30</updated><title type='text'>C Program for BANK OPERATION</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &#39;Times New Roman&#39;,serif;&quot;&gt;C Program for BANK OPERATION.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial,sans-serif;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
void creation();&lt;br /&gt;
void deposit();&lt;br /&gt;
void withdraw();&lt;br /&gt;
void bal();&lt;br /&gt;
int a=0,i = 101;&lt;br /&gt;
struct bank&lt;br /&gt;
{&lt;br /&gt;
int no;&lt;br /&gt;
char name[20];&lt;br /&gt;
float bal;&lt;br /&gt;
float dep;&lt;br /&gt;
}s[20];&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
int ch;&lt;br /&gt;
while(1)&lt;br /&gt;
{&lt;br /&gt;
clrscr();&lt;br /&gt;
printf(&quot;\n*********************&quot;);&lt;br /&gt;
printf(&quot;\n BANKING &quot;);&lt;br /&gt;
printf(&quot;\n*********************&quot;);&lt;br /&gt;
printf(&quot;\n1-Creation&quot;);&lt;br /&gt;
printf(&quot;\n2-Deposit&quot;);&lt;br /&gt;
printf(&quot;\n3-Withdraw&quot;);&lt;br /&gt;
printf(&quot;\n4-Balance Enquiry&quot;);&lt;br /&gt;
printf(&quot;\n5-Exit&quot;);&lt;br /&gt;
printf(&quot;\nEnter your choice&quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;ch);&lt;br /&gt;
switch(ch)&lt;br /&gt;
{&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
case 1: creation();&lt;br /&gt;
break;&lt;br /&gt;
case 2: deposit();&lt;br /&gt;
break;&lt;br /&gt;
case 3: withdraw();&lt;br /&gt;
break;&lt;br /&gt;
case 4: bal();&lt;br /&gt;
break;&lt;br /&gt;
case 5: exit(0);&lt;br /&gt;
defalut: printf(&quot;Enter 1-5 only&quot;);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
void creation()&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\n*************************************&quot;);&lt;br /&gt;
printf(&quot;\n ACCOUNT CREATION &quot;);&lt;br /&gt;
printf(&quot;\n*************************************&quot;);&lt;br /&gt;
printf(&quot;\nYour Account Number is :%d&quot;,i);&lt;br /&gt;
s[a].no = i;&lt;br /&gt;
printf(&quot;\nEnter your Name:&quot;);&lt;br /&gt;
scanf(&quot;%s&quot;,s[a].name);&lt;br /&gt;
printf(&quot;\nYour Deposit is Minimum Rs.500&quot;);&lt;br /&gt;
s[a].dep=500;&lt;br /&gt;
a++;&lt;br /&gt;
i++;&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
void deposit()&lt;br /&gt;
{&lt;br /&gt;
int no,b=0,m=0;&lt;br /&gt;
float aa;&lt;br /&gt;
printf(&quot;\n*************************************&quot;);&lt;br /&gt;
printf(&quot;\n DEPOSIT &quot;);&lt;br /&gt;
printf(&quot;\n*************************************&quot;);&lt;br /&gt;
printf(&quot;\nEnter your Account Number&quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;no);&lt;br /&gt;
for(b=0;b&amp;lt;i;b++)&lt;br /&gt;
{&lt;br /&gt;
if(s[b].no == no)&lt;br /&gt;
m = b;&lt;br /&gt;
}&lt;br /&gt;
if(s[m].no == no)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\n Account Number : %d&quot;,s[m].no);&lt;br /&gt;
printf(&quot;\n Name : %s&quot;,s[m].name);&lt;br /&gt;
printf(&quot;\n Deposit : %f&quot;,s[m].dep);&lt;br /&gt;
printf(&quot;\n How Much Deposited Now:&quot;);&lt;br /&gt;
scanf(&quot;%f&quot;,&amp;amp;aa);&lt;br /&gt;
s[m].dep+=aa;&lt;br /&gt;
printf(&quot;\nDeposit Amount is :%f&quot;,s[m].dep);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\nACCOUNT NUMBER IS INVALID&quot;);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
void withdraw()&lt;br /&gt;
{&lt;br /&gt;
int no,b=0,m=0;&lt;br /&gt;
float aa;&lt;br /&gt;
printf(&quot;\n*************************************&quot;);&lt;br /&gt;
printf(&quot;\n WITHDRAW &quot;);&lt;br /&gt;
printf(&quot;\n*************************************&quot;);&lt;br /&gt;
printf(&quot;\nEnter your Account Number&quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;no);&lt;br /&gt;
for(b=0;b&amp;lt;i;b++)&lt;br /&gt;
{&lt;br /&gt;
if(s[b].no == no)&lt;br /&gt;
m = b;&lt;br /&gt;
}&lt;br /&gt;
if(s[m].no == no)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\n Account Number : %d&quot;,s[m].no);&lt;br /&gt;
printf(&quot;\n Name : %s&quot;,s[m].name);&lt;br /&gt;
printf(&quot;\n Deposit : %f&quot;,s[m].dep);&lt;br /&gt;
printf(&quot;\n How Much Withdraw Now:&quot;);&lt;br /&gt;
scanf(&quot;%f&quot;,&amp;amp;aa);&lt;br /&gt;
if(s[m].dep&amp;lt;aa+500)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\nCANNOT WITHDRAW YOUR ACCOUNT HAS MINIMUM BALANCE&quot;);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
s[m].dep-=aa;&lt;br /&gt;
printf(&quot;\nThe Balance Amount is:%f&quot;,s[m].dep);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;INVALID&quot;);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial,sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial,sans-serif;&quot;&gt;&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
void bal()&lt;br /&gt;
{ int no,b=0,m=0;&lt;br /&gt;
float aa;&lt;br /&gt;
printf(&quot;\n*************************************&quot;);&lt;br /&gt;
printf(&quot;\n BALANCE ENQUIRY &quot;);&lt;br /&gt;
printf(&quot;\n*************************************&quot;);&lt;br /&gt;
printf(&quot;\nEnter your Account Number&quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;no);&lt;br /&gt;
for(b=0;b&amp;lt;i;b++)&lt;br /&gt;
{&lt;br /&gt;
if(s[b].no == no)&lt;br /&gt;
m = b;&lt;br /&gt;
}&lt;br /&gt;
if(s[m].no==no)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\n Account Number : %d&quot;,s[m].no);&lt;br /&gt;
printf(&quot;\n Name : %s&quot;,s[m].name);&lt;br /&gt;
printf(&quot;\n Deposit : %f&quot;,s[m].dep);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;INVALID&quot;);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
}&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 6pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/6675456963023584543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-bank-operation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/6675456963023584543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/6675456963023584543'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-bank-operation.html' title='C Program for BANK OPERATION'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-180650688949957739</id><published>2011-04-17T00:25:00.000+05:30</published><updated>2011-04-17T00:25:28.741+05:30</updated><title type='text'>C Program for finding COS THETA Value</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-weight: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;C Program for finding COS THETA Value&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; line-height: 115%;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;#include&amp;lt;math.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;#define ACC 0.0001&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;#define PI 3.14&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;int x,i;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;float x1,x2,cosz=0,term;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;clrscr();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;Enter the X value:&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;x);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;x1=(x*PI)/180;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;// printf(&quot;%f&quot;,cos(x1));&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;x2=x1*x1;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;term=1;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;cosz=term;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;for(i=2;fabs(term)&amp;gt;ACC;i=i+2)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;term = (x2*(-term))/(i*(i-1));&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;cosz = cosz+term;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;printf(&quot;\nNew Value%f&quot;,cosz);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;getch();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/180650688949957739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-finding-cos-theta-value.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/180650688949957739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/180650688949957739'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-finding-cos-theta-value.html' title='C Program for finding COS THETA Value'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8527552249947761645.post-7916462285850230395</id><published>2011-04-16T23:55:00.000+05:30</published><updated>2011-04-17T01:18:55.421+05:30</updated><title type='text'>C Program for Prime Number Generation.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 19.5pt; text-indent: -0.25in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 6pt; font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 14pt;&quot;&gt;C Program for Prime Number Generation.&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 6pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
int n,j,a=0,i;&lt;br /&gt;
clrscr();&lt;br /&gt;
printf(&quot; Please Enter a number :&quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt;
printf(&quot;\n\n&quot;);&lt;br /&gt;
printf(&quot;OUTPUT:\n&quot;);&lt;br /&gt;
printf(&quot;------&quot;);&lt;br /&gt;
printf(&quot;\n\n&quot;);&lt;br /&gt;
printf(&quot;The Prime Number series is\n&quot;);&lt;br /&gt;
printf(&quot;**************************&quot;);&lt;br /&gt;
for(j=1;j&amp;lt;=n;j++)&lt;br /&gt;
{&lt;br /&gt;
for(i=2;i&amp;lt;j;i++)&lt;br /&gt;
{&lt;br /&gt;
if(j%i==0)&lt;br /&gt;
{&lt;br /&gt;
a=1;&lt;br /&gt;
goto x;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
if((a==0)&amp;amp;&amp;amp;(j!=1))&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\n%d&quot;,j);&lt;br /&gt;
}&lt;br /&gt;
x:&lt;br /&gt;
a=0;&lt;br /&gt;
}&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravishankar-kumar.blogspot.com/feeds/7916462285850230395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-prime-number-generation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/7916462285850230395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8527552249947761645/posts/default/7916462285850230395'/><link rel='alternate' type='text/html' href='http://ravishankar-kumar.blogspot.com/2011/04/c-program-for-prime-number-generation.html' title='C Program for Prime Number Generation.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>