<?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-131891764837635913</id><updated>2024-11-08T21:08:13.146+05:30</updated><category term="Java"/><category term="Python"/><category term="Java Basics"/><category term="Python Basic"/><category term="Java Collections"/><category term="Python Installation"/><title type='text'>The Coding Buddy</title><subtitle type='html'>We believe Knowledge is nothing without Implementation. So we bring a new way to learn coding languages. Learn Java and Python Through Projects.&#xa;This tutorials will help you to apply concepts of Java and Python programming to build several simple projects. Go through the simple approach and build some amazing simple projects along with learning. </subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>The Coding Buddy</name><uri>http://www.blogger.com/profile/09301018950844417130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-2758721352091942044</id><published>2023-01-23T20:17:00.021+05:30</published><updated>2023-01-24T12:49:55.200+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>URL Shortener Using Python</title><content type='html'>&lt;p style=&quot;text-align: left;&quot;&gt;&amp;nbsp;Hey Coder are you eager to learn to code&lt;span style=&quot;color: #cc0000;&quot;&gt; &lt;u&gt;&quot;URL Shortener&quot;&lt;/u&gt;&lt;/span&gt; using python...&lt;/p&gt;&lt;p style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://miro.medium.com/max/830/1*Pdw7h5X6vQQNVopIzHBG6A.jpeg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;511&quot; data-original-width=&quot;800&quot; height=&quot;374&quot; src=&quot;https://miro.medium.com/max/830/1*Pdw7h5X6vQQNVopIzHBG6A.jpeg&quot; width=&quot;587&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #a64d79; font-size: large;&quot;&gt;&lt;b&gt;✅Problem Statement:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: left;&quot;&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; Mr. John is working on presentation &amp;amp; he need to include a very long link in his presentation.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: left;&quot;&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; We need to shorten the link to make the presentation super cool &amp;amp; impressive.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: left;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: left;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;Let&#39;s create a URL shortener!!!&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: left;&quot;&gt;&lt;span style=&quot;color: #a64d79; font-size: large;&quot;&gt;&lt;b&gt;✅Concepts Coverd in this Post :&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: left;&quot;&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span&gt;pyshorteners library&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;using Shortener()&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;using tinyurl.short()&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span&gt;using input()&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span&gt;using print()&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #a64d79; font-size: large;&quot;&gt;&lt;b&gt;📑Let&#39;s Code :&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #a64d79;&quot;&gt;&lt;b&gt;Step 1:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11pt; white-space: pre-wrap;&quot;&gt;Open &lt;u&gt;&lt;b&gt;&lt;span style=&quot;color: #f1c232;&quot;&gt;VS code&lt;/span&gt;&lt;/b&gt;&lt;/u&gt; and create a python file name as &lt;u&gt;URLshortener.py&lt;/u&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 11pt; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE9Xlp7BnKvFGCxDNzs9K2-CCIV9EtAoT0lU-ksoumgyl3-g-HmdpvgKLqnTPViITKPAzAe9Dd4miiRr_aVV3GBxveH1bVdGW1eb_RWrmpeZLdTms7Y48QAADBgNkQ9zQecO6xTp2zAyIo850wfdSofzBYy36tLUsr63RCV5cJ-yW1seCF0Oc5Y1gr/s942/URL-1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;772&quot; data-original-width=&quot;942&quot; height=&quot;352&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE9Xlp7BnKvFGCxDNzs9K2-CCIV9EtAoT0lU-ksoumgyl3-g-HmdpvgKLqnTPViITKPAzAe9Dd4miiRr_aVV3GBxveH1bVdGW1eb_RWrmpeZLdTms7Y48QAADBgNkQ9zQecO6xTp2zAyIo850wfdSofzBYy36tLUsr63RCV5cJ-yW1seCF0Oc5Y1gr/w430-h352/URL-1.png&quot; width=&quot;430&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #a64d79;&quot;&gt;Step 2:&lt;/span&gt;&lt;/b&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: 11pt; white-space: pre-wrap;&quot;&gt;Now we will download the &lt;u&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;pyshorteners&lt;/span&gt;&lt;/u&gt; library using the terminal.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZPNhtgXpOK3KCWi1rB5hyOPKXsjC_IMgxaUiBEur9Y_rB-6Yz71_Rk7cuTWhBFCv_qcLOXjHVk--gDXKzWDq5YYTG3VCMOV9wi2VjizNiTkTCUcwQZRegvyg8xTkdrmgT4ESiDaPBAhj_Ur20EJfrMssg2e6PgimBnzOtFiQK7kUobsynnz7VWzo4/s1017/URL-2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;790&quot; data-original-width=&quot;1017&quot; height=&quot;416&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZPNhtgXpOK3KCWi1rB5hyOPKXsjC_IMgxaUiBEur9Y_rB-6Yz71_Rk7cuTWhBFCv_qcLOXjHVk--gDXKzWDq5YYTG3VCMOV9wi2VjizNiTkTCUcwQZRegvyg8xTkdrmgT4ESiDaPBAhj_Ur20EJfrMssg2e6PgimBnzOtFiQK7kUobsynnz7VWzo4/w535-h416/URL-2.png&quot; width=&quot;535&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Arial; font-size: 11pt; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;/p&gt;&lt;span id=&quot;docs-internal-guid-7edec9d0-7fff-003f-a5a1-01032a8f7448&quot;&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Click on terminal above and type command as &lt;span style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;&lt;u&gt;pip install pyshorteners&lt;/u&gt;&lt;/b&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG8uSddpmQEInN0q-TDldlf7ppreGVyXNmrlg7oVkMjWxmHma_HQfVSfuH42jyYgi1_aOQ1F3dBc0V_Fzb3aaJ9P2n97XRE1gLs8VxavYxUKda-9TNf4DZrDEO5d9YhvM2Mig4SAAbUvSY7BmPgOdWhDWlQ715rJoUYN006wqA1Q-4yCjojCFLZE8I/s1567/URL-3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;907&quot; data-original-width=&quot;1567&quot; height=&quot;306&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG8uSddpmQEInN0q-TDldlf7ppreGVyXNmrlg7oVkMjWxmHma_HQfVSfuH42jyYgi1_aOQ1F3dBc0V_Fzb3aaJ9P2n97XRE1gLs8VxavYxUKda-9TNf4DZrDEO5d9YhvM2Mig4SAAbUvSY7BmPgOdWhDWlQ715rJoUYN006wqA1Q-4yCjojCFLZE8I/w529-h306/URL-3.png&quot; width=&quot;529&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;After successfully installing you will see output as above.&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #a64d79;&quot;&gt;Step 3:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;    &lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;ol style=&quot;margin-bottom: 0px; margin-top: 0px; padding-inline-start: 48px;&quot;&gt;&lt;li aria-level=&quot;1&quot; style=&quot;font-family: Arial; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; list-style-type: decimal; vertical-align: baseline; white-space: pre;&quot;&gt;&lt;p role=&quot;presentation&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 12pt;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;First we will import the &lt;u&gt;&lt;i&gt;pyshorteners library file&lt;/i&gt;&lt;/u&gt;.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li aria-level=&quot;1&quot; style=&quot;font-family: Arial; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; list-style-type: decimal; vertical-align: baseline; white-space: pre;&quot;&gt;&lt;p role=&quot;presentation&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Now we will take the input URL using &lt;u&gt;&lt;i&gt;input() function&lt;/i&gt;&lt;/u&gt; and store this in the &lt;u&gt;&lt;i&gt;link variable&lt;/i&gt;&lt;/u&gt;.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li aria-level=&quot;1&quot; style=&quot;font-family: Arial; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; list-style-type: decimal; vertical-align: baseline; white-space: pre;&quot;&gt;&lt;p role=&quot;presentation&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;We will assign the&lt;u&gt;&lt;i&gt; pyshorteners.Shortener() function&lt;/i&gt;&lt;/u&gt; to the &lt;u&gt;&lt;i&gt;shortener variable&lt;/i&gt;&lt;/u&gt;, and we can use it as many times as possible.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li aria-level=&quot;1&quot; style=&quot;font-family: Arial; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; list-style-type: decimal; vertical-align: baseline; white-space: pre;&quot;&gt;&lt;p role=&quot;presentation&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;Now we pass input URL to &lt;u&gt;&lt;i&gt;tinyurl.short&lt;/i&gt;&lt;/u&gt; function as a parameter &amp;amp; then store it into a &lt;u&gt;&lt;i&gt;short_link variable&lt;/i&gt;&lt;/u&gt;.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li aria-level=&quot;1&quot; style=&quot;font-family: Arial; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; list-style-type: decimal; vertical-align: baseline; white-space: pre;&quot;&gt;&lt;p role=&quot;presentation&quot; style=&quot;line-height: 1.38; margin-bottom: 12pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Finally we will print shorter URL using &lt;i style=&quot;text-decoration-line: underline;&quot;&gt;print() function&lt;/i&gt; .&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;/span&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;nbsp;Check below photo for better understanding.&lt;br /&gt;&lt;b style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx5SDbcaJckZvj2Nv8WsCxnALO8_4m9mBU9TO6pokpYB687osae6t6SDFBiwBcMqZilEqzLKoKyqXLqmgR09xlBh1Q-EbYyjcB3d27uHx189gUJb44ruAdAruPnfJJHPL0v3nJKsP3kgjsLrUUqKsTJ_UjjUpQJ7274szmB5kdSOLsiFSxS-dP5Uxb/s1920/URL-4.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1023&quot; data-original-width=&quot;1920&quot; height=&quot;340&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx5SDbcaJckZvj2Nv8WsCxnALO8_4m9mBU9TO6pokpYB687osae6t6SDFBiwBcMqZilEqzLKoKyqXLqmgR09xlBh1Q-EbYyjcB3d27uHx189gUJb44ruAdAruPnfJJHPL0v3nJKsP3kgjsLrUUqKsTJ_UjjUpQJ7274szmB5kdSOLsiFSxS-dP5Uxb/w637-h340/URL-4.png&quot; width=&quot;637&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; 🔎&lt;/span&gt;Now let&#39;s try is this code is working or not&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/b&gt;We will take my own youtube channel url link, let&#39;s see....😊😊😊&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOzl7BDKARZWHMuWD8Wv0qvuTG8H6DY7fLVFxF9W8_6iWxSbUmoUX7ThMIbebKVUJJAMB6pL-7l-UhVqcH5AbEXyOlQBBMxYFXs6tRb93Rsi-L-5CGG9z3KEoydLX2NYmm5ucZtg7BGLxt-CIVenxcGz5vSAjH4cH4QPfgvJ4axOEDF_2vWKTghMEq/s1932/URL-5.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1036&quot; data-original-width=&quot;1932&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOzl7BDKARZWHMuWD8Wv0qvuTG8H6DY7fLVFxF9W8_6iWxSbUmoUX7ThMIbebKVUJJAMB6pL-7l-UhVqcH5AbEXyOlQBBMxYFXs6tRb93Rsi-L-5CGG9z3KEoydLX2NYmm5ucZtg7BGLxt-CIVenxcGz5vSAjH4cH4QPfgvJ4axOEDF_2vWKTghMEq/w596-h320/URL-5.png&quot; width=&quot;596&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/b&gt;We will copy and past the link and will see output..&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf9mm5MoFhPFtlJOdxlGqk9CT0VjXJSLxzm2Skjs-LIScI1_Rqpk7El54H_5FIAmz3ZvTRylVTzjES7JaRGx9LYm9gwaOtAIo4hPBs_SdXPavwF5NulLvZLvPuMMgSm1vzEAniM03xsyJlmXF3pNLDwX9VG9dWVsAG7BzrrnX8dq4QI3o5Qb3nsnnY/s1910/URL-6.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;912&quot; data-original-width=&quot;1910&quot; height=&quot;299&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf9mm5MoFhPFtlJOdxlGqk9CT0VjXJSLxzm2Skjs-LIScI1_Rqpk7El54H_5FIAmz3ZvTRylVTzjES7JaRGx9LYm9gwaOtAIo4hPBs_SdXPavwF5NulLvZLvPuMMgSm1vzEAniM03xsyJlmXF3pNLDwX9VG9dWVsAG7BzrrnX8dq4QI3o5Qb3nsnnY/w626-h299/URL-6.png&quot; width=&quot;626&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; To check does short link work or not&amp;nbsp; 💥💥&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;P&lt;/span&gt;&lt;/span&gt;lease click on link and subscribe to channel :- &lt;u&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;https://tinyurl.com/2fqu6orm&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; It was fun to code with you guys, please check below for more blog.😊😊&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #757575; font-family: Inter, Arial, sans-serif; font-size: 14px; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-align: right; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;b style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;Source Code by -&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-align: right; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;b style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;Viraj.K&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #757575; font-family: Inter, Arial, sans-serif; font-size: 14px; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-align: right; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;b style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px; border: 0px; box-sizing: border-box; color: #cc0000; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;(Guest Writer)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #757575; font-family: Inter, Arial, sans-serif; font-size: 14px; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-align: right; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;b style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;br style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; overflow-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word;&quot; /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #757575; font-family: Inter, Arial, sans-serif; font-size: 14px; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;b style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;br style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; overflow-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word;&quot; /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #757575; font-family: Inter, Arial, sans-serif; font-size: 14px; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-align: right; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;b style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;br style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; overflow-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word;&quot; /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #757575; font-family: Inter, Arial, sans-serif; font-size: 14px; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; background: 0px 0px; border: 0px; box-sizing: border-box; color: #38761d; margin: 0px; outline: 0px; overflow-wrap: break-word; padding: 0px; text-rendering: optimizelegibility; vertical-align: baseline; word-break: break-word;&quot;&gt;Wanted to be our Next Guest Writer ? You are just one DM away 😉 . Reach out to us on our insta handle or fill contact us form !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/2758721352091942044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2023/01/url-shortener-using-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/2758721352091942044'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/2758721352091942044'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2023/01/url-shortener-using-python.html' title='URL Shortener Using Python'/><author><name>Viraj Kunjir</name><uri>http://www.blogger.com/profile/14833860820609363712</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='18' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieyTlf15Q8gRv9yp4LYLa3whgOb0itJ4BpC-XD1YyI5gHBNAb3XL71shM6KQtnLldQeG-4H3uvsi13id6MbNXLhtYl_P_xVr1WFPAY0B0oku0LIzgE94y_HT757sYXls6MOuP4FpJwdOCN7owdnR27OW_-OCufN_z80cZELXqqYlWG/s220/Viraj%20photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE9Xlp7BnKvFGCxDNzs9K2-CCIV9EtAoT0lU-ksoumgyl3-g-HmdpvgKLqnTPViITKPAzAe9Dd4miiRr_aVV3GBxveH1bVdGW1eb_RWrmpeZLdTms7Y48QAADBgNkQ9zQecO6xTp2zAyIo850wfdSofzBYy36tLUsr63RCV5cJ-yW1seCF0Oc5Y1gr/s72-w430-h352-c/URL-1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-4007282569589341421</id><published>2022-08-03T11:04:00.007+05:30</published><updated>2023-01-23T16:58:54.541+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Collections"/><title type='text'>Post 9 - Make Cricket Players List using Java</title><content type='html'>&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;In today&#39;s post we are going to solve a simple problem using List and Map in Java.&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIHZ0A1vAohicDn6NiFGY3q0W5qwHVoH87ch3eCIVTFG7tCi2tcroHnyrfo0iXpXYxASYupW9x1jNa7YIOSACtXFm9WZgyN37vkxfJmQMrwWVbsfPW5bBeGrvkyqFN-vOC8fF0D2CFguLJvJzIlmx-mt1pfQacnLaqkFWiwl5VDzh_owSk9Krkhe1M/s1393/people-thinking-to-make-decision-problem-solving-and-find-creative-ideas-with-question-mark-in-flat-cartoon-background-for-poster-illustration-vector.jpg&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;980&quot; data-original-width=&quot;1393&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIHZ0A1vAohicDn6NiFGY3q0W5qwHVoH87ch3eCIVTFG7tCi2tcroHnyrfo0iXpXYxASYupW9x1jNa7YIOSACtXFm9WZgyN37vkxfJmQMrwWVbsfPW5bBeGrvkyqFN-vOC8fF0D2CFguLJvJzIlmx-mt1pfQacnLaqkFWiwl5VDzh_owSk9Krkhe1M/s16000/people-thinking-to-make-decision-problem-solving-and-find-creative-ideas-with-question-mark-in-flat-cartoon-background-for-poster-illustration-vector.jpg&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;▶ Problem Statement :&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;Mr. John have a list of&amp;nbsp; players and runs made by each player. He wants to divide players into two groups - batsman and bowlers based on below condition :&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; -&amp;nbsp;&lt;/span&gt;if runs made by player are less than 500 , he will be considered as bowler&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;else he will considered as batsman.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;✅&amp;nbsp;&lt;span style=&quot;color: #990000;&quot;&gt;Concepts Covered :&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Map&lt;/li&gt;&lt;li&gt;List&lt;/li&gt;&lt;li&gt;forEach loop&lt;/li&gt;&lt;li&gt;If...Else statement&lt;/li&gt;&lt;li&gt;Calling methods from main()&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;📑 Let&#39;s Code :)&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Note* : If you are not familiar with Eclipse IDE please check my previous posts. This post will not contain basics of Eclipse or steps to empty create project.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 1 : &lt;/b&gt;We are going to use single class for this project. So let&#39;s create Main.java class.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Main.java &lt;/b&gt;class will contain &lt;b&gt;three methods :&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1. main()&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2. addPlayers () - to add data&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;3. createBowlerAndBatsmanList() - to create two seperate lists for bowlers and batsman.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 2 :&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;1. As mentioned in the step 1 , we are going to call addPlayers() from main().&amp;nbsp;&lt;/div&gt;&lt;div&gt;2. addPlayers() will return Map which contains name of player and total runs scored by that player.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Please refer below code snippet for the same :&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE3HoywoaK88sbewWg-F9NX7w5TEnemKUvZZqCxjFOjvm7qb1VcgLQ_g_CiuxmEQisCkblBJwPVQKqmp2kw2xlQp4J0zsRnH9tK5wP7pbQKAi0pes0jIA8rcWCXInUNmJrjQJiB4LPY1OqqbkoICBvA1ww2zUbVwri7qpbVpIUT-tjKxS_FcAg77EG/s1243/Screenshot%20(39).png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;674&quot; data-original-width=&quot;1243&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE3HoywoaK88sbewWg-F9NX7w5TEnemKUvZZqCxjFOjvm7qb1VcgLQ_g_CiuxmEQisCkblBJwPVQKqmp2kw2xlQp4J0zsRnH9tK5wP7pbQKAi0pes0jIA8rcWCXInUNmJrjQJiB4LPY1OqqbkoICBvA1ww2zUbVwri7qpbVpIUT-tjKxS_FcAg77EG/s16000/Screenshot%20(39).png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 3 :&amp;nbsp;&lt;/b&gt;In this step, we will write logic to create bowlers and batmans list in createBowlersAndBatsmanList().&lt;/div&gt;&lt;div&gt;This method accepts Map&amp;lt;String,Integer&amp;gt; as a parameter.&amp;nbsp;&lt;/div&gt;&lt;div&gt;We will call this method from main().&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Now, we will iterate over map using forEach loop.&amp;nbsp;&lt;/div&gt;&lt;div&gt;2. We will check runs scored by each player,&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;• if runs scored are less than or equal to 500, he will be considered as bowler&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;• else he will be considered as batsman.&lt;/div&gt;&lt;div&gt;3. Accordingly we will add player to respective list.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Please refer below code snippet :&lt;div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiH9Ohj3OOsiV_tgENBwGt6m0bSB1ngcR_pgzYd1gMernkj_w0Gr8QCxtx3105GCNVBSxNRZUk7g_zjeTNIxcKP34UDTeSifx1qjQFALNtdUYzo3vYRKHa571U5eaKe04WAN5B-qEiDl6hFDpZxj86QPDSMJzqK5H_Ok1b-QqW6gPDD4cdMvv4DH6_/s1248/Screenshot%20(37).png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;381&quot; data-original-width=&quot;1248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiH9Ohj3OOsiV_tgENBwGt6m0bSB1ngcR_pgzYd1gMernkj_w0Gr8QCxtx3105GCNVBSxNRZUk7g_zjeTNIxcKP34UDTeSifx1qjQFALNtdUYzo3vYRKHa571U5eaKe04WAN5B-qEiDl6hFDpZxj86QPDSMJzqK5H_Ok1b-QqW6gPDD4cdMvv4DH6_/s16000/Screenshot%20(37).png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Step 4 :&amp;nbsp;&lt;/b&gt;&amp;nbsp; Now we will run the code and check the output.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUeBm-xLF4iwysIQVnMxkAxNQ4Tl-0xKyxZ4VtmoSbA0ZZlV9qK1pG8JGSL1lEHqczoMtDq2YyCaCDVqlXX3rlsf_JsML36cNdI2zbEuQVU6p3iSiU_bqY2A-vMjo9MiXA1giUq5RWeIEYxOFDzFBaKj7d-9wWN-mBD4G81d35xdeeVTVrP4hrlVcz/s1296/Screenshot%20(40).png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;460&quot; data-original-width=&quot;1296&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUeBm-xLF4iwysIQVnMxkAxNQ4Tl-0xKyxZ4VtmoSbA0ZZlV9qK1pG8JGSL1lEHqczoMtDq2YyCaCDVqlXX3rlsf_JsML36cNdI2zbEuQVU6p3iSiU_bqY2A-vMjo9MiXA1giUq5RWeIEYxOFDzFBaKj7d-9wWN-mBD4G81d35xdeeVTVrP4hrlVcz/s16000/Screenshot%20(40).png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;Here we are done with the problem solution.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope you like this post 😃&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;You can reach us by entering your details in Contact Us box in the side panel💬&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;All the Best 👍👍👍👍&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Happy Learning 😇😇😇&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/4007282569589341421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2022/08/post-9-make-cricket-players-list-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/4007282569589341421'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/4007282569589341421'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2022/08/post-9-make-cricket-players-list-using.html' title='Post 9 - Make Cricket Players List using Java'/><author><name>The Coding Buddy</name><uri>http://www.blogger.com/profile/09301018950844417130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIHZ0A1vAohicDn6NiFGY3q0W5qwHVoH87ch3eCIVTFG7tCi2tcroHnyrfo0iXpXYxASYupW9x1jNa7YIOSACtXFm9WZgyN37vkxfJmQMrwWVbsfPW5bBeGrvkyqFN-vOC8fF0D2CFguLJvJzIlmx-mt1pfQacnLaqkFWiwl5VDzh_owSk9Krkhe1M/s72-c/people-thinking-to-make-decision-problem-solving-and-find-creative-ideas-with-question-mark-in-flat-cartoon-background-for-poster-illustration-vector.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-443150554982651381</id><published>2021-10-24T23:05:00.002+05:30</published><updated>2023-01-19T14:36:34.818+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="Python Basic"/><title type='text'>Billing System Using Python </title><content type='html'>&lt;p&gt;  Welcome to the Blog !! Today we will learn to build &lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Billing System&lt;/b&gt;&lt;/span&gt; using Python. &lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEipHH2wN-E-fLe_JI_o4NJG93HjBIzn7jS_v6XyFhxYng7uzetjlwgOAgZIXe4Ijw4JTMbpnrS129Dl734viB7DsD12-myD0Qk8QQ6UKeoB2kjZjp4KBSsIcSQ7t5DWPX1bkRr-U_t18HjCXe6Yg1GEguayIYQIG2g8ta-YhI3Xv7m5IaoAxz7H1EoF=s1068&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;427&quot; data-original-width=&quot;1068&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEipHH2wN-E-fLe_JI_o4NJG93HjBIzn7jS_v6XyFhxYng7uzetjlwgOAgZIXe4Ijw4JTMbpnrS129Dl734viB7DsD12-myD0Qk8QQ6UKeoB2kjZjp4KBSsIcSQ7t5DWPX1bkRr-U_t18HjCXe6Yg1GEguayIYQIG2g8ta-YhI3Xv7m5IaoAxz7H1EoF=s16000&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;span&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2021/10/billing-system-using-python.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/443150554982651381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2021/10/billing-system-using-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/443150554982651381'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/443150554982651381'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2021/10/billing-system-using-python.html' title='Billing System Using Python '/><author><name>The Coding Buddy</name><uri>http://www.blogger.com/profile/09301018950844417130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEipHH2wN-E-fLe_JI_o4NJG93HjBIzn7jS_v6XyFhxYng7uzetjlwgOAgZIXe4Ijw4JTMbpnrS129Dl734viB7DsD12-myD0Qk8QQ6UKeoB2kjZjp4KBSsIcSQ7t5DWPX1bkRr-U_t18HjCXe6Yg1GEguayIYQIG2g8ta-YhI3Xv7m5IaoAxz7H1EoF=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-3869532670588236190</id><published>2021-10-10T21:09:00.003+05:30</published><updated>2021-10-10T21:12:42.627+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="Python Basic"/><title type='text'>Build BMI Calculator using Python</title><content type='html'>&lt;p&gt; Welcome to the Blog !! Today we will learn to build our own BMI (Body Mass Index) calculator which will help us to decide our BMI Category (Underweight ,  Normal Weight or  Overweight). &lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgYrhJ3ZG0xjjcJ9yqYvPN-bP1oQNA8_VyzvD-6Pyl5tdlAnoZrOOaYIkMSDFm5BKPM3w5achHQTZNNrQqiEadGVsskgmci8rGYEXLL58LOEo6X1v66jvfuC0Qs0UUh6_3mB0_ESyVlVtsy4UJsFLRSamLo8Ed3xHmffGu5mVvRcBglEzHK5nqTL5Id=s387&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;215&quot; data-original-width=&quot;387&quot; height=&quot;242&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgYrhJ3ZG0xjjcJ9yqYvPN-bP1oQNA8_VyzvD-6Pyl5tdlAnoZrOOaYIkMSDFm5BKPM3w5achHQTZNNrQqiEadGVsskgmci8rGYEXLL58LOEo6X1v66jvfuC0Qs0UUh6_3mB0_ESyVlVtsy4UJsFLRSamLo8Ed3xHmffGu5mVvRcBglEzHK5nqTL5Id=w456-h242&quot; width=&quot;456&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;span&gt;&lt;/span&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2021/10/build-bmi-calculator-using-python.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/3869532670588236190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2021/10/build-bmi-calculator-using-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/3869532670588236190'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/3869532670588236190'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2021/10/build-bmi-calculator-using-python.html' title='Build BMI Calculator using Python'/><author><name>The Coding Buddy</name><uri>http://www.blogger.com/profile/09301018950844417130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEgYrhJ3ZG0xjjcJ9yqYvPN-bP1oQNA8_VyzvD-6Pyl5tdlAnoZrOOaYIkMSDFm5BKPM3w5achHQTZNNrQqiEadGVsskgmci8rGYEXLL58LOEo6X1v66jvfuC0Qs0UUh6_3mB0_ESyVlVtsy4UJsFLRSamLo8Ed3xHmffGu5mVvRcBglEzHK5nqTL5Id=s72-w456-h242-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-886040872840184819</id><published>2021-10-08T10:22:00.003+05:30</published><updated>2021-10-09T09:08:10.258+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="Python Basic"/><title type='text'>If Else Statements in Python </title><content type='html'>&lt;p&gt;✅ In this post we will learn about If ..else statements in python . &lt;/p&gt;&lt;p&gt;🔶This Post will cover following topics : &lt;/p&gt;&lt;ul&gt;&lt;li&gt;if statement&lt;/li&gt;&lt;li&gt;if..else statements&lt;/li&gt;&lt;li&gt;nested if statements&lt;/li&gt;&lt;li&gt;if-elif ladder&lt;/li&gt;&lt;li&gt;Short Hand if statement&lt;/li&gt;&lt;li&gt;Short Hand if-else statement&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;a name=&quot;if&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;statement :&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;&lt;p&gt;if
 statement is the most simple decision making statement. It is used to 
