<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>First comparative paper by Faizan Warsi</title>
      <link>https://padlet.com/faizanwarsi/ifmaz69bvbopsl2v</link>
      <description>solution</description>
      <language>en-us</language>
      <pubDate>2021-07-19 07:08:51 UTC</pubDate>
      <lastBuildDate>2026-01-24 06:55:14 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>question 4</title>
         <author>faizanwarsi</author>
         <link>https://padlet.com/faizanwarsi/ifmaz69bvbopsl2v/wish/1654501831</link>
         <description><![CDATA[<div>Question 4(Arnav)<br>import java.util.*;<br>class UserInputDemo.<br>{<br>public static void main()<br>{<br>&nbsp;Scanner sc= new Scanner(System.in);<br>&nbsp;System.out.print("Enter first number- ");<br>&nbsp;int monthlyincome= sc.nextInt();<br>&nbsp;double annualincome=monthlyincome*12,taxrate,healtheducation,nettax;<br>&nbsp;if(annualincome&lt;=250000)<br>&nbsp;{<br>&nbsp;System.out.println("Net tax = Nil")<br>&nbsp;}<br>&nbsp;if(annualincome&gt;=250000 &amp;&amp; annualincome&lt;500000)<br>&nbsp;{<br>&nbsp;taxrate=annualincome*5/100;<br>&nbsp;healtheducation=taxraate*4.0/100.0;<br>&nbsp;nettax=taxrate+healtheducation;<br>&nbsp;System.out.println("Annual Income ="+ annualincome);<br>&nbsp;System.out.println("Net Tax = "+ nettax)<br>&nbsp;}<br>&nbsp;if(annualincome&gt;=500000 &amp;&amp; annualincome&lt;1000000)<br>&nbsp;{<br>&nbsp;taxrate=annualincome*5/100;<br>&nbsp;healtheducation=taxraate*4.0/100.0;<br>&nbsp;nettax=taxrate+healtheducation;<br>&nbsp;System.out.println("Annual Income ="+ annualincome);<br>&nbsp;System.out.println("Net Tax = "+ nettax)<br>&nbsp;}<br>&nbsp;if(annualincome&gt;=1000000)<br>&nbsp;{<br>&nbsp;taxrate=annualincome*5/100;<br>&nbsp;healtheducation=taxraate*4.0/100.0;<br>&nbsp;nettax=taxrate+healtheducation;<br>&nbsp;System.out.println("Annual Income ="+ annualincome);<br>&nbsp;System.out.println("Net Tax = "+ nettax)<br>&nbsp;}<br>}<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-07-19 07:17:31 UTC</pubDate>
         <guid>https://padlet.com/faizanwarsi/ifmaz69bvbopsl2v/wish/1654501831</guid>
      </item>
      <item>
         <title>question 5</title>
         <author>faizanwarsi</author>
         <link>https://padlet.com/faizanwarsi/ifmaz69bvbopsl2v/wish/1654504719</link>
         <description><![CDATA[<div>//<strong>(</strong><strong><mark>MOHAK BISARIA</mark></strong><strong>)<br>import java.util.Scanenr;&nbsp;<br>class Niven_number<br>{<br>&nbsp; &nbsp; &nbsp;void main()<br>&nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;int s = 0;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;int t = num;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;While(t!=0)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int digit = t%10;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s=s+digit;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;t=t/10;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(num%s==0)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.out.println("it is a Niven no.");<br>else<br>System.out.println("not a Niven no.");<br>}}</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-07-19 07:21:18 UTC</pubDate>
         <guid>https://padlet.com/faizanwarsi/ifmaz69bvbopsl2v/wish/1654504719</guid>
      </item>
      <item>
         <title>Question 6</title>
         <author>faizanwarsi</author>
         <link>https://padlet.com/faizanwarsi/ifmaz69bvbopsl2v/wish/1654508890</link>
         <description><![CDATA[<div><strong>//Lalita</strong><br><strong>import java.util.*;<br>class Frequency<br>{<br>&nbsp; &nbsp; &nbsp;void main()<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; Scanner sc=new Scanner(System.in);<br>&nbsp; &nbsp; &nbsp; &nbsp; int number,i,count,digit,temp;<br>&nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Enter any Number : ");<br>&nbsp; &nbsp; &nbsp; &nbsp; number=sc.nextInt();<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.out.println("Digit\tFrequency");<br>&nbsp; &nbsp; &nbsp; &nbsp; for(i=0;i&lt;=9;i++)<br>&nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; count=0;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; temp=number;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while(temp&gt;0)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; digit=temp%10;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(digit==i)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; count++;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; temp=temp/10;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(count&gt;0)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(i+"\t"+count);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; }<br>}</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-07-19 07:26:34 UTC</pubDate>
         <guid>https://padlet.com/faizanwarsi/ifmaz69bvbopsl2v/wish/1654508890</guid>
      </item>
      <item>
         <title>Question 7</title>
         <author>faizanwarsi</author>
         <link>https://padlet.com/faizanwarsi/ifmaz69bvbopsl2v/wish/1654517773</link>
         <description><![CDATA[<div><strong>//MOHAK<br>import java.util.Scanner;<br>class examm<br>&nbsp;{<br>&nbsp; &nbsp;void main()<br>&nbsp; &nbsp;{&nbsp;<br>&nbsp; &nbsp; &nbsp;Scanner ob = new Scanner(System.in);<br>&nbsp; &nbsp; &nbsp;int s = 0;<br>&nbsp; &nbsp; &nbsp; System.out.println("Enter 1 to see a pattern");<br>&nbsp; &nbsp; &nbsp; System.out.println("Enter 2 to calculate the sum of 1+3+5....till 10th term");<br>&nbsp; &nbsp; &nbsp; int n= ob.nextInt();<br><br>&nbsp; &nbsp; &nbsp; switch(n)<br>&nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; case 1:<br>&nbsp; &nbsp; &nbsp; &nbsp; for(int i=1;i&lt;=5;i++)<br>&nbsp; &nbsp; &nbsp; &nbsp; {&nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(int j=5;j&gt;=i;j--)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(j +&nbsp; " ");<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Syste,.out.println();<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>&nbsp; &nbsp; &nbsp; &nbsp; break;<br>&nbsp; &nbsp; &nbsp; &nbsp; case 2:<br>&nbsp; &nbsp; &nbsp; &nbsp; for(int a =1;a&lt;=20;a+=2)<br>&nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s=s+a;}<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Sum = " + s);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;default:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.out.pritnln("you have entered wrong choice");<br>}}}<br>&nbsp;<br>&nbsp; &nbsp;</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-07-19 07:38:11 UTC</pubDate>
         <guid>https://padlet.com/faizanwarsi/ifmaz69bvbopsl2v/wish/1654517773</guid>
      </item>
      <item>
         <title>Question 9</title>
         <author>faizanwarsi</author>
         <link>https://padlet.com/faizanwarsi/ifmaz69bvbopsl2v/wish/1654519582</link>
         <description><![CDATA[<div>//<strong>Zakia<br>import java.util.Scanner;<br>class examm<br>&nbsp;{<br>&nbsp; &nbsp;void main()<br>&nbsp; &nbsp;{&nbsp;<br>&nbsp; &nbsp; &nbsp;Scanner ob = new Scanner(System.in);<br>&nbsp; &nbsp; &nbsp;int s = 0;<br>&nbsp; &nbsp; &nbsp; System.out.println("Enter 1 to see a pattern");<br>&nbsp; &nbsp; &nbsp; System.out.println("Enter 2 to calculate the sum of 1+3+5....till 10th term");<br>&nbsp; &nbsp; &nbsp; int n= ob.nextInt();<br><br>&nbsp; &nbsp; &nbsp; switch(n)<br>&nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; case 1:<br>&nbsp; &nbsp; &nbsp; &nbsp; for(int i=1;i&lt;=5;i++)<br>&nbsp; &nbsp; &nbsp; &nbsp; {&nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(int j=5;j&gt;=i;j--)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(j +&nbsp; " ");<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Syste,.out.println();<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>&nbsp; &nbsp; &nbsp; &nbsp; break;<br>&nbsp; &nbsp; &nbsp; &nbsp; case 2:<br>&nbsp; &nbsp; &nbsp; &nbsp; for(int a =1;a&lt;=20;a+=2)<br>&nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s=s+a;}<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Sum = " + s);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;default:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.out.pritnln("you have entered wrong choice");<br>}}}<br>&nbsp;<br>&nbsp; &nbsp;</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-07-19 07:40:33 UTC</pubDate>
         <guid>https://padlet.com/faizanwarsi/ifmaz69bvbopsl2v/wish/1654519582</guid>
      </item>
      <item>
         <title>Question 8</title>
         <author>faizanwarsi</author>
         <link>https://padlet.com/faizanwarsi/ifmaz69bvbopsl2v/wish/1655717372</link>
         <description><![CDATA[<div><strong>//Q8 Aamogh Sharma<br>import java.util.*<br>class num3<br>{<br>void enter()<br>{<br>Scanner sc = new Scanner(System.in);<br>System.out.println("Enter the number");<br>int n=sc.nextInt();<br>int count=0;<br>double sum=0.0;<br>while(n&gt;0)<br>{<br>if(n%3==0)<br>{count++;<br>sum+=n;}<br>System.out.println("Enter the number");n-sc.nextInt();}<br>System.out.println("Count is"+count);<br>System.out.println("Average is "+(sum/count));<br>}<br>}</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-07-20 07:09:30 UTC</pubDate>
         <guid>https://padlet.com/faizanwarsi/ifmaz69bvbopsl2v/wish/1655717372</guid>
      </item>
   </channel>
</rss>