decide whether a certain statement or block of statements will be 
executed or not i.e if a certain condition is true then a block of 
statement is executed otherwise not.&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2021/10/if-else-statements-in-python.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/886040872840184819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2021/10/if-else-statements-in-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/886040872840184819'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/886040872840184819'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2021/10/if-else-statements-in-python.html' title='If Else Statements in Python '/><author><name>The Coding Buddy</name><uri>http://www.blogger.com/profile/09301018950844417130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-7697411713695431001</id><published>2021-10-03T21:04:00.009+05:30</published><updated>2023-01-19T14:33:48.201+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="Python Basic"/><title type='text'>Build Email Generator Using Python</title><content type='html'>&lt;p&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;In this post, we will learn to build&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;b style=&quot;color: #cc0000; font-family: inherit;&quot;&gt;&amp;quot;Email Generator&amp;quot; &lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;using python.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj-COp24VBYtrJ1SRM_276YzFDOGRLJGn6ahyBOogxVl1l4cKzf-n_ARwAl_a5Pylej0o8yq8otSShj9X_4RI1AbYUbGTY9EqjpL-bNJqm0a62GXQfYm_hcjVX9F7p8OIIQFEDpZ8_xxk5YGtECxc61wmXaXuELQHNm_BABj5le0k3m-3O8f1Tdcx1t=s738&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;415&quot; data-original-width=&quot;738&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj-COp24VBYtrJ1SRM_276YzFDOGRLJGn6ahyBOogxVl1l4cKzf-n_ARwAl_a5Pylej0o8yq8otSShj9X_4RI1AbYUbGTY9EqjpL-bNJqm0a62GXQfYm_hcjVX9F7p8OIIQFEDpZ8_xxk5YGtECxc61wmXaXuELQHNm_BABj5le0k3m-3O8f1Tdcx1t=s16000&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;h3&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;✅ &lt;span style=&quot;color: #990000;&quot;&gt;Problem Statement:&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Mr. John works for a company. His job is to assign email-id to new employees. He wants to automate this process and we are going to help him in this task.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Lets build Email Generator !&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2021/10/build-email-generator-using-python.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/7697411713695431001/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2021/10/build-email-generator-using-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/7697411713695431001'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/7697411713695431001'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2021/10/build-email-generator-using-python.html' title='Build Email Generator Using Python'/><author><name>The Coding Buddy</name><uri>http://www.blogger.com/profile/09301018950844417130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEj-COp24VBYtrJ1SRM_276YzFDOGRLJGn6ahyBOogxVl1l4cKzf-n_ARwAl_a5Pylej0o8yq8otSShj9X_4RI1AbYUbGTY9EqjpL-bNJqm0a62GXQfYm_hcjVX9F7p8OIIQFEDpZ8_xxk5YGtECxc61wmXaXuELQHNm_BABj5le0k3m-3O8f1Tdcx1t=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-5657104731510029071</id><published>2021-07-04T20:42:00.001+05:30</published><updated>2021-07-04T20:42:39.967+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Basics"/><title type='text'>Post 8 -Currency Converter Using Java</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;In this post, we will learn to build &lt;b style=&quot;color: #cc0000;&quot;&gt;&quot;Currency Converter&quot;&amp;nbsp; &lt;/b&gt;java.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;✅ Problem Statement:&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;John deals with international customers. So he needs to perform Currency conversion to deal with his customers. To make this conversions easier, he need&amp;nbsp;&lt;b style=&quot;color: #cc0000;&quot;&gt;Currency Converter &lt;/b&gt;which will help him to perform conversions.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;✅ Concepts Covered in this Post:&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;MAVEN -&amp;nbsp; Project Management Tool&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Enum&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Switch Case&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;🔴Before we start, Let&#39;s have a quick look on &lt;b&gt;What MAVEN is ?&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;⇒ Maven is a Project Management Tool, based on Project Object Model(POM). &lt;/b&gt;It is used for project&#39;s build, dependency and documentation.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;For Detailed Information please visit,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://www.tutorialspoint.com/maven/maven_overview.htm&quot;&gt;Maven Overview&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://www.geeksforgeeks.org/introduction-apache-maven-build-automation-tool-java-projects/&quot;&gt;Introduction to Apache Maven&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;📑 Let&#39;s Code :)&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;h4&gt;&lt;span style=&quot;background-color: #fcff01; font-family: inherit;&quot;&gt;For Currency Converter, We will Create MAVEN Project instead of Creating Simple Java Project.&lt;/span&gt;&lt;/h4&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: inherit;&quot;&gt;&lt;b&gt;Step 1 : Create Maven Project in Eclipse.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Open Eclipse → File&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;→ New&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;→ Others&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;→ Maven&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;→ Maven Project .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: inherit;&quot;&gt;Follow the steps as shown below :&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCkypobF4fcz5ApNE7Admawny8nZo6KG1fdANQSG4bhtzymCNDU9x58ctdkwKtBL7WSPN13nhg0SYwVN6hqZUjbkrkVgzJeDGfebeqnHwsQnSZ2ecuQD3oW6FKbvkJpfN_NIMa7e_yUvs/s778/Screenshot+%2528219%2529.png&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;589&quot; data-original-width=&quot;778&quot; height=&quot;485&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCkypobF4fcz5ApNE7Admawny8nZo6KG1fdANQSG4bhtzymCNDU9x58ctdkwKtBL7WSPN13nhg0SYwVN6hqZUjbkrkVgzJeDGfebeqnHwsQnSZ2ecuQD3oW6FKbvkJpfN_NIMa7e_yUvs/w640-h485/Screenshot+%2528219%2529.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Fig 1(a)&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicEtJwnnbExaNAiRsZn41W6Nr7LXDkzcl8R0kPf2KIjnRhQIhoqtCWqZCw2n6_YbEqPQjmf0SWnWWTK4ZF3VzqdPj1OfUL7PwMhYgmeAC1-URulPKkV5vnCQhdm-2yObQEzL-DrGml7Vw/s517/Screenshot+%2528220%2529.png&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;495&quot; data-original-width=&quot;517&quot; height=&quot;613&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicEtJwnnbExaNAiRsZn41W6Nr7LXDkzcl8R0kPf2KIjnRhQIhoqtCWqZCw2n6_YbEqPQjmf0SWnWWTK4ZF3VzqdPj1OfUL7PwMhYgmeAC1-URulPKkV5vnCQhdm-2yObQEzL-DrGml7Vw/w640-h613/Screenshot+%2528220%2529.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Fig 1(b)&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;New Pop-up window will appear for creating New Maven Project. Follow the steps as shown below -&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPmMmnk7kVphm0ZqjrU_WlnfB_ZeiacAmWJyRRbY6UGnx0qF8fRalSop45nLjPKKhTeAvUCB_OSIRZxFLOn2uXB4kqjes5KTSW1LxLfytdTlKx-cCvnENYV6cM6oCi9ikS7Olx-D70ixM/s599/Screenshot+%2528221%2529.png&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;549&quot; data-original-width=&quot;599&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPmMmnk7kVphm0ZqjrU_WlnfB_ZeiacAmWJyRRbY6UGnx0qF8fRalSop45nLjPKKhTeAvUCB_OSIRZxFLOn2uXB4kqjes5KTSW1LxLfytdTlKx-cCvnENYV6cM6oCi9ikS7Olx-D70ixM/s16000/Screenshot+%2528221%2529.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Fig 1 (c)&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;br /&gt;In this window , we need to provide Group Id , Artifact Id , Name of&amp;nbsp; Project and short Description.&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;👉Group Id &lt;/b&gt;follows Java&#39;s Package Name rules. GroupId starts with a reversed domain name.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;👉 Artifact Id &lt;/b&gt;specifies the id of a project.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Once you filled all the details , Click on NEXT. This will create a new Maven Project.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTajmlXtWOBTZgKrCHN_9c9Ffog4eImD8UGH-JBiteJHoYsZfLNIeXRt2FCl1xUMKLqSkDyhuUs0jEsjwDdNxVZKD09VwSNf1KCxGvlpwWyCGbg31hdBK1-md9Nko_uWoCB7dJeN4yTIw/s602/Screenshot+%2528222%2529.png&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;545&quot; data-original-width=&quot;602&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTajmlXtWOBTZgKrCHN_9c9Ffog4eImD8UGH-JBiteJHoYsZfLNIeXRt2FCl1xUMKLqSkDyhuUs0jEsjwDdNxVZKD09VwSNf1KCxGvlpwWyCGbg31hdBK1-md9Nko_uWoCB7dJeN4yTIw/s16000/Screenshot+%2528222%2529.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Fig 1 (d)&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #fcff01;&quot;&gt;&lt;b&gt;Every Maven Project has pom.xml file which contains the information of&amp;nbsp; project and configuration information for the maven to build the project such as dependencies, build directory, source directory , plugins , goals , etc.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #666666; font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #666666; font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Step 2 : Create Required Packages and Java Classes.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #04ff00; font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;b&gt;Our Project Structure will look like this -&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #04ff00; font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #04ff00; font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 13px;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVRFMke_wSxQ0HjR17E1b_yLnTrc0hOWIZYjfr3Gh2gObD55-rsr5sCs5MPFl5Zmhir5jr_yphqxlGfBlq_FZEX0t2OZO_N82FmYhbrxvmXABytpG-6Jp0drJ-S4p_4ywXHpt20BtTQuI/s363/Screenshot+%2528237%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;363&quot; data-original-width=&quot;323&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVRFMke_wSxQ0HjR17E1b_yLnTrc0hOWIZYjfr3Gh2gObD55-rsr5sCs5MPFl5Zmhir5jr_yphqxlGfBlq_FZEX0t2OZO_N82FmYhbrxvmXABytpG-6Jp0drJ-S4p_4ywXHpt20BtTQuI/s320/Screenshot+%2528237%2529.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;🔹 This project will have &lt;b&gt;TWO Packages in src/main/java folder -&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Right Click on the src/main/java and create these two packages.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;1] com.thecodingbuddy.blog.java.demo&amp;nbsp; -&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #0b5394;&quot;&gt;Application.java class&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span&gt;&lt;b&gt;2]&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;com.thecodingbuddy.blog.java.demo.model - &lt;span style=&quot;color: #0b5394;&quot;&gt;CurrencyConverter.java class&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;3]&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&amp;nbsp;com.thecodingbuddy.blog.java.demo.service - &lt;span style=&quot;color: #0b5394;&quot;&gt;CurrencyConverterService.java class&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;🔹 Right Click on&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;com.thecodingbuddy.blog.java.demo&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;and create new java class &lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;b&gt;Application.java&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;This Class will contain main() method.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; font-family: inherit; font-size: 13px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCHmkq8lVLNdFgbB5BgXI2tTcpjDC4sedM0IX40pbxG5p6yAwkNTOAFxhXK2L_K6A_PvQCvyCmpj6nPXHIyIY9E_QJF4Q7aKT4dVXa_nQm8rBpjHArxmCkvCLqPof4ZpUSc2srvmMuAJQ/s633/Screenshot+%2528225%2529.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;633&quot; data-original-width=&quot;529&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCHmkq8lVLNdFgbB5BgXI2tTcpjDC4sedM0IX40pbxG5p6yAwkNTOAFxhXK2L_K6A_PvQCvyCmpj6nPXHIyIY9E_QJF4Q7aKT4dVXa_nQm8rBpjHArxmCkvCLqPof4ZpUSc2srvmMuAJQ/s16000/Screenshot+%2528225%2529.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; font-family: inherit; font-size: 13px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; font-family: inherit; font-size: 13px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span&gt;&lt;span style=&quot;background-color: #800180; color: white; font-family: inherit;&quot;&gt;Similarly , Create remaining two Packages and respective Classes inside those packages.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Step 3 : &lt;/span&gt;Let&#39;s Code for &lt;span style=&quot;color: #cc0000;&quot;&gt;CurrencyConverter.java&lt;/span&gt; class.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;As CurrencyConverter is a model class. It will only contain fields/ variables , getter and setters , constructor.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;span face=&quot;Roboto, Helvetica, sans-serif&quot; style=&quot;background-color: white; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdIz5oCuMaT3US15gjdY7XVzppENGuatj-VFnm3LjX7E-e10KOJO6m60HYrUgDZbryAY5ujEYRTn5M6Lil8Kf08I6Gg7kR03cAJxOD6cvnZP0umyphqQA5JOVPRBd22rpi2ITxbP9gkxM/s998/Screenshot+%2528239%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;632&quot; data-original-width=&quot;998&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdIz5oCuMaT3US15gjdY7XVzppENGuatj-VFnm3LjX7E-e10KOJO6m60HYrUgDZbryAY5ujEYRTn5M6Lil8Kf08I6Gg7kR03cAJxOD6cvnZP0umyphqQA5JOVPRBd22rpi2ITxbP9gkxM/s16000/Screenshot+%2528239%2529.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;CurrencyConverter.java&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Step 4 : &lt;/span&gt;Now let&#39;s complete&amp;nbsp;&lt;span style=&quot;color: #cc0000;&quot;&gt;CurrencyConverterService.java &lt;/span&gt;class.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;As this is a service class, this will contain business logic to process the request/ data.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Logic -&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;This class will contain method to convert one currency to another&lt;/li&gt;&lt;li&gt;Method will accept object of model class.&lt;/li&gt;&lt;li&gt;Currently we are supporting 4 currencies - Dollar , Eur , Pound and Yen.&amp;nbsp;&lt;/li&gt;&lt;li&gt;If user has entered currency other than this, we will display message as - &quot;Currency Not Supported&quot; else Amount will be converted to required currency.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr-3SK0NL_-frowQg9pTHIpETWJuzYNKCLSZGZus-sZJnDK46C6Ut05lUtslzlSQQMJxqhqvvssAhR1VUyY6W50P3Xi3N3uRUUNLsXBN_K_5VJ3M6D2eaRNDdxIURHDRCoa36s8ZIRTF4/s995/Screenshot+%2528238%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;630&quot; data-original-width=&quot;995&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr-3SK0NL_-frowQg9pTHIpETWJuzYNKCLSZGZus-sZJnDK46C6Ut05lUtslzlSQQMJxqhqvvssAhR1VUyY6W50P3Xi3N3uRUUNLsXBN_K_5VJ3M6D2eaRNDdxIURHDRCoa36s8ZIRTF4/s16000/Screenshot+%2528238%2529.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;CurrencyConverterService.java&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Step 5 : &lt;/span&gt;Let&#39;s code for&lt;span style=&quot;color: #cc0000;&quot;&gt; Application.java &lt;/span&gt;class&lt;/b&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This class will contain main() method.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This will perform following functions -&lt;/div&gt;&lt;div&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Accept input from user&lt;/li&gt;&lt;li&gt;Create object of CurrencyConverter class using parameterized constructor.&lt;/li&gt;&lt;li&gt;Call method of CurrencyConverterService to perform conversion.&lt;/li&gt;&lt;li&gt;Display Output on console&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge6EK3UM3RTRDJQuM9D9l9oarEVVWnWrsLLW0Cek2KBXRw5g3XKzoZLD1HuM1nNRqO-1C1i-DEyFigkXAc3_n6NSlNLYp4bMsfkW17qJBil0NzXP2-IdCz46HG5eW8M2wwDprkT5ZcHlE/s1002/Screenshot+%2528248%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;619&quot; data-original-width=&quot;1002&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge6EK3UM3RTRDJQuM9D9l9oarEVVWnWrsLLW0Cek2KBXRw5g3XKzoZLD1HuM1nNRqO-1C1i-DEyFigkXAc3_n6NSlNLYp4bMsfkW17qJBil0NzXP2-IdCz46HG5eW8M2wwDprkT5ZcHlE/s16000/Screenshot+%2528248%2529.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;Application.java&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;color: #cc0000;&quot;&gt;Step 6 : &lt;/b&gt;Let&#39;s Run the Project and Check Output :)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;🔶 &lt;b&gt;Sample Output when User enters Supported currencies -&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnLubpgVBLOKtm3gtGqIL2zFpsw47XsND230f9H1vhKvhyphenhyphen0AYx9SfgLRvTu_hcZEBEgQFrwEVUWlz6H7NIDHM4GR1deLS-ePA-emeYqtQWfjUZGrDh1_hoPzan8uKCjMraGMdPjGjtDCM/s921/Screenshot+%2528240%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;583&quot; data-original-width=&quot;921&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnLubpgVBLOKtm3gtGqIL2zFpsw47XsND230f9H1vhKvhyphenhyphen0AYx9SfgLRvTu_hcZEBEgQFrwEVUWlz6H7NIDHM4GR1deLS-ePA-emeYqtQWfjUZGrDh1_hoPzan8uKCjMraGMdPjGjtDCM/s16000/Screenshot+%2528240%2529.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;Output-1.1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;🔶 &lt;b&gt;Sample Output when User enters currency other than supported currencies -&lt;/b&gt;&lt;div&gt;&lt;br /&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirWXZKBVWfRfpLFeTd2ySJafJTRU_UIgWVuPCS8DYfAqn34CMG2uC_vy4hR7TwLiWUGaCDGe95PU8Kn2K7wLR1SYJx9gJRmrYQWHkDMJhbM6JbZUPhYiVOA3yKDmne80PpryMH8MY3Csw/s908/Screenshot+%2528241%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;585&quot; data-original-width=&quot;908&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirWXZKBVWfRfpLFeTd2ySJafJTRU_UIgWVuPCS8DYfAqn34CMG2uC_vy4hR7TwLiWUGaCDGe95PU8Kn2K7wLR1SYJx9gJRmrYQWHkDMJhbM6JbZUPhYiVOA3yKDmne80PpryMH8MY3Csw/s16000/Screenshot+%2528241%2529.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;color: #351c75;&quot;&gt;Output-1.2&lt;br /&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Here we are done with our new project :)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Find source code of project👉&amp;nbsp;&lt;a href=&quot;https://github.com/TheCodingBuddy/currency-converter-java&quot;&gt;here&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Hope you like this post 😉&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can reach us by entering your details in Contact Us box in the side panel💬&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;All the Best 👍👍👍👍&lt;/div&gt;&lt;div&gt;Happy Learning 😇😇😇&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/5657104731510029071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2021/07/post-8-currency-converter-using-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/5657104731510029071'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/5657104731510029071'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2021/07/post-8-currency-converter-using-java.html' title='Post 8 -Currency Converter Using Java'/><author><name>The Coding Buddy</name><uri>http://www.blogger.com/profile/09301018950844417130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCkypobF4fcz5ApNE7Admawny8nZo6KG1fdANQSG4bhtzymCNDU9x58ctdkwKtBL7WSPN13nhg0SYwVN6hqZUjbkrkVgzJeDGfebeqnHwsQnSZ2ecuQD3oW6FKbvkJpfN_NIMa7e_yUvs/s72-w640-h485-c/Screenshot+%2528219%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-1661815519408636790</id><published>2020-10-02T18:58:00.225+05:30</published><updated>2021-10-07T11:04:20.248+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Basics"/><title type='text'>Post 7 -  Build Unit Converter using Java</title><content type='html'>In this post we will develop &lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Unit Converter&lt;/span&gt; &lt;/b&gt;using some simple java concepts.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgt8XC0qsnaywK7BufaT8r5ag8YG6N062ZEssyWOhIu91_4Di82AJLwm08Bj6eK9bvVMQNg_BV_kIHtJLqc-xuzsVl0m0bQvOsIYOZmQDHYZ5NefqDyf9bPVGsVb-3qrRRiJrTIvaAQ0ygTDMXNQZxgJnJZbw-XSc2RApql7HzYr2SYGAFhN569Xt8L=s300&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;168&quot; data-original-width=&quot;300&quot; height=&quot;224&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgt8XC0qsnaywK7BufaT8r5ag8YG6N062ZEssyWOhIu91_4Di82AJLwm08Bj6eK9bvVMQNg_BV_kIHtJLqc-xuzsVl0m0bQvOsIYOZmQDHYZ5NefqDyf9bPVGsVb-3qrRRiJrTIvaAQ0ygTDMXNQZxgJnJZbw-XSc2RApql7HzYr2SYGAFhN569Xt8L=w400-h224&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br&gt;&lt;div&gt;&lt;br&gt;&lt;div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;✅ Problem Statement :&lt;/h3&gt;&lt;div&gt;Mr. Groff  works in a shop where he required to convert weights from one unit into other. So he need unit converter to make his task easy. &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/10/post-7-build-unit-converter-using-java.html&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;294&quot; data-original-width=&quot;696&quot; height=&quot;174&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi61CNRVUOE8NNEqc7iQYJCfNXm2WepfSUwOuNrynhjidXEo06uJsoWkipSRZxKdk8GZLrGAVtDFYAAogqy6J6nJuFMSopJjGfZUKiiEOpV9jucDMF4eCXN2phEASg6G4RhADTJPPgXvj4/w412-h174/unit+converter.png&quot; width=&quot;412&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;This is how we need to convert data from one unit to another .&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;So let&amp;#39;s get started :)&lt;span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/10/post-7-build-unit-converter-using-java.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/1661815519408636790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/10/post-7-build-unit-converter-using-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/1661815519408636790'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/1661815519408636790'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/10/post-7-build-unit-converter-using-java.html' title='Post 7 -  Build Unit Converter using Java'/><author><name>Rucha Sheth</name><uri>http://www.blogger.com/profile/17424255273480707079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEgt8XC0qsnaywK7BufaT8r5ag8YG6N062ZEssyWOhIu91_4Di82AJLwm08Bj6eK9bvVMQNg_BV_kIHtJLqc-xuzsVl0m0bQvOsIYOZmQDHYZ5NefqDyf9bPVGsVb-3qrRRiJrTIvaAQ0ygTDMXNQZxgJnJZbw-XSc2RApql7HzYr2SYGAFhN569Xt8L=s72-w400-h224-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-8444417683448794863</id><published>2020-09-29T13:20:00.008+05:30</published><updated>2021-04-03T13:38:18.509+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Basics"/><title type='text'>Post 6 - Number Guessing Game using Java</title><content type='html'>Today we will learn to build Number Guessing Game using Java .&lt;div&gt;&lt;br&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;✅ Problem Statement :&lt;/h3&gt;&lt;div&gt;Build a Number Guessing Game in which Player ( Computer ) has to keep one number from 1 - 10 in his mind and Player 2 ( User ) will try to guess that number . &lt;/div&gt;&lt;div&gt;Twist is Player 2 will get only 3 attempts to guess the correct number. If he failed to guess correct number other player will win the game.&lt;/div&gt;&lt;div&gt;Player 2 can play game as many times as he want. &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span&gt;Interesting ❓  Let&amp;#39;s get Started &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span&gt;😉&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;✅ Concepts Covered in This Post :&lt;/h3&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Importing java.lang.Math package&lt;/li&gt;&lt;li&gt;Use of Math.random ( )&lt;/li&gt;&lt;li&gt;Do.. While ( ) Looping Statement  &lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/09/post-6-number-guessing-game-using-java.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/8444417683448794863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/09/post-6-number-guessing-game-using-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/8444417683448794863'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/8444417683448794863'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/09/post-6-number-guessing-game-using-java.html' title='Post 6 - Number Guessing Game using Java'/><author><name>Rucha Sheth</name><uri>http://www.blogger.com/profile/17424255273480707079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE5VgltZThPqc7NWnJLlHMEZNOpJpM_DN3H2NOOmtAm6ECEXfMn8DTB3VuPyrAmA8RuAATSuWKRgBhFS-kcePsB9eJi5xYEB735PLke7ytx6gii7Y4JANGuIabxct0P4ER_kHr4SRc6oA/s72-c/Screenshot+%252882%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-5762256166149515703</id><published>2020-09-27T00:02:00.358+05:30</published><updated>2021-03-28T16:40:21.396+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'> Build Tic Tac Toe Game  using Python</title><content type='html'>&lt;h2 style=&quot;text-align: left;&quot;&gt;💥Build &amp;quot;Tic Tac Toe&amp;quot; Game using Python&lt;/h2&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Introduction of this game :-&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Tic Tac Toe game it is paper and pencil game for two players , &amp;#39;X&amp;#39; and &amp;#39;O&amp;#39; who take turns marking the spaces&lt;span face=&quot;-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji&quot; style=&quot;color: #212529;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;i&gt; &lt;/i&gt;in 3x3 grid.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;A game in which two players alternately put crosses and circles in one of the compartments of a square grid of nine spaces.&lt;/li&gt;&lt;li&gt;The player who succeeds in placing three of their same marks in a horizontal , vertical or diagonal row is the winner.     &lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;🤔Consider there are two players - User and Computer , &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;#39;X&amp;#39;&lt;/span&gt;&lt;/b&gt; is assigned to&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt; user &lt;/span&gt;&lt;/b&gt;and &lt;b&gt;&lt;span style=&quot;color: #800180;&quot;&gt;&amp;#39;O&amp;#39;&lt;/span&gt;&lt;/b&gt; is assigned to &lt;span&gt;&lt;b style=&quot;color: #800180;&quot;&gt;computer . &lt;/b&gt;If they play as shown below , the &lt;/span&gt;winner will be &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;user&lt;/b&gt;&lt;/span&gt; .             &lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;          &lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/09/build-tic-tac-toe-game-using-python.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/5762256166149515703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/09/build-tic-tac-toe-game-using-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/5762256166149515703'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/5762256166149515703'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/09/build-tic-tac-toe-game-using-python.html' title=' Build Tic Tac Toe Game  using Python'/><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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8tTNa6JOx1ehPotlPix4smBNforcCtcGwVNra5kHbgFSgJ2-nL__6qcdiV7TKtc-RBs2NdWBdzJZtGJDpHtrFv6EfR3SgaupFYOBpjHHeJB9ZpC3CryHhcwMdYymIYF6Fy7Ijst5zj-Yj/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-7580920014284384910</id><published>2020-09-19T18:07:00.439+05:30</published><updated>2020-09-20T17:26:33.880+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Build Rock Paper,Scissors Game Using Python</title><content type='html'>&lt;h2 style=&quot;text-align: left;&quot;&gt;Welcome to the Blog !! Let&amp;#39;s build a &amp;quot;Rock Paper Scissors Game&amp;quot; by using Python. &lt;/h2&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;In this tutorial we will used some basics concept of python like ,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;👉While Loop&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;👉If - Else Statement&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;✅ &lt;/span&gt;&lt;span style=&quot;color: #444444; font-size: large;&quot;&gt;Problem Statement :&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span&gt;&lt;b&gt;To Build a &amp;quot;Rock Paper Scissors&amp;quot; Game.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Input -&lt;/span&gt;&lt;/b&gt; The list contain a string like , [&amp;quot;rock&amp;quot;,&amp;quot;paper&amp;quot;,&amp;quot;scissors&amp;quot;].&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;color: #04ff00;&quot;&gt;Output -&lt;/span&gt;&lt;/b&gt; The output will be display in the form of &amp;quot;You Lose or You Win&amp;quot;.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;div&gt;💭 &lt;b&gt;&lt;u&gt;Concept of game :&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt; In this game only two players can be participated and both can simultaneously play the  game. &lt;/li&gt;&lt;li&gt; &lt;b&gt;Rock&lt;/b&gt; can be referred as simple fist.  &lt;/li&gt;&lt;li&gt; &lt;b&gt;Paper&lt;/b&gt; can be referred to a flat hand.  &lt;/li&gt;&lt;li&gt; &lt;b&gt;Scissor &lt;/b&gt;can be referred as a fist with the index and middle of two fingers in the &amp;#39;v&amp;#39; form.    &lt;/li&gt;&lt;/ul&gt;          &lt;b&gt; &lt;span style=&quot;color: red;&quot;&gt;Rules:&lt;/span&gt; &lt;/b&gt;                 &lt;div&gt;                 * Rock beats Scissors&lt;/div&gt;&lt;div&gt;                 * Scissors beats Paper&lt;/div&gt;&lt;div&gt;                 * Paper beats Rock.&lt;/div&gt;&lt;div&gt; &lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/09/build-rock-paperscissors-game-using.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/7580920014284384910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/09/build-rock-paperscissors-game-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/7580920014284384910'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/7580920014284384910'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/09/build-rock-paperscissors-game-using.html' title='Build Rock Paper,Scissors Game Using Python'/><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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5ERonp8ncdBmpiSjK-IZlQbhu0g5r0mhWNG_1WpM60HfQlfNDaTgnNjxtqZsush3Q0-KwR4eALRX08yw2gHsBM5KgcSQ-j1dynjo5i2wtgQJXRc-EtZo5rzasGYvN46BnauZWEGLNMp2C/s72-w529-h143-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-7335604038916965200</id><published>2020-09-17T18:00:00.015+05:30</published><updated>2021-10-10T20:39:33.394+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Basics"/><title type='text'>Post 5 - Build BMI Calculator using Java </title><content type='html'>&lt;div&gt;Welcome to the Blog !! Today we will learn to build our own BMI (Body Mass Index) calculator which will help us to decide our BMI Category (Underweight ,  Normal Weight ,  Overweight , Obesity). &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 1.05em;&quot;&gt;✅ Problem Statement :&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 1.05em;&quot;&gt;Build a BMI calculator which will take &lt;/span&gt;&lt;span style=&quot;color: #990000; font-size: 1.05em;&quot;&gt;height and weight&lt;/span&gt;&lt;span style=&quot;font-size: 1.05em;&quot;&gt; of a person as an &lt;/span&gt;&lt;span style=&quot;color: #990000; font-size: 1.05em;&quot;&gt;input&lt;/span&gt;&lt;span style=&quot;font-size: 1.05em;&quot;&gt; and displays calculated &lt;/span&gt;&lt;span style=&quot;color: #990000; font-size: 1.05em;&quot;&gt;BMI and BMI Category&lt;/span&gt;&lt;span style=&quot;font-size: 1.05em;&quot;&gt; as an &lt;/span&gt;&lt;span style=&quot;color: #990000; font-size: 1.05em;&quot;&gt;Output&lt;/span&gt;&lt;span style=&quot;font-size: 1.05em;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 1.05em;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 16.8px;&quot;&gt;🔴 &lt;/span&gt;&lt;span style=&quot;font-size: 1.05em;&quot;&gt;BMI Categories :&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: 1.05em;&quot;&gt;&lt;b&gt;Underweight&lt;/b&gt; - If BMI &amp;lt;=18.5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: 1.05em;&quot;&gt;&lt;b&gt;Normal Weight &lt;/b&gt;- If BMI is in between 18.6 - 24.9&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: 1.05em;&quot;&gt;&lt;b&gt;Overweight&lt;/b&gt; - If BMI is in between 25 - 29.9&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: 16.8px;&quot;&gt;&lt;b&gt;Obesity &lt;/b&gt;- If BMI is greater than 30 &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/09/post-5-build-bmi-calculator-using-java.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/7335604038916965200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/09/post-5-build-bmi-calculator-using-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/7335604038916965200'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/7335604038916965200'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/09/post-5-build-bmi-calculator-using-java.html' title='Post 5 - Build BMI Calculator using Java '/><author><name>Rucha Sheth</name><uri>http://www.blogger.com/profile/17424255273480707079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghw_fqOQ_a-Z8HSh-8ULY_6TU5AjtV91LHqaNXBUixileLMhZ4n3IsLAVurBX93XEN8QsD0-EMzrxLaaQQt3ECHcHGNhVmy-FG_R0EYLmtWPSNjrqNv_nwPYaUKs5cTCPmB0djCMX0HfQ/s72-c/Screenshot+%252875%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-6416235666286945986</id><published>2020-09-11T12:17:00.005+05:30</published><updated>2020-09-11T12:21:16.573+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Part 2: Dictionaries, Sets</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large; font-weight: normal;&quot;&gt;&lt;b&gt;Welcome to the blog !!! Let&amp;#39;s begin our journey of learning python by understanding some simple basic concepts.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #4c1130;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;In this tutorial you’ll learn basics of the Python programming language.
 The second part covers dictionaries, sets.&lt;span style=&quot;font-weight: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;The
 tutorial uses Python IDLE for Python development environment. 
If you have not installed Python yet take a look at &lt;a class=&quot;cn dq lf lg lh li&quot; href=&quot;https://thecodingbuddy.blogspot.com/2020/08/install-python-on-windows-python-3x.html&quot; rel=&quot;noopener nofollow&quot; target=&quot;_blank&quot;&gt;Install Python 3.X On Windows – Python Installation Guide  💻&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 class=&quot;jr js hm cu fl jt ju jv jw jx jy jz ka kb kc kd ke kf kg kh ki cw&quot; data-selectable-paragraph=&quot;&quot; id=&quot;da11&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #20124d;&quot;&gt;Dictionaries&lt;/span&gt;&lt;/h2&gt;&lt;div style=&quot;text-align: left;&quot;&gt;The next important data structure which is supported by Python is a 
dictionary. In comparison to a list each element within a dictionary is 
made up of two parts: key and value. To define a list we’re using the 
following syntax:&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja0xrqEhZmr82O7L7HZvZ0rjHKYQ02Sgzypk3SSq6hjHnXmZ27DPd_OkfI65BboktlLRXOvF-SX9_AeJgNmjKNJkzAxbzTpwxT7DEDevjVUZK_5b8VvO6nvwfODKSl8Lx-eCPDAu8SIPU/s335/1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;18&quot; data-original-width=&quot;335&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja0xrqEhZmr82O7L7HZvZ0rjHKYQ02Sgzypk3SSq6hjHnXmZ27DPd_OkfI65BboktlLRXOvF-SX9_AeJgNmjKNJkzAxbzTpwxT7DEDevjVUZK_5b8VvO6nvwfODKSl8Lx-eCPDAu8SIPU/s320/1.png&quot; width=&quot;320&quot;&gt;&lt;/a&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/09/part-2-dictionaries-sets.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/6416235666286945986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/09/part-2-dictionaries-sets.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/6416235666286945986'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/6416235666286945986'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/09/part-2-dictionaries-sets.html' title='Part 2: Dictionaries, Sets'/><author><name>Chaitanya</name><uri>http://www.blogger.com/profile/17390059917950182866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja0xrqEhZmr82O7L7HZvZ0rjHKYQ02Sgzypk3SSq6hjHnXmZ27DPd_OkfI65BboktlLRXOvF-SX9_AeJgNmjKNJkzAxbzTpwxT7DEDevjVUZK_5b8VvO6nvwfODKSl8Lx-eCPDAu8SIPU/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-1111023935574269909</id><published>2020-08-25T20:17:00.003+05:30</published><updated>2020-09-08T19:30:34.048+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Part 1: Variables, Strings, Lists</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;b&gt;Welcome to the blog !!! Let&amp;#39;s begin our journey of learning python by understanding some simple basic concepts.&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;In this tutorial you’ll learn basics of the Python programming language.
 The first part covers variables, strings, lists.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;The
 tutorial uses Python IDLE for Python development environment. 
If you have not installed Python yet take a look at &lt;a class=&quot;cn dq lf lg lh li&quot; href=&quot;https://thecodingbuddy.blogspot.com/2020/08/install-python-on-windows-python-3x.html&quot; rel=&quot;noopener nofollow&quot; target=&quot;_blank&quot;&gt;Install Python 3.X On Windows – Python Installation Guide  💻&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;&lt;span&gt;Let’s start with printing out our first statement - &amp;quot;Hello World&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;i class=&quot;le&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h4&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/part-1-variables-strings-lists.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/1111023935574269909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/part-1-variables-strings-lists.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/1111023935574269909'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/1111023935574269909'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/part-1-variables-strings-lists.html' title='Part 1: Variables, Strings, Lists'/><author><name>Chaitanya</name><uri>http://www.blogger.com/profile/17390059917950182866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaW9bpzYf5txHNkzFwX8YtdLwWCzX-k5IrZyXG_GAC_r3msgomam1vqZV5YAcYPy20-U1cvWZYDqMy4XfVJdW7jLVCiTiAXyNzMf19MeIGyqHEggjcKWObvid6__698iMj6LIh3rxXBaE/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Mumbai, Maharashtra, India</georss:featurename><georss:point>19.0759837 72.8776559</georss:point><georss:box>-12.597639592850605 37.721405899999993 50.7496069928506 108.0339059</georss:box></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-2223163923900705583</id><published>2020-08-21T14:20:00.003+05:30</published><updated>2021-04-03T13:36:16.585+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Basics"/><title type='text'>Post 4 - Build a Student&#39;s Result Generator System using Java</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;Welcome to the blog !! Learning the concepts is easy but applying the same to solve problems is quite challenging task. So we will try to apply all the things learnt in all the previous posts to help teachers by building &lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Student&amp;#39;s Result Generator System.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Check previous posts here - &lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/build-simple-calculator-using-java.html&quot; target=&quot;_blank&quot;&gt;Post 1&lt;/a&gt;&lt;span style=&quot;color: #04d28d;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #04d28d;&quot;&gt; &lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/build-email-generator-using-java.html&quot; target=&quot;_blank&quot;&gt;Post 2&lt;/a&gt;&lt;/span&gt; , &lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/project-3-build-magicians-number-finder.html&quot; target=&quot;_blank&quot;&gt;Post 3&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;✅ &lt;b&gt;Problem Statement:&lt;/b&gt;&lt;/h4&gt;&lt;div&gt;Every Semester teachers manually calculate grade and percentages of student . They invest most of their time to accurately calculate result of each and every student. Today we will help them to automate this process by developing &lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Student&amp;#39;s Result Generator System&lt;/span&gt;&lt;/b&gt; which will automate the task of calculating grade and percentage of each student by entering marks obtained in each subject . We need to follow marking scheme given by teacher to assign grades .&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/post-4-build-students-result-generator.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/2223163923900705583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/post-4-build-students-result-generator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/2223163923900705583'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/2223163923900705583'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/post-4-build-students-result-generator.html' title='Post 4 - Build a Student&#39;s Result Generator System using Java'/><author><name>Rucha Sheth</name><uri>http://www.blogger.com/profile/17424255273480707079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-60J_MJMKtd-1bbAGSrP_GgbcBUBAIiXeznaugSN6_rHm_A0jzKkMR3heR7I0eSH6N72LjXgf9r9dcHJbffn4ELcU2Tllv1w3RCLaJtnpAy_uq6PibO2zmWtT4Kc6Qz0EMl2ZcIV7XDc/s72-c/Screenshot+%252856%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-7135575559877562430</id><published>2020-08-20T18:39:00.036+05:30</published><updated>2021-01-02T15:12:36.061+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="Python Installation"/><title type='text'>Install Python 3.X On Windows – Python Installation Guide  💻</title><content type='html'>&lt;div&gt;&lt;h2&gt;&lt;span&gt;&lt;b&gt;Install Python on Windows&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;In this Install Python on Windows blog, we will look at how easy it is to get started with setting up and installing Python on Windows. It involves a few simple steps to get you started with Python for Windows quickly&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/install-python-on-windows-python-3x.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/7135575559877562430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/install-python-on-windows-python-3x.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/7135575559877562430'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/7135575559877562430'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/install-python-on-windows-python-3x.html' title='Install Python 3.X On Windows – Python Installation Guide  💻'/><author><name>Chaitanya</name><uri>http://www.blogger.com/profile/17390059917950182866</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3uvS7i2tLsOO_7IS15IIO4K7AsWxrO8gvuRghMNm443kLMT0K1XwjAHmrX8KkD2JNfK_V8rCUa0XCDjwIfUR0Y0SdB_0M6D4XHWIMNC5NqYeXLPnCnYii0yMA5HUl7QrBIwCtUkautcM/s72-c/python.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Mumbai, Maharashtra, India</georss:featurename><georss:point>19.0759837 72.8776559</georss:point><georss:box>-9.2342501361788472 37.721405899999993 47.386217536178847 108.0339059</georss:box></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-2587579889793288487</id><published>2020-08-13T19:25:00.019+05:30</published><updated>2021-04-03T13:35:16.064+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Basics"/><title type='text'>Post 3 - Build a Magician&#39;s Number Finder System using Java</title><content type='html'>&lt;p&gt; Welcome to the blog !!  There is no shortcut to the success. Small daily improvements over time lead to great success. So let&amp;#39;s improve knowledge of Java language to become master in java programming.&lt;/p&gt;&lt;p&gt;I will recommend you to go through my previous posts - &lt;b&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/build-simple-calculator-using-java.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;Build Simple Calculator&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #990000;&quot;&gt;  &lt;/span&gt;&lt;/b&gt;and  &lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/build-email-generator-using-java.html&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #800180;&quot;&gt;Build Email Generator&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;  &lt;/p&gt;&lt;p&gt;Today , we will learn to build &lt;span style=&quot;color: #990000; font-weight: bold;&quot;&gt;Magician&amp;#39;s Number Finder System &lt;/span&gt;&lt;span&gt;using some concepts of Java.&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;✅ &lt;b&gt;Problem Statement:&lt;/b&gt;&lt;/h4&gt;&lt;div&gt;The king of Devpur village wants to find Magician&amp;#39;s Number from given collection of numbers but he is not expert in mathematics so he require a system which will automatically find Magicians Number from given numbers.&lt;/div&gt;&lt;div&gt;King told that Number is called Magician&amp;#39;s Number only if it is Multiple of 7.&lt;/div&gt;&lt;span&gt;&lt;/span&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/project-3-build-magicians-number-finder.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/2587579889793288487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/project-3-build-magicians-number-finder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/2587579889793288487'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/2587579889793288487'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/project-3-build-magicians-number-finder.html' title='Post 3 - Build a Magician&#39;s Number Finder System using Java'/><author><name>Rucha Sheth</name><uri>http://www.blogger.com/profile/17424255273480707079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi11q1fa8LOOAajfnT0to1NQMWP3JE3jZoXEmshTgCOX_tlv4534eUbNZ1aSxU3hR-EHI075-8YioOmEuJ_Ja6jQIlLmrs6isCy6i1fHz-jJpSjKuGo-piXWisK3I-IrcaEv5h7FloyOFs/s72-c/Screenshot+%252840%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-3462025300800773586</id><published>2020-08-08T20:28:00.022+05:30</published><updated>2021-04-03T13:34:02.684+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Basics"/><title type='text'>Post 2 - Build Email Generator using Java </title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;Welcome to the blog !!&lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; It takes years of consistent practice to become an expert. So lets practice java programming regularly and Be Stronger Than Yesterday 💪👍&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Before we start with another tutorial, make sure you have basic knowledge of java as well as Eclipse platform and if you still think you need to brush up the basics of java , please check my previous post &lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/build-simple-calculator-using-java.html&quot; target=&quot;_blank&quot;&gt;&lt;font color=&quot;#ff0000&quot;&gt;&lt;b&gt;here&lt;/b&gt;&lt;/font&gt;&lt;/a&gt; .&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Today , we will learn to build &lt;font color=&quot;#990000&quot;&gt;&lt;b&gt;Email Generator&lt;/b&gt;&lt;/font&gt; using some java concepts .&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span face=&quot;&quot; style=&quot;background-color: white;&quot;&gt;&lt;font size=&quot;3&quot;&gt;✅&lt;/font&gt;&lt;font size=&quot;5&quot;&gt; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;Problem Statement:&lt;/b&gt;&lt;/h4&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;font face=&quot;inherit&quot;&gt;The &amp;#39;Java Tutor Company&amp;#39; provide mail-Id to their newly joined employees in the specific format.&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;font face=&quot;inherit&quot;&gt;Suppose Mr. John Nielsen join the company and his birth date is 15th Aug , the mail-id assigned to him is-  john.nielsen.1508@javatutor.com.&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;font face=&quot;inherit&quot;&gt;Our task is to build a system which will help company to automate this task by generating mail-id after successfully completing registration process.&lt;span&gt; &lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/build-email-generator-using-java.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/3462025300800773586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/build-email-generator-using-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/3462025300800773586'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/3462025300800773586'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/build-email-generator-using-java.html' title='Post 2 - Build Email Generator using Java '/><author><name>Rucha Sheth</name><uri>http://www.blogger.com/profile/17424255273480707079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhVBFnJ-zuB-6MhJ_Gn9yGyyV2G8CTfaufnKKoTC3CeoDq9q8YBJHydj3duXpn23wDMz9jP_dlPfg82_rNF2_mPPGHP4QYqYHEbYN5_DKp7TspoahHSrvyk0n1vhr-VTEi5uGcKNxuxgM/s72-c/Screenshot+%25286%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-3175094368296924756</id><published>2020-08-03T22:39:00.002+05:30</published><updated>2021-04-03T13:32:44.381+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Basics"/><title type='text'>Post 1 - Build Simple Calculator using Java</title><content type='html'>Welcome to the blog !!&lt;div&gt;&lt;font color=&quot;#20124d&quot;&gt;There is no better way to learn any programming language than building projects. We must able to apply whatever we learn theoretically.&lt;/font&gt; So let&amp;#39;s learn java by building projects .&lt;/div&gt;&lt;div&gt; Today we will learn to build a &lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;b&gt;Simple Calculator&lt;/b&gt;&lt;/span&gt; using some simple concepts of Java.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;✅ Problem Statement:&lt;/b&gt;&lt;/h4&gt;&lt;div&gt;Build a system which will perform some basic mathematical operations like addition, subtraction, multiplication, division, etc. &lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/build-simple-calculator-using-java.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/3175094368296924756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/build-simple-calculator-using-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/3175094368296924756'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/3175094368296924756'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/build-simple-calculator-using-java.html' title='Post 1 - Build Simple Calculator using Java'/><author><name>Rucha Sheth</name><uri>http://www.blogger.com/profile/17424255273480707079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhVBFnJ-zuB-6MhJ_Gn9yGyyV2G8CTfaufnKKoTC3CeoDq9q8YBJHydj3duXpn23wDMz9jP_dlPfg82_rNF2_mPPGHP4QYqYHEbYN5_DKp7TspoahHSrvyk0n1vhr-VTEi5uGcKNxuxgM/s72-c/Screenshot+%25286%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-93079094805563891</id><published>2020-08-02T19:37:00.002+05:30</published><updated>2020-09-12T15:58:49.946+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Introduction to Java (Part 2) - Take Input from User in Java</title><content type='html'>&lt;p&gt;In the last post we learned how to write class, how to import packages, how to print output in java .Now by moving one step ahead , we will learn to take input from user in java.&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;✅ Take Input in Java -&lt;/h3&gt;&lt;div&gt;You can take input from user using several ways . In this tutorial , we will learn to take input from user using &lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Object of&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Scanner Class&lt;/span&gt;.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: red; font-size: medium;&quot;&gt;⮚&lt;/span&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt; &lt;/span&gt;&lt;/b&gt;For this we need to import &lt;b&gt;java.util.Scanner&lt;/b&gt; package&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/introduction-to-java-part-2-take-input.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/93079094805563891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/introduction-to-java-part-2-take-input.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/93079094805563891'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/93079094805563891'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/introduction-to-java-part-2-take-input.html' title='Introduction to Java (Part 2) - Take Input from User in Java'/><author><name>Rucha Sheth</name><uri>http://www.blogger.com/profile/17424255273480707079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgntWD6x7_9xzgu_l1T6HmUYedWWhlZ7PtkcsSncEhUythb2Ivwiq_DTveEglFdIiH3IXAiKpXWVrrOU6LzFDFJbA8YvbW-V226ONUKHy0ixXKegqKT7DH_JPUocD3TRnaOOrMyFEaImXo/s72-w500-h299-c/Screenshot+%252868%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-131891764837635913.post-5625690871470702742</id><published>2020-08-01T13:01:00.416+05:30</published><updated>2020-09-08T19:27:53.859+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Introduction to Java (Part 1) - Your First Java Program </title><content type='html'>Before we start actual coding, let me introduce you with some basic things of java . This will definitely help you to write your very first code using Java . &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;JAVA is an Object Oriented Programming Language . So you need to write your whole java code &lt;b&gt;inside the Class.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;b&gt;You need to pre-install Java on your machine. You can either run your program using command line or by installing any editor like Eclipse or you can simply use online editor like &lt;/b&gt;&lt;/span&gt; &lt;b&gt;&lt;span style=&quot;color: #800180;&quot;&gt;&lt;a href=&quot;https://www.onlinegdb.com/online_java_compiler&quot; target=&quot;_blank&quot;&gt;Onlinegdb&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href=&quot;https://thecodingbuddy.blogspot.com/2020/08/introduction-to-java-your-first-java.html#more&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;


Read More on 👉 https://thecodingbuddy.blogspot.com &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://thecodingbuddy.blogspot.com/feeds/5625690871470702742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/introduction-to-java-your-first-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/5625690871470702742'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/131891764837635913/posts/default/5625690871470702742'/><link rel='alternate' type='text/html' href='https://thecodingbuddy.blogspot.com/2020/08/introduction-to-java-your-first-java.html' title='Introduction to Java (Part 1) - Your First Java Program '/><author><name>Rucha Sheth</name><uri>http://www.blogger.com/profile/17424255273480707079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjctqhbFQhDadgwyjT3bWJfx0Cfvek6QMvHV0CZJ6I2Zo2leW4rS7I8Nnq6muKt2YsACcu1FlXGXpaZxmXPc74_Er_Qs2lD71NJJLv7buAoHR7Az3NDJ9NSYhBDpos_WAlQbJTrh6OMDdc/s72-c/Screenshot+%252861%2529.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>