<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>User Defined Functions by Rekha Pradeep</title>
      <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2024-07-04 06:31:57 UTC</pubDate>
      <lastBuildDate>2024-07-04 08:31:16 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>Q1 Abhinav Jain</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045173623</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p>Scanner sc=new Scanner(System.in);</p><p>String car_type="";</p><p>double km , bill=0.0;</p><p>void accept()</p><p>{</p><p>System.out.println("Enter Distance Travelled in kms");</p><p>km=sc.nextDouble();</p><p>System.out.println("Enter Car Type");</p><p>car_type=sc.next();</p><p>}</p><p>void calculate()</p><p>{</p><p>if(car_type.equalsIgnoreCase("AC"))</p><p>{</p><p>if(km&lt;=5)</p><p>{</p><p>bill=150;</p><p>}</p><p>else</p><p>{</p><p>bill=150+(km-5)*10;</p><p>}</p><p>}</p><p>else if(car_type.equalsIgnoreCase("NON AC"))</p><p>{</p><p>if(km&lt;=5)</p><p>{</p><p>bill=120;</p><p>}</p><p>else</p><p>{</p><p>bill=120+(km-5)*8;</p><p>}</p><p>}</p><p>else</p><p>{</p><p>System.out.println("Wrong Input");</p><p>}</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("CAR TYPE: "+car_type);</p><p>System.out.println("DISTANCE: "+km);</p><p>System.out.println("BILL: "+bill);</p><p>}</p><p>void main()</p><p>{</p><p>CabService obj=new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:43:21 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045173623</guid>
      </item>
      <item>
         <title>Atharva Patil [Program 1]</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045173674</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService {</p><p>    String car_type;</p><p>    double km,bill;</p><p>    </p><p>    CabService(){</p><p>        car_type = "";</p><p>        km = 0.0;</p><p>        bill = 0.0;</p><p>    }</p><p>    </p><p>    void accept(){</p><p>        Scanner inp = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>        System.out.println("Enter Car Type:");</p><p>        car_type = inp.nextLine();</p><p>        System.out.println("Enter Distance:");</p><p>        km = inp.nextDouble();</p><p>    }</p><p>    </p><p>    void calculate(){</p><p>        if(car_type.equalsIgnoreCase("AC")){</p><p>            if(km&lt;=5){</p><p>                bill = 150;</p><p>            }</p><p>            else {</p><p>                bill = 150 + (km-5)*10;</p><p>            }</p><p>        }</p><p>        else {</p><p>            if(km&lt;=5){</p><p>                bill = 120;</p><p>            }</p><p>            else {</p><p>                bill = 120 + (km-5)*8;</p><p>            }</p><p>        }</p><p>    }</p><p>    </p><p>    void display(){</p><p>        System.out.println("CAR TYPE: " +car_type);</p><p>        System.out.println("KILOMETRES TRAVELLED: " +km);</p><p>        System.out.println("TOTAL BILL: " +bill);</p><p>    }</p><p>    </p><p>    void main (){</p><p>        CabService obj = new CabService();</p><p>        obj.accept();</p><p>        obj.calculate();</p><p>        obj.display();</p><p>    }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:43:25 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045173674</guid>
      </item>
      <item>
         <title>Maahish Shah-Program 1</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045173738</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>String car_type;</p><p>double km;</p><p>double bill;</p><p>CabService()</p><p>{</p><p>car_type="";</p><p>km=0.0;</p><p>bill=0.0;</p><p>}</p><p>void accept()</p><p>{</p><p>System.out.println("Enter Car Type");</p><p>car_type=sc.nextLine();</p><p>System.out.println("Enter Kilometres travelled");</p><p>bill=sc.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>if (car_type.equalsIgnoreCase(("AC CAR"))&amp;&amp; (km&lt;=5))</p><p>bill=150;</p><p>else if (car_type.equalsIgnoreCase(("AC CAR"))&amp;&amp; (km&gt;5))</p><p>bill=150+((km-5)*10);</p><p>else if (car_type.equalsIgnoreCase(("Non AC CAR"))&amp;&amp; (km&lt;=5))</p><p>bill=120;</p><p>else if (car_type.equalsIgnoreCase(("Non AC CAR"))&amp;&amp; (km&lt;=5))</p><p>bill=120+((km-5)*8);</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("CAR TYPE=" +car_type);</p><p>System.out.println("KILOMETER TRAVELLED=" +km);</p><p>System.out.println("TOTAL BILL=" +bill);</p><p>}</p><p>void main()</p><p>{</p><p>CabService obj=new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:43:31 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045173738</guid>
      </item>
      <item>
         <title>Aditi Shah- Program 1</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045173931</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p>String car_type;</p><p>double km,bill=0;</p><p>CabService()</p><p>{</p><p>car_type="";</p><p>km=0.0;</p><p>bill=0.0;</p><p>}</p><p>void accept()</p><p>{</p><p>    Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>    System.out.println("Enter Car Type");</p><p>    car_type=sc.nextLine();</p><p>    System.out.println("Enter km");</p><p>    km=sc.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>    if(car_type.equalsIgnoreCase("AC")&amp;&amp;(km&lt;=5))</p><p>    bill=150;</p><p>    else if(car_type.equalsIgnoreCase("AC")&amp;&amp;(km&gt;5))</p><p>    bill=150+(km-5)*10;</p><p>    else if(car_type.equalsIgnoreCase("Non AC")&amp;&amp;(km&lt;=5))</p><p>    bill=120;</p><p>    else if(car_type.equalsIgnoreCase("Non AC")&amp;&amp;(km&gt;5))</p><p>    bill=120+(km-5)*8;</p><p>}</p><p>void display()</p><p>{</p><p>    System.out.println("CAR TYPE :" +car_type);</p><p>    System.out.println("KILOMETER TRAVELLED :" +km);</p><p>    System.out.println("TOTAL BILL :" +bill);</p><p>}</p><p>void main()</p><p>{</p><p>    CabService obj=new CabService();</p><p>    obj.accept();</p><p>    obj.calculate();</p><p>    obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:43:47 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045173931</guid>
      </item>
      <item>
         <title>vighnesh</title>
         <author>tejasvikpatil</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174287</link>
         <description><![CDATA[<p>import java.util.*; </p><p>class CabService2 </p><p>{ </p><p>String car_type; </p><p>double km; </p><p>double bill; </p><p>void accept() </p><p>{ </p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>); </p><p>System.out.print("Enter car type: "); </p><p>car_type = sc.nextLine(); </p><p>System.out.print("Enter kilometer: "); </p><p>km = sc.nextDouble(); </p><p>} </p><p>   </p><p>void calculate() </p><p>{ </p><p>if(km&lt;=5) </p><p>{ </p><p>if(car_type.equals("AC")) </p><p>bill = 150; </p><p>else </p><p>bill = 120; </p><p>} </p><p>else </p><p>{ </p><p>if(car_type.equals("AC")) </p><p>bill=150+10*(km-5); </p><p>else </p><p>bill=120+8*(km-5); </p><p>} </p><p>} </p><p>void display() </p><p>{ </p><p>System.out.println("Car Type: " + car_type); </p><p>System.out.println("Kilometer Travelled: " + km); </p><p>System.out.println("Total Bill: " + bill); </p><p>} </p><p>     </p><p>static void main() </p><p>{ </p><p>CabService obj = new CabService(); </p><p>obj.accept(); </p><p>obj.calculate(); </p><p>obj.display(); </p><p>} </p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:44:18 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174287</guid>
      </item>
      <item>
         <title>Arnav Deherkar (Program 1)</title>
         <author>deherkararnav</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174564</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p> String car_type;</p><p> double km;</p><p> double bill;</p><p> </p><p> void accept()</p><p> {</p><p> Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p> System.out.print("Enter car type: ");</p><p> car_type = sc.nextLine();</p><p> System.out.print("Enter kilometer: ");</p><p> km = sc.nextDouble();</p><p> }</p><p> </p><p> void calculate()</p><p> {</p><p> if(km&lt;=5)</p><p> {</p><p> if(car_type.equals("AC"))</p><p> bill = 150;</p><p> else</p><p> bill = 120;</p><p> }</p><p> else</p><p> {</p><p> if(car_type.equals("AC"))</p><p> bill=150+10*(km-5);</p><p> else</p><p> bill=120+8*(km-5);</p><p> }</p><p> }</p><p> </p><p> void display()</p><p> {</p><p> System.out.println("Car Type: " + car_type);</p><p> System.out.println("Kilometer Travelled: " + km);</p><p> System.out.println("Total Bill: " + bill);</p><p> }</p><p> </p><p> static void main()</p><p> {</p><p> CabService obj = new CabService();</p><p> obj.accept();</p><p> obj.calculate();</p><p> obj.display();</p><p> }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:44:44 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174564</guid>
      </item>
      <item>
         <title> q1 Dhun jain</title>
         <author>avikavisht</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174590</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p>String car_type;</p><p>double km;</p><p>double bill;</p><p><br/></p><p>CabService() {</p><p>car_type = "";</p><p>km = 0.0;</p><p>bill = 0.0;</p><p>}</p><p><br/></p><p>void accept() {</p><p>Scanner in = new Scanner(System.in);</p><p>System.out.print("Enter car type: ");</p><p>car_type = in.nextLine();</p><p>System.out.print("Enter kilometer: ");</p><p>km = in.nextDouble();</p><p>}</p><p><br/></p><p>void calculate() {</p><p>if (km &lt;= 5) {</p><p>if (car_type.equals("AC"))</p><p>bill = 150;</p><p>else</p><p>bill = 120;</p><p>}</p><p>else {</p><p>if (car_type.equals("AC"))</p><p>bill = 150 + 10 * (km - 5);</p><p>else</p><p>bill = 120 + 8 * (km - 5);</p><p>}</p><p>}</p><p><br/></p><p>void display() {</p><p>System.out.println("Car Type: " + car_type);</p><p>System.out.println("Kilometer Travelled: " + km);</p><p>System.out.println("Total Bill: " + bill);</p><p>}</p><p><br/></p><p>static void main() {</p><p>CabService obj = new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:44:47 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174590</guid>
      </item>
      <item>
         <title>Harsh Gupta Q3</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174601</link>
         <description><![CDATA[<p>import java.util.*; class RailwayTicket { String name; String coach; long mobno; int amt; int totalamt; void accept() { Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>); System.out.print("Enter name: "); name = sc.nextLine(); System.out.print("Enter coach: "); coach = sc.nextLine(); System.out.print("Enter mobile no: "); mobno = sc.nextLong(); System.out.print("Enter amount: "); amt = sc.nextInt(); } void update() { if(coach.equalsIgnoreCase("First_AC")) totalamt = amt + 700; else if(coach.equalsIgnoreCase("Second_AC")) totalamt = amt + 500; else if(coach.equalsIgnoreCase("Third_AC")) totalamt = amt + 250; else if(coach.equalsIgnoreCase("Sleeper")) totalamt = amt; } void display() { System.out.println("Name: " + name); System.out.println("Coach: " + coach); System.out.println("Total Amount: " + totalamt); System.out.println("Mobile number: " + mobno); } static void main() { RailwayTicket obj = new RailwayTicket(); obj.accept(); obj.update(); obj.display(); } }</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:44:48 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174601</guid>
      </item>
      <item>
         <title>Janhavi Nagaonkar(Program 1)</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174689</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p>String car_type=" ";</p><p>double km;</p><p>double bill;</p><p>CabService()</p><p>{</p><p>car_type="";</p><p>km=0.0;</p><p>bill=0.0;</p><p>}</p><p>void accept()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter your car type(AC or NON AC)");</p><p>car_type=sc.nextLine();</p><p>System.out.println("Enter kilometer travelled");</p><p>km=sc.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>if(car_type.equalsIgnoreCase("AC"))</p><p>{</p><p>if(km&lt;=5)</p><p>bill=150;</p><p>else</p><p>bill=150+(km-5)*10;</p><p>}</p><p>else</p><p>{</p><p>if(km&lt;=5)</p><p>bill=120;</p><p>else</p><p>bill=120+(km-5)*8;</p><p>}</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("CAR TYPE: "+car_type);</p><p>System.out.println("KILOMETER TRAVELLED: "+km);</p><p>System.out.println("TOTAL BILL: "+bill);</p><p>}</p><p>void main()</p><p>{</p><p>CabService obj=new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:44:57 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174689</guid>
      </item>
      <item>
         <title>Monil Bapna Program 1</title>
         <author>ramjaisiya47</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174812</link>
         <description><![CDATA[<p>import java.util.Scanner;</p><p>public class CabService</p><p>{</p><p>    String car_type;</p><p>    double km;</p><p>    double bill;</p><p>    </p><p>    public CabService() {</p><p>        car_type = "";</p><p>        km = 0.0;</p><p>        bill = 0.0;</p><p>    }</p><p>    </p><p>    public void accept() {</p><p>        Scanner in = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>        System.out.print("Enter car type: ");</p><p>        car_type = in.nextLine();</p><p>        System.out.print("Enter kilometer: ");</p><p>        km = in.nextDouble();</p><p>    }</p><p>    </p><p>    public void calculate() {</p><p>        if (km &lt;= 5) {</p><p>            if (car_type.equals("AC"))</p><p>                bill = 150;</p><p>            else</p><p>                bill = 120;</p><p>        }</p><p>        else {</p><p>            if (car_type.equals("AC"))</p><p>                bill = 150 + 10 * (km - 5);</p><p>            else</p><p>                bill = 120 + 8 * (km - 5);</p><p>        }</p><p>    }</p><p>    </p><p>    public void display() {</p><p>        System.out.println("Car Type: " + car_type);</p><p>        System.out.println("Kilometer Travelled: " + km);</p><p>        System.out.println("Total Bill: " + bill);</p><p>    }</p><p>    </p><p>    public static void main(String args[]) {</p><p>        CabService obj = new CabService();</p><p>        obj.accept();</p><p>        obj.calculate();</p><p>        obj.display();</p><p>    }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:45:07 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174812</guid>
      </item>
      <item>
         <title>nirja h</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174924</link>
         <description><![CDATA[<p><br/></p><p>import java.util.*;</p><p>class CabService</p><p>{</p><p>String car_type;</p><p>double km,bill=0;</p><p>CabService()</p><p>{</p><p>car_type="";</p><p>km=0.0;</p><p>bill=0.0;</p><p>}</p><p>void accept()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter Car Type");</p><p>car_type=sc.nextLine();</p><p>System.out.println("Enter km");</p><p>km=sc.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>if(car_type.equalsIgnoreCase("AC")&amp;&amp;(km&lt;=5))</p><p>bill=150;</p><p>else if(car_type.equalsIgnoreCase("AC")&amp;&amp;(km&gt;5))</p><p>bill=150+(km-5)*10;</p><p>else if(car_type.equalsIgnoreCase("Non AC")&amp;&amp;(km&lt;=5))</p><p>bill=120;</p><p>else if(car_type.equalsIgnoreCase("Non AC")&amp;&amp;(km&gt;5))</p><p>bill=120+(km-5)*8;</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("CAR TYPE :" +car_type);</p><p>System.out.println("KILOMETER TRAVELLED :" +km);</p><p>System.out.println("TOTAL BILL :" +bill);</p><p>}</p><p>void main()</p><p>{</p><p>CabService obj=new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p><p><br/></p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:45:16 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045174924</guid>
      </item>
      <item>
         <title>Saee Bhogale Q1</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045175085</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p>String car_type;</p><p>double km;</p><p>double bill;</p><p>CabService()</p><p>{</p><p>car_type="";</p><p>km=0.0;</p><p>bill=0.0;</p><p>}</p><p>void accept()</p><p>{</p><p>Scanner sc=new Scanner(System.in);</p><p>System.out.println("Enter Car Type(AC or NON AC)");</p><p>car_type=sc.nextLine();</p><p>System.out.println("Enter Kilometer Travelled");</p><p>km=sc.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>if(car_type.equalsIgnoreCase("AC"))</p><p>{</p><p>if(km&lt;5)</p><p>{</p><p>bill=150;</p><p>}</p><p>if (km&gt;5)</p><p>{</p><p>bill=150+(km-5)*10;</p><p>}}</p><p>else if(car_type.equalsIgnoreCase("NON AC"))</p><p>{</p><p>if(km&lt;5)</p><p>{</p><p>bill=120;</p><p>}</p><p>if(km&gt;5)</p><p>{</p><p>bill=120+(km-5)*8;</p><p>}</p><p>}</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("CAR TYPE:"+car_type);</p><p>System.out.println("KILOMETER TRAVELLED:"+km);</p><p>System.out.println("TOTAL BILL:"+bill);</p><p>}</p><p>void main()</p><p>{</p><p>CabService obj=new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:45:31 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045175085</guid>
      </item>
      <item>
         <title>Rishabh Krishnan</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045175680</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService {</p><p>String car_type;</p><p>double km,bill;</p><p><br/></p><p>Journal1(){</p><p>car_type = "";</p><p>km = 0.0;</p><p>bill = 0.0;</p><p>}</p><p><br/></p><p>void accept(){</p><p>Scanner inp = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter Car Type:");</p><p>car_type = inp.nextLine();</p><p>System.out.println("Enter Distance:");</p><p>km = inp.nextDouble();</p><p>}</p><p><br/></p><p>void calculate(){</p><p>if(car_type.equalsIgnoreCase("AC")){</p><p>if(km&lt;=5){</p><p>bill = 150;</p><p>}</p><p>else {</p><p>bill = 150 + (km-5)*10;</p><p>}</p><p>}</p><p>else {</p><p>if(km&lt;=5){</p><p>bill = 120;</p><p>}</p><p>else {</p><p>bill = 120 + (km-5)*8;</p><p>}</p><p>}</p><p>}</p><p><br/></p><p>void display(){</p><p>System.out.println("CAR TYPE: " +car_type);</p><p>System.out.println("KILOMETRES TRAVELLED: " +km);</p><p>System.out.println("TOTAL BILL: " +bill);</p><p>}</p><p><br/></p><p>void main (){</p><p>CabService obj = new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:46:06 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045175680</guid>
      </item>
      <item>
         <title>10B Kinysha - q1</title>
         <author>KinyshaAkerkar</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045175841</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p>String car_type;</p><p>double km;</p><p>double bill;</p><p><br/></p><p>CabService() {</p><p>car_type = "";</p><p>km = 0.0;</p><p>bill = 0.0;</p><p>}</p><p><br/></p><p>void accept() {</p><p>Scanner in = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter car type: ");</p><p>car_type = in.nextLine();</p><p>System.out.print("Enter kilometer: ");</p><p>km = in.nextDouble();</p><p>}</p><p><br/></p><p>void calculate() {</p><p>if (km &lt;= 5) {</p><p>if (car_type.equals("AC"))</p><p>bill = 150;</p><p>else</p><p>bill = 120;</p><p>}</p><p>else {</p><p>if (car_type.equals("AC"))</p><p>bill = 150 + 10 * (km - 5);</p><p>else</p><p>bill = 120 + 8 * (km - 5);</p><p>}</p><p>}</p><p><br/></p><p>void display() {</p><p>System.out.println("Car Type: " + car_type);</p><p>System.out.println("Kilometer Travelled: " + km);</p><p>System.out.println("Total Bill: " + bill);</p><p>}</p><p><br/></p><p>static void main() {</p><p>CabService obj = new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:46:19 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045175841</guid>
      </item>
      <item>
         <title>Nyssa Jain</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176074</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p>String car_type=" ";</p><p>double km;</p><p>double bill;</p><p>CabService()</p><p>{</p><p>car_type="";</p><p>km=0.0;</p><p>bill=0.0;</p><p>}</p><p>void accept()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter your car type(AC or NON AC)");</p><p>car_type=sc.nextLine();</p><p>System.out.println("Enter kilometer travelled");</p><p>km=sc.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>if(car_type.equalsIgnoreCase("AC"))</p><p>{</p><p>if(km&lt;=5)</p><p>bill=150;</p><p>else</p><p>bill=150+(km-5)*10;</p><p>}</p><p>else</p><p>{</p><p>if(km&lt;=5)</p><p>bill=120;</p><p>else</p><p>bill=120+(km-5)*8;</p><p>}</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("CAR TYPE: "+car_type);</p><p>System.out.println("KILOMETER TRAVELLED: "+km);</p><p>System.out.println("TOTAL BILL: "+bill);</p><p>}</p><p>void main()</p><p>{</p><p>CabService obj=new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:46:39 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176074</guid>
      </item>
      <item>
         <title>Avneesh[Program1]</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176324</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p>String car_type;</p><p>double km;</p><p>double bill;</p><p>CabService(){</p><p>car_type="";</p><p>km=0.0;</p><p>bill=0.0;</p><p>}</p><p>void accept()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter Car Type");</p><p>car_type=sc.nextLine();</p><p>System.out.println("Enter Distance in km");</p><p>km=sc.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>if(car_type.equalsIgnoreCase("AC"))</p><p>if(km&lt;=5)</p><p>{</p><p>bill=150;</p><p>}</p><p>else</p><p>{</p><p>bill=150+(km-5)*10;</p><p>}</p><p>else</p><p>{</p><p>if(km&lt;=5)</p><p>{</p><p>bill=120;</p><p>}</p><p>else</p><p>{</p><p>bill=120+(km-5)*8;</p><p>}</p><p>}</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("Car type"+car_type);</p><p>System.out.println("Kilometre Travelled="+km);</p><p>System.out.println("Bill"+bill);</p><p>}</p><p>void main()</p><p>{</p><p>CabService obj=new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:47:01 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176324</guid>
      </item>
      <item>
         <title>Achyut Singh [J1]</title>
         <author>achyutsingh0283</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176433</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class J1</p><p>{</p><p>String car_type;</p><p>double km;</p><p>double bill;</p><p>void accept()</p><p>{</p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter car type: ");</p><p>car_type = sc.nextLine();</p><p>System.out.print("Enter kilometer: ");</p><p>km = sc.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>if(km&lt;=5)</p><p>{</p><p>if(car_type.equals("AC"))</p><p>bill = 150;</p><p>else</p><p>bill = 120;</p><p>}</p><p>else</p><p>{</p><p>if(car_type.equals("AC"))</p><p>bill=150+10*(km-5);</p><p>else</p><p>bill=120+8*(km-5);</p><p>}</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("Car Type: " + car_type);</p><p>System.out.println("Kilometer Travelled: " + km);</p><p>System.out.println("Total Bill: " + bill);</p><p>}</p><p>static void main()</p><p>{</p><p>J1 obj = new J1();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:47:12 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176433</guid>
      </item>
      <item>
         <title>Julie</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176467</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p>String car_type=" ";</p><p>double km;</p><p>double bill;</p><p>CabService()</p><p>{</p><p>car_type="";</p><p>km=0.0;</p><p>bill=0.0;</p><p>}</p><p>void accept()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter your car type(AC or NON AC)");</p><p>car_type=sc.nextLine();</p><p>System.out.println("Enter kilometer travelled");</p><p>km=sc.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>if(car_type.equalsIgnoreCase("AC"))</p><p>{</p><p>if(km&lt;=5)</p><p>bill=150;</p><p>else</p><p>bill=150+(km-5)*10;</p><p>}</p><p>else</p><p>{</p><p>if(km&lt;=5)</p><p>bill=120;</p><p>else</p><p>bill=120+(km-5)*8;</p><p>}</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("CAR TYPE: "+car_type);</p><p>System.out.println("KILOMETER TRAVELLED: "+km);</p><p>System.out.println("TOTAL BILL: "+bill);</p><p>}</p><p>void main()</p><p>{</p><p>CabService obj=new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:47:15 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176467</guid>
      </item>
      <item>
         <title>Monil Bpana Q2</title>
         <author>ramjaisiya47</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176470</link>
         <description><![CDATA[<p>public class Overload</p><p>{</p><p>    void Number(int num, int d) {</p><p>        int f = 0;</p><p>        </p><p>        while (num != 0) {</p><p>            int x = num % 10;</p><p>            if (x == d) {</p><p>                f++;</p><p>            }</p><p>            num /= 10;</p><p>        }</p><p>        </p><p>        System.out.println("Frequency of digit " + d + " = " + f);</p><p>    }</p><p>    </p><p>    void Number(int n1) {</p><p>        int s = 0;</p><p>        </p><p>        while (n1 != 0) {</p><p>            int x = n1 % 10;</p><p>            if (x % 2 == 0) {</p><p>                s = s + x;</p><p>            }</p><p>            n1 /= 10;</p><p>        }</p><p>        </p><p>        System.out.println("Sum of even digits = " + s);</p><p>    }</p><p>    </p><p>    public static void main(String args[]) {</p><p>        Overload obj = new Overload();</p><p>        obj.Number(2565685, 5);</p><p>        obj.Number(29865);</p><p>    }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:47:16 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176470</guid>
      </item>
      <item>
         <title>Arush Q</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176549</link>
         <description><![CDATA[<pre><code class="language-java">import java.util.Scanner;

public class CabService
{
    String car_type;
    double km;
    double bill;
    
    public CabService() {
        car_type = "";
        km = 0.0;
        bill = 0.0;
    }
    
    public void accept() {
        Scanner in = new Scanner(System.in);
        System.out.print("Enter car type: ");
        car_type = in.nextLine();
        System.out.print("Enter kilometer: ");
        km = in.nextDouble();
    }
    
    public void calculate() {
        if (km &lt;= 5) {
            if (car_type.equals("AC"))
                bill = 150;
            else
                bill = 120;
        }
        else {
            if (car_type.equals("AC"))
                bill = 150 + 10 * (km - 5);
            else
                bill = 120 + 8 * (km - 5);
        }
    }
    
    public void display() {
        System.out.println("Car Type: " + car_type);
        System.out.println("Kilometer Travelled: " + km);
        System.out.println("Total Bill: " + bill);
    }
    
    public static void main(String args[]) {
        CabService obj = new CabService();
        obj.accept();
        obj.calculate();
        obj.display();
    }
}</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:47:24 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176549</guid>
      </item>
      <item>
         <title>naisha </title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176558</link>
         <description><![CDATA[<p>Q1</p><p>import java.util.*;</p><p>class CabService</p><p>{</p><p>String car_type=" ";</p><p>double km;</p><p>double bill;</p><p>CabService()</p><p>{</p><p>car_type="";</p><p>km=0.0;</p><p>bill=0.0;</p><p>}</p><p>void accept()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter your car type(AC or NON AC)");</p><p>car_type=sc.nextLine();</p><p>System.out.println("Enter kilometer travelled");</p><p>km=sc.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>if(car_type.equalsIgnoreCase("AC"))</p><p>{</p><p>if(km&lt;=5)</p><p>bill=150;</p><p>else</p><p>bill=150+(km-5)*10;</p><p>}</p><p>else</p><p>{</p><p>if(km&lt;=5)</p><p>bill=120;</p><p>else</p><p>bill=120+(km-5)*8;</p><p>}</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("CAR TYPE: "+car_type);</p><p>System.out.println("KILOMETER TRAVELLED: "+km);</p><p>System.out.println("TOTAL BILL: "+bill);</p><p>}</p><p>void main()</p><p>{</p><p>CabService obj=new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:47:25 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176558</guid>
      </item>
      <item>
         <title>Eva Bhosale q2</title>
         <author>avikavisht</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176614</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class number</p><p>{</p><p>void Number(int num, int d)</p><p>{</p><p>int count=0;</p><p>while(num&gt;0)</p><p>{</p><p>int digit=num%10;</p><p>if(digit==d)</p><p>{</p><p>count++;</p><p>}</p><p>num/=10;</p><p>}</p><p>System.out.println("Frequency of digit "+d+ "="+count);</p><p>}</p><p>    </p><p>    void Number(int n1) {</p><p>      int sum = 0;</p><p>        </p><p>        while (n1&gt;0) {</p><p>            int digit = n1 % 10;</p><p>            if (digit % 2 == 0) {</p><p>            sum+=digit;</p><p>            }</p><p>            n1 /= 10;</p><p>        }</p><p>        </p><p>        System.out.println("Sum of even digits = " + sum);</p><p>    }</p><p>    void Number()</p><p>    {</p><p>        for(int i=1; i&lt;=5; i++)</p><p>        {</p><p>         for(int j=1;j&lt;=i;j++)</p><p>         {</p><p>             System.out.print(i);</p><p>            }</p><p>            System.out.println();</p><p>        }</p><p>    }</p><p>    void main()</p><p>    {</p><p>        number obj=new number();</p><p>        obj.Number(2565685,5);</p><p>        obj.Number();</p><p>    }</p><p>}</p><p>        </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:47:32 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176614</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176828</link>
         <description><![CDATA[<p>Shaurya Purohit</p><p>import java.util.*; </p><p>class j1 </p><p>{ </p><p>    String car_type; </p><p>    double km; </p><p>    double bill; </p><p>     </p><p>    void accept() </p><p>    { </p><p>        Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>); </p><p>        System.out.print("Enter car type: "); </p><p>        car_type = sc.nextLine(); </p><p>        System.out.print("Enter kilometer: "); </p><p>        km = sc.nextDouble(); </p><p>    } </p><p>     </p><p>    void calculate() </p><p>    { </p><p>        if(km&lt;=5) </p><p>        { </p><p>            if(car_type.equals("AC")) </p><p>                bill = 150; </p><p>            else </p><p>                bill = 120; </p><p>        } </p><p>        else </p><p>        { </p><p>            if(car_type.equals("AC")) </p><p>                bill=150+10*(km-5); </p><p>            else </p><p>                bill=120+8*(km-5); </p><p>        } </p><p>    } </p><p>     </p><p>    void display() </p><p>    { </p><p>        System.out.println("Car Type: " + car_type); </p><p>        System.out.println("Kilometer Travelled: " + km); </p><p>        System.out.println("Total Bill: " + bill); </p><p>    } </p><p>     </p><p>   static void main() </p><p>   { </p><p>        CabService obj = new CabService(); </p><p>        obj.accept(); </p><p>        obj.calculate(); </p><p>        obj.display(); </p><p>    } </p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:47:48 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045176828</guid>
      </item>
      <item>
         <title>Angela Q1</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177069</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService {</p><p>String car_type;</p><p>double km,bill;</p><p><br></p><p>CabService(){</p><p>car_type = "";</p><p>km = 0.0;</p><p>bill = 0.0;</p><p>}</p><p><br></p><p>void accept(){</p><p>Scanner inp = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter Car Type:");</p><p>car_type = inp.nextLine();</p><p>System.out.println("Enter Distance:");</p><p>km = inp.nextDouble();</p><p>}</p><p><br></p><p>void calculate(){</p><p>if(car_type.equalsIgnoreCase("AC")){</p><p>if(km&lt;=5){</p><p>bill = 150;</p><p>}</p><p>else {</p><p>bill = 150 + (km-5)*10;</p><p>}</p><p>}</p><p>else {</p><p>if(km&lt;=5){</p><p>bill = 120;</p><p>}</p><p>else {</p><p>bill = 120 + (km-5)*8;</p><p>}</p><p>}</p><p>}</p><p><br></p><p>void display(){</p><p>System.out.println("CAR TYPE: " +car_type);</p><p>System.out.println("KILOMETRES TRAVELLED: " +km);</p><p>System.out.println("TOTAL BILL: " +bill);</p><p>}</p><p><br></p><p>void main (){</p><p>CabService obj = new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:48:01 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177069</guid>
      </item>
      <item>
         <title>Q2 Abhinav Jain</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177093</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Number</p><p>{</p><p>void Number(int num,int d)</p><p>{</p><p>int f = 0;</p><p>while (num != 0) {</p><p>int x = num % 10;</p><p>if (x == d) {</p><p>f++;</p><p>}</p><p>num /= 10;</p><p>}</p><p>System.out.println("Frequency of digit " + d + " = " + f);</p><p>}</p><p>void Number(int n1) </p><p>{</p><p>int s = 0;</p><p>while (n1 != 0) </p><p>{</p><p>int x = n1 % 10;</p><p>if (x % 2 == 0) </p><p>{</p><p>s = s + x;</p><p>}</p><p>n1 /= 10;</p><p>}</p><p>System.out.println("Sum = "+s);</p><p>}</p><p>void Number()</p><p>{</p><p>for (int i = 1; i &lt;= 5; i++)</p><p>{</p><p>for (int j = 1; j &lt;= i; j++)</p><p>{</p><p>System.out.print(i + " ");</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:48:03 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177093</guid>
      </item>
      <item>
         <title>Q1 Shardul Sarang</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177205</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p>    String car_type;</p><p>    double km;</p><p>    double bill;</p><p>    </p><p>    CabService()</p><p>    {</p><p>        car_type = "";</p><p>        km = 0.0;</p><p>        bill = 0.0;</p><p>    }</p><p>     void accept()</p><p>     {</p><p>        Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>        System.out.print("Enter car type: ");</p><p>        car_type = sc.nextLine();</p><p>        System.out.print("Enter kilometer: ");</p><p>        km = sc.nextDouble();</p><p>    }</p><p>     void calculate()</p><p>     {</p><p>        if (km &lt;= 5)</p><p>        {</p><p>            if (car_type.equals("AC"))</p><p>            {</p><p>                bill = 150;</p><p>            }</p><p>            else</p><p>            {</p><p>                bill = 120;</p><p>            }</p><p>        }</p><p>        else</p><p>        {</p><p>            if (car_type.equals("AC"))</p><p>            {</p><p>                bill = 150 + 10 * (km - 5);</p><p>            }</p><p>            else</p><p>            {</p><p>                bill = 120 + 8 * (km - 5);</p><p>            }</p><p>        }</p><p>    }  </p><p>     void display() </p><p>     {</p><p>        System.out.println("Car Type: " + car_type);</p><p>        System.out.println("Kilometer Travelled: " + km);</p><p>        System.out.println("Total Bill: " + bill);</p><p>    }</p><p>    static void main()</p><p>    {</p><p>        CabService obj=new CabService();</p><p>        obj.accept();</p><p>        obj.calculate();</p><p>        obj.display();</p><p>    }</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:48:15 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177205</guid>
      </item>
      <item>
         <title>Q2 SaeeBhogale</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177348</link>
         <description><![CDATA[<p>public class Overload</p><p>{</p><p>    void Number(int num, int d) {</p><p>        int dig,c = 0;</p><p>        </p><p>        while (num != 0) </p><p>        {</p><p>            int dig = num % 10;</p><p>            if(dig == d) {</p><p>                c++;</p><p>            }</p><p>            num =num/10;</p><p>        }</p><p>        </p><p>        System.out.println("No.of " + d + " = " + c);</p><p>    }</p><p>    </p><p>    void Number(int n1) {</p><p>        int s = 0;</p><p>        </p><p>        while (n1 != 0) {</p><p>            int dig = n1 % 10;</p><p>            if (dig% 2 == 0) {</p><p>                s = s + dig;</p><p>            }</p><p>            n1 /= 10;</p><p>        }</p><p>        </p><p>        System.out.println("Sum of even numbers = " + s);</p><p>    }</p><p>    Void Number()</p><p>    {</p><p>    for(int k=1;k&lt;=5;k++)</p><p>    {</p><p>        for (int p=1;p&lt;=k;p++)</p><p>        {</p><p>System.out.print(k);</p><p>}System.out.println();</p><p>}</p><p>}</p><p>    </p><p>    </p><p>    public static void main(String args[]) {</p><p>        Overload obj = new Overload();</p><p>        obj.Number(2565685, 5);</p><p>        obj.Number(29865);</p><p>    }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:48:29 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177348</guid>
      </item>
      <item>
         <title>Achyut Singh [3]</title>
         <author>achyutsingh0283</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177376</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class J3</p><p>{</p><p>String name;</p><p>String coach;</p><p>long mobno;</p><p>int amt;</p><p>int totalamt;</p><p>void accept()</p><p>{</p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter name: ");</p><p>name = sc.nextLine();</p><p>System.out.print("Enter coach: ");</p><p>coach = sc.nextLine();</p><p>System.out.print("Enter mobile no: ");</p><p>mobno = sc.nextLong();</p><p>System.out.print("Enter amount: ");</p><p>amt = sc.nextInt();</p><p>}</p><p>void update()</p><p>{</p><p>if(coach.equalsIgnoreCase("First_AC"))</p><p>totalamt = amt + 700;</p><p>else if(coach.equalsIgnoreCase("Second_AC"))</p><p>totalamt = amt + 500;</p><p>else if(coach.equalsIgnoreCase("Third_AC"))</p><p>totalamt = amt + 250;</p><p>else if(coach.equalsIgnoreCase("Sleeper"))</p><p>totalamt = amt;</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("Name: " + name);</p><p>System.out.println("Coach: " + coach);</p><p>System.out.println("Total Amount: " + totalamt);</p><p>System.out.println("Mobile number: " + mobno);</p><p>}</p><p>static void main()</p><p>{</p><p>J3 obj = new J3();</p><p>obj.accept();</p><p>obj.update();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:48:33 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177376</guid>
      </item>
      <item>
         <title>Arnav Deherkar (Program 2)</title>
         <author>deherkararnav</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177389</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Number{</p><p>void Number(int num, int d){</p><p>int f = 0;</p><p>while(num&gt;0){</p><p>int a = num % 10;</p><p>if(a==d){</p><p>f++;</p><p>}</p><p>num/=10;</p><p>}</p><p>System.out.println("Frequency of digit "+d+"="+f);</p><p>}</p><p>void Number(int n1){</p><p>int s = 0;</p><p>while (n1&gt;0){</p><p>int b = n1%10;</p><p>if(b%2==0){</p><p>s+=b;</p><p>}</p><p>n1/=10;</p><p>System.out.println("Sum of even numbers: "+s);</p><p>}</p><p>}</p><p>void Number(){</p><p>for(int i = 1; i&lt;=5; i++)</p><p>{</p><p>for(int j = 1; j&lt;=i; j++)</p><p>{</p><p>System.out.print(i);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:48:35 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177389</guid>
      </item>
      <item>
         <title>vighnesh Q2</title>
         <author>tejasvikpatil</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177412</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class number</p><p><br/></p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>void Number(int num,int d)</p><p>{</p><p>int c=0;</p><p>while(num&gt;0)</p><p>{</p><p>int digit=num%10;</p><p>if(digit==d)</p><p>{</p><p>c++;</p><p>}</p><p>else</p><p>{</p><p>}</p><p>num/=10;</p><p>}</p><p>System.out.println("Frequecy of digit "+d+"="+c);</p><p>}</p><p>void Number(int n1)</p><p>{</p><p>int s=0;</p><p>while(n1&gt;0)</p><p>{</p><p>int dig=n1%10;</p><p>if(dig%2==0)</p><p>s=s+dig;</p><p>else</p><p>n1/=10;</p><p>}</p><p>System.out.println("sum of digits= "+s);</p><p>}</p><p>void Number()</p><p>{</p><p>int k,p;</p><p>for(k=1;k&lt;=5;k++)</p><p>{</p><p>for(p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print(k);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p><p><br/></p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:48:37 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177412</guid>
      </item>
      <item>
         <title>prisha vira program 1</title>
         <author>prishahvira</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177423</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p>String car_type;</p><p>double km,bill=0;</p><p>CabService()</p><p>{</p><p>car_type="";</p><p>km=0.0;</p><p>bill=0.0;</p><p>}</p><p>void accept()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter Car Type");</p><p>car_type=sc.nextLine();</p><p>System.out.println("Enter km");</p><p>km=sc.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>if(car_type.equalsIgnoreCase("AC")&amp;&amp;(km&lt;=5))</p><p>bill=150;</p><p>else if(car_type.equalsIgnoreCase("AC")&amp;&amp;(km&gt;5))</p><p>bill=150+(km-5)*10;</p><p>else if(car_type.equalsIgnoreCase("Non AC")&amp;&amp;(km&lt;=5))</p><p>bill=120;</p><p>else if(car_type.equalsIgnoreCase("Non AC")&amp;&amp;(km&gt;5))</p><p>bill=120+(km-5)*8;</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("CAR TYPE :" +car_type);</p><p>System.out.println("KILOMETER TRAVELLED :" +km);</p><p>System.out.println("TOTAL BILL :" +bill);</p><p>}</p><p>void main()</p><p>{</p><p>CabService obj=new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:48:38 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177423</guid>
      </item>
      <item>
         <title>Maahish Shah-Program 2</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177725</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class number</p><p>{</p><p>void Number(int num, int d)</p><p>{</p><p>int count=0;</p><p>while(num&gt;0)</p><p>{</p><p>int digit=num%10;</p><p>if(digit==d)</p><p>{</p><p>count++;</p><p>}</p><p>num/=10;</p><p>}</p><p>System.out.println("Frequency of digit "+d+ "="+count);</p><p>}</p><p><br></p><p>void Number(int n1) {</p><p>int sum = 0;</p><p><br></p><p>while (n1&gt;0) {</p><p>int digit = n1 % 10;</p><p>if (digit % 2 == 0) {</p><p>sum+=digit;</p><p>}</p><p>n1 /= 10;</p><p>}</p><p><br></p><p>System.out.println("Sum of even digits = " + sum);</p><p>}</p><p>void Number()</p><p>{</p><p>for(int i=1; i&lt;=5; i++)</p><p>{</p><p>for(int j=1;j&lt;=i;j++)</p><p>{</p><p>System.out.print(i);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>void main()</p><p>{</p><p>number obj=new number();</p><p>obj.Number(2565685,5);</p><p>obj.Number();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:48:49 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177725</guid>
      </item>
      <item>
         <title>Achyut Singh [4]</title>
         <author>achyutsingh0283</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177837</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class J4</p><p>{</p><p>void joystring(String s, char ch1, char ch2)</p><p>{</p><p>String newStr = s.replace(ch1,ch2);</p><p>System.out.println(newStr);</p><p>}</p><p>void joystring(String s)</p><p>{</p><p>int f=s.indexOf(' ');</p><p>int l=s.lastIndexOf(' ');</p><p>System.out.println("First index: " + f);</p><p>System.out.println("Last index: " + l);</p><p>}</p><p>void joystring(String s1, String s2)</p><p>{</p><p>String newStr=s1.concat(" ").concat(s2);</p><p>System.out.println(newStr);</p><p>}</p><p>static void main()</p><p>{</p><p>J4 obj = new J4();</p><p>obj.joystring("TECHNALAGY", 'A', 'O');</p><p>obj.joystring("Cloud computing means Internet based computing");</p><p>obj.joystring("COMMON WEALTH", "GAMES");</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:49:02 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045177837</guid>
      </item>
      <item>
         <title>Nyssa-Q2</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178066</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class number</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>void Number(int num,int d)</p><p>{</p><p>int c=0;</p><p>while(num&gt;0)</p><p>{</p><p>int digit=num%10;</p><p>if(digit==d)</p><p>{</p><p>c++;</p><p>}</p><p>else</p><p>{</p><p>}</p><p>num/=10;</p><p>}</p><p>System.out.println("Frequecy of digit "+d+"="+c);</p><p>}</p><p>void Number(int n1)</p><p>{</p><p>int s=0;</p><p>while(n1&gt;0)</p><p>{</p><p>int dig=n1%10;</p><p>if(dig%2==0)</p><p>s=s+dig;</p><p>else</p><p>n1/=10;</p><p>}</p><p>System.out.println("sum of digits= "+s);</p><p>}</p><p>void Number()</p><p>{</p><p>int k,p;</p><p>for(k=1;k&lt;=5;k++)</p><p>{</p><p>for(p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print(k);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:49:25 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178066</guid>
      </item>
      <item>
         <title>Arnav Deherkar (Program 3)</title>
         <author>deherkararnav</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178142</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class RailwayTicket</p><p>{</p><p> String name;</p><p> String coach;</p><p> long mobno;</p><p> int amt;</p><p> int totalamt;</p><p> </p><p> void accept()</p><p> {</p><p> Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p> System.out.print("Enter name: ");</p><p> name = sc.nextLine();</p><p> System.out.print("Enter coach: ");</p><p> coach = sc.nextLine();</p><p> System.out.print("Enter mobile no: ");</p><p> mobno = sc.nextLong();</p><p> System.out.print("Enter amount: ");</p><p> amt = sc.nextInt();</p><p> }</p><p> void update()</p><p> {</p><p> if(coach.equalsIgnoreCase("First_AC"))</p><p> totalamt = amt + 700;</p><p> else if(coach.equalsIgnoreCase("Second_AC"))</p><p> totalamt = amt + 500;</p><p> else if(coach.equalsIgnoreCase("Third_AC"))</p><p> totalamt = amt + 250;</p><p> else if(coach.equalsIgnoreCase("Sleeper"))</p><p> totalamt = amt;</p><p> }</p><p> </p><p> void display()</p><p> {</p><p> System.out.println("Name: " + name);</p><p> System.out.println("Coach: " + coach);</p><p> System.out.println("Total Amount: " + totalamt);</p><p> System.out.println("Mobile number: " + mobno);</p><p> }</p><p> static void main()</p><p> {</p><p> RailwayTicket obj = new RailwayTicket();</p><p> obj.accept();</p><p> obj.update();</p><p> obj.display();</p><p> }</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:49:35 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178142</guid>
      </item>
      <item>
         <title>Maahish Shah-Program 3</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178146</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class RailwayTicket</p><p>{</p><p>String name;</p><p>String coach;</p><p>long mobno;</p><p>int amt;</p><p>int totalamt;</p><p>void accept()</p><p>{</p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter name: ");</p><p>name = sc.nextLine();</p><p>System.out.print("Enter coach: ");</p><p>coach = sc.nextLine();</p><p>System.out.print("Enter mobile no: ");</p><p>mobno = sc.nextLong();</p><p>System.out.print("Enter amount: ");</p><p>amt = sc.nextInt();</p><p>}</p><p>void update()</p><p>{</p><p>if(coach.equalsIgnoreCase("First_AC"))</p><p>totalamt = amt + 700;</p><p>else if(coach.equalsIgnoreCase("Second_AC"))</p><p>totalamt = amt + 500;</p><p>else if(coach.equalsIgnoreCase("Third_AC"))</p><p>totalamt = amt + 250;</p><p>else if(coach.equalsIgnoreCase("Sleeper"))</p><p>totalamt = amt;</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("Name: " + name);</p><p>System.out.println("Coach: " + coach);</p><p>System.out.println("Total Amount: " + totalamt);</p><p>System.out.println("Mobile number: " + mobno);</p><p>}</p><p>static void main()</p><p>{</p><p>RailwayTicket obj = new RailwayTicket();</p><p>obj.accept();</p><p>obj.update();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:49:35 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178146</guid>
      </item>
      <item>
         <title>10B Kinysha - Q2</title>
         <author>KinyshaAkerkar</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178160</link>
         <description><![CDATA[<p><br/></p><p>import java.util.*;</p><p>class number</p><p>{</p><p>void Number(int num, int d)</p><p>{</p><p>int count=0;</p><p>while(num&gt;0)</p><p>{</p><p>int digit=num%10;</p><p>if(digit==d)</p><p>{</p><p>count++;</p><p>}</p><p>num/=10;</p><p>}</p><p>System.out.println("Frequency of digit "+d+ "="+count);</p><p>}</p><p><br/></p><p>void Number(int n1) {</p><p>int sum = 0;</p><p><br/></p><p>while (n1&gt;0) {</p><p>int digit = n1 % 10;</p><p>if (digit % 2 == 0) {</p><p>sum+=digit;</p><p>}</p><p>n1 /= 10;</p><p>}</p><p><br/></p><p>System.out.println("Sum of even digits = " + sum);</p><p>}</p><p>void Number()</p><p>{</p><p>for(int i=1; i&lt;=5; i++)</p><p>{</p><p>for(int j=1;j&lt;=i;j++)</p><p>{</p><p>System.out.print(i);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>void main()</p><p>{</p><p>number obj=new number();</p><p>obj.Number(2565685,5);</p><p>obj.Number();</p><p>}</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:49:37 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178160</guid>
      </item>
      <item>
         <title>Q1 Shreyas Raikar</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178276</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>   {</p><p>    String car_type;</p><p>    double km;</p><p>    double bill;</p><p>    </p><p>    CabService()</p><p>        {</p><p>        car_type = "";</p><p>        km = 0.0;</p><p>        bill = 0.0;</p><p>    }</p><p>     void accept()</p><p>         {</p><p>        Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>        System.out.print("Enter car type: ");</p><p>        car_type = sc.nextLine();</p><p>        System.out.print("Enter kilometer: ");</p><p>        km = sc.nextDouble();</p><p>    }</p><p>     void calculate()</p><p>         {</p><p>        if (km &lt;= 5)</p><p>              {</p><p>            if (car_type.equals("AC"))</p><p>            {</p><p>                bill = 150;</p><p>            }</p><p>            else</p><p>                  {</p><p>                bill = 120;</p><p>            }</p><p>        }</p><p>        else</p><p>        {</p><p>            if (car_type.equals("AC"))</p><p>                 {</p><p>                bill = 150 + 10 * (km - 5);</p><p>            }</p><p>            else</p><p>                 {</p><p>                bill = 120 + 8 * (km - 5);</p><p>            }</p><p>        }</p><p>    }  </p><p>     void display() </p><p>           {</p><p>        System.out.println("Car Type: " + car_type);</p><p>        System.out.println("Kilometer Travelled: " + km);</p><p>        System.out.println("Total Bill: " + bill);</p><p>    }</p><p>    static void main()</p><p>    {</p><p>        CabService obj=new CabService();</p><p>        obj.accept();</p><p>        obj.calculate();</p><p>        obj.display();</p><p>    }</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:49:49 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178276</guid>
      </item>
      <item>
         <title>Achyut Singh [5]</title>
         <author>achyutsingh0283</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178289</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class J5</p><p>{</p><p>static void main()</p><p>{</p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter Gender(male/female): ");</p><p>String gender = sc.nextLine();</p><p>System.out.print("Enter Age: ");</p><p>int age = sc.nextInt();</p><p>System.out.print("Enter Taxable Income: ");</p><p>double ti=sc.nextDouble();</p><p>double tax=0.0;</p><p>if (age&gt;65||gender.equalsIgnoreCase("female"))</p><p>{</p><p>System.out.print("Wrong Category");</p><p>}</p><p>else</p><p>{</p><p>if(ti&lt;=160000)</p><p>tax=0;</p><p>else if(ti&lt;=500000)</p><p>tax=(ti-160000)*10/100;</p><p>else if(ti&lt;=800000)</p><p>tax=34000+((ti-500000)*20/100);</p><p>else</p><p>tax=94000+((ti-800000)*30/100);</p><p>System.out.println("Tax Payable: " + tax);</p><p>}</p><p>}</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:49:51 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178289</guid>
      </item>
      <item>
         <title>Q3 Abhinav Jain</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178374</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class RailwayTicket</p><p>{</p><p> String name;</p><p> String coach;</p><p> long mobno;</p><p> int amt;</p><p> int totalamt;</p><p> </p><p> void accept()</p><p> {</p><p> Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p> System.out.print("Enter name: ");</p><p> name = sc.nextLine();</p><p> System.out.print("Enter coach: ");</p><p> coach = sc.nextLine();</p><p> System.out.print("Enter mobile no: ");</p><p> mobno = sc.nextLong();</p><p> System.out.print("Enter amount: ");</p><p> amt = sc.nextInt();</p><p> }</p><p> void update()</p><p> {</p><p> if(coach.equalsIgnoreCase("First_AC"))</p><p> totalamt = amt + 700;</p><p> else if(coach.equalsIgnoreCase("Second_AC"))</p><p> totalamt = amt + 500;</p><p> else if(coach.equalsIgnoreCase("Third_AC"))</p><p> totalamt = amt + 250;</p><p> else if(coach.equalsIgnoreCase("Sleeper"))</p><p> totalamt = amt;</p><p> }</p><p> </p><p> void display()</p><p> {</p><p> System.out.println("Name: " + name);</p><p> System.out.println("Coach: " + coach);</p><p> System.out.println("Total Amount: " + totalamt);</p><p> System.out.println("Mobile number: " + mobno);</p><p> }</p><p> static void main()</p><p> {</p><p> RailwayTicket obj = new RailwayTicket();</p><p> obj.accept();</p><p> obj.update();</p><p> obj.display();</p><p> }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:50:00 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178374</guid>
      </item>
      <item>
         <title>Hetvi fuira -10A--Q1</title>
         <author>hetvifuria29</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178578</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class CabService</p><p>{</p><p>String car_type;</p><p>double km,bill=0;</p><p>CabService()</p><p>{</p><p>car_type="";</p><p>km=0.0;</p><p>bill=0.0;</p><p>}</p><p>void accept()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter Car Type");</p><p>car_type=sc.nextLine();</p><p>System.out.println("Enter km");</p><p>km=sc.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>if(car_type.equalsIgnoreCase("AC")&amp;&amp;(km&lt;=5))</p><p>bill=150;</p><p>else if(car_type.equalsIgnoreCase("AC")&amp;&amp;(km&gt;5))</p><p>bill=150+(km-5)*10;</p><p>else if(car_type.equalsIgnoreCase("Non AC")&amp;&amp;(km&lt;=5))</p><p>bill=120;</p><p>else if(car_type.equalsIgnoreCase("Non AC")&amp;&amp;(km&gt;5))</p><p>bill=120+(km-5)*8;</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("CAR TYPE :" +car_type);</p><p>System.out.println("KILOMETER TRAVELLED :" +km);</p><p>System.out.println("TOTAL BILL :" +bill);</p><p>}</p><p>void main()</p><p>{</p><p>CabService obj=new CabService();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:50:21 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178578</guid>
      </item>
      <item>
         <title>Arnav Deherkar (Program 4)</title>
         <author>deherkararnav</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178670</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class joyString</p><p>{</p><p> void joystring(String s, char ch1, char ch2)</p><p> {</p><p> String newStr = s.replace(ch1,ch2);</p><p> System.out.println(newStr);</p><p> }</p><p> void joystring(String s) </p><p> {</p><p> int f=s.indexOf(' ');</p><p> int l=s.lastIndexOf(' ');</p><p> System.out.println("First index: " + f);</p><p> System.out.println("Last index: " + l);</p><p> }</p><p> void joystring(String s1, String s2)</p><p> {</p><p> String newStr=s1.concat(" ").concat(s2);</p><p> System.out.println(newStr);</p><p> }</p><p> static void main() </p><p> {</p><p> StringOverload obj = new StringOverload();</p><p> obj.joystring("TECHNALAGY", 'A', 'O');</p><p> obj.joystring("Cloud computing means Internet based computing");</p><p> obj.joystring("COMMON WEALTH", "GAMES");</p><p> }</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:50:34 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178670</guid>
      </item>
      <item>
         <title>naisha P2</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178890</link>
         <description><![CDATA[<p><br/></p><p>import java.util.*;</p><p>class number</p><p>{</p><p>void Number(int num, int d)</p><p>{</p><p>int count=0;</p><p>while(num&gt;0)</p><p>{</p><p>int digit=num%10;</p><p>if(digit==d)</p><p>{</p><p>count++;</p><p>}</p><p>num/=10;</p><p>}</p><p>System.out.println("Frequency of digit "+d+ "="+count);</p><p>}</p><p><br/></p><p>void Number(int n1) {</p><p>int sum = 0;</p><p><br/></p><p>while (n1&gt;0) {</p><p>int digit = n1 % 10;</p><p>if (digit % 2 == 0) {</p><p>sum+=digit;</p><p>}</p><p>n1 /= 10;</p><p>}</p><p><br/></p><p>System.out.println("Sum of even digits = " + sum);</p><p>}</p><p>void Number()</p><p>{</p><p>for(int i=1; i&lt;=5; i++)</p><p>{</p><p>for(int j=1;j&lt;=i;j++)</p><p>{</p><p>System.out.print(i);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>void main()</p><p>{</p><p>number obj=new number();</p><p>obj.Number(2565685,5);</p><p>obj.Number();</p><p>}</p><p>}</p><p><br/></p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:50:57 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045178890</guid>
      </item>
      <item>
         <title>Arnav Deherkar (Program 5)</title>
         <author>deherkararnav</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179094</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class IncomeTax</p><p>{</p><p> static void main()</p><p> {</p><p> Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p> System.out.print("Enter Gender(male/female): ");</p><p> String gender = sc.nextLine();</p><p> System.out.print("Enter Age: ");</p><p> int age = sc.nextInt();</p><p> System.out.print("Enter Taxable Income: ");</p><p> double ti=sc.nextDouble();</p><p> double tax=0.0;</p><p> if (age&gt;65||gender.equalsIgnoreCase("female"))</p><p> {</p><p> System.out.print("Wrong Category");</p><p> }</p><p> else</p><p> {</p><p> if(ti&lt;=160000)</p><p> tax=0;</p><p> else if(ti&lt;=500000)</p><p> tax=(ti-160000)*10/100;</p><p> else if(ti&lt;=800000)</p><p> tax=34000+((ti-500000)*20/100);</p><p> else</p><p> tax=94000+((ti-800000)*30/100);</p><p> </p><p> System.out.println("Tax Payable: " + tax);</p><p> } </p><p> }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:51:15 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179094</guid>
      </item>
      <item>
         <title>Tejasvi Patil (program 1)</title>
         <author>tejasvikpatil</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179234</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class p4</p><p>{</p><p>String car_type;</p><p>double km,bill;</p><p>void CabService()</p><p>{</p><p>car_type="";</p><p>km=0.0;</p><p>bill=0.0;</p><p>}</p><p>void accept()</p><p>{</p><p>Scanner sc=new Scanner (<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter car type,km");</p><p>car_type=sc.nextLine();  </p><p>km=sc.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>if (car_type.equalsIgnoreCase("AC"))</p><p>{</p><p>if (km&lt;=5)</p><p>{</p><p>bill=150;</p><p>}</p><p>else </p><p>{</p><p>bill=150+(10*km);</p><p>}}</p><p>else if  (car_type.equalsIgnoreCase("NON AC"))</p><p>if (km&lt;=5)</p><p>{</p><p>bill=120;</p><p>}</p><p>else {</p><p>bill=120+(8*km);</p><p>}}</p><p>void display()</p><p>{</p><p>System.out.println("Cartype:"+car_type);</p><p>System.out.println("bill:"+bill);</p><p>}</p><p>void main()</p><p>{</p><p>p4 obj=new p4();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:51:29 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179234</guid>
      </item>
      <item>
         <title>Achyut Singh [6]</title>
         <author>achyutsingh0283</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179310</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class J6</p><p>{</p><p>void series()</p><p>{</p><p>int k,sum=0;</p><p>for(k=1;k&lt;=20;k++)</p><p>{</p><p>int term = (int)Math.pow(2,k);</p><p>if (k%2==0)</p><p>sum-= term;</p><p>else</p><p>sum+= term;</p><p>}</p><p>System.out.println("Sum=" + sum);</p><p>}</p><p>void series(int n)</p><p>{</p><p>int k,term=1;</p><p>for(k=1;k&lt;=10;k++)</p><p>{</p><p>System.out.print(term + ", ");</p><p>term =term*10+1;</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:51:34 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179310</guid>
      </item>
      <item>
         <title>Hetvi Furia-10A-Q2</title>
         <author>hetvifuria29</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179456</link>
         <description><![CDATA[<p><br/></p><p>import java.util.*;</p><p>class number</p><p>{</p><p>void Number(int num, int d)</p><p>{</p><p>int count=0;</p><p>while(num&gt;0)</p><p>{</p><p>int digit=num%10;</p><p>if(digit==d)</p><p>{</p><p>count++;</p><p>}</p><p>num/=10;</p><p>}</p><p>System.out.println("Frequency of digit "+d+ "="+count);</p><p>}</p><p><br/></p><p>void Number(int n1) {</p><p>int sum = 0;</p><p><br/></p><p>while (n1&gt;0) {</p><p>int digit = n1 % 10;</p><p>if (digit % 2 == 0) {</p><p>sum+=digit;</p><p>}</p><p>n1 /= 10;</p><p>}</p><p><br/></p><p>System.out.println("Sum of even digits = " + sum);</p><p>}</p><p>void Number()</p><p>{</p><p>for(int i=1; i&lt;=5; i++)</p><p>{</p><p>for(int j=1;j&lt;=i;j++)</p><p>{</p><p>System.out.print(i);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>void main()</p><p>{</p><p>number obj=new number();</p><p>obj.Number(2565685,5);</p><p>obj.Number();</p><p>}</p><p>}</p><p><br/></p><p><br/></p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:51:43 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179456</guid>
      </item>
      <item>
         <title>Arnav Deherkar (Program 6)</title>
         <author>deherkararnav</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179682</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class series</p><p>{</p><p> void series()</p><p> {</p><p> int k,sum=0;</p><p> for(k=1;k&lt;=20;k++)</p><p> {</p><p> int term = (int)Math.pow(2,k);</p><p> if (k%2==0)</p><p> sum-= term;</p><p> else</p><p> sum+= term;</p><p> }</p><p> </p><p> System.out.println("Sum=" + sum);</p><p> }</p><p> void series(int n)</p><p> {</p><p> int k,term=1;</p><p> </p><p> for(k=1;k&lt;=10;k++) </p><p> {</p><p> System.out.print(term + ", ");</p><p> term =term*10+1;</p><p> }</p><p> }</p><p> }</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:52:06 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179682</guid>
      </item>
      <item>
         <title>Atharva Patil [Program 2]</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179774</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Program2{</p><p>    void Number(int num,int d){</p><p>        int c = 0;</p><p>        while(num&gt;0){</p><p>            int n = num%10;</p><p>            if(n==d){</p><p>                c++;</p><p>            }</p><p>            num /= 10;</p><p>        }</p><p>        System.out.println("Frequency of "+d+" is "+c);</p><p>    }</p><p>    </p><p>    void Number(int n1){</p><p>        int sum = 0;</p><p>        while(n1&gt;0){</p><p>            int r = n1%10;</p><p>            if(r%2==0){</p><p>                sum +=r;</p><p>            }</p><p>            n1 /= 10;</p><p>        }</p><p>        System.out.println("Sum of even digits = "+sum);</p><p>    }</p><p>    </p><p>    void Number (){</p><p>        for(int i=1;i&lt;=5;i++){</p><p>            for(int j=1;j&lt;=i;j++){</p><p>                System.out.print(i);</p><p>            }</p><p>            System.out.println();</p><p>        }</p><p>    }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:52:13 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179774</guid>
      </item>
      <item>
         <title>Janhavi Nagaonkar(Program 2)</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179793</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class overload</p><p>{</p><p>void Number(int num, int d)</p><p>{</p><p>int div, c=0;</p><p>while(num!=0)</p><p>{</p><p>div=num%10;</p><p>if(div==d)</p><p>c++;</p><p>num=num/10;</p><p>}</p><p>System.out.println("Frequency of the digit is "+c);</p><p>}</p><p>void Number(int n1)</p><p>{</p><p>int div, sum=0;</p><p>while(n1!=0)</p><p>{</p><p>div=n1%10;</p><p>if(div%2==0)</p><p>sum=sum+div;</p><p>n1=n1/10;</p><p>}</p><p>System.out.println("Sum of even digits = "+sum);</p><p>}</p><p>void Number()</p><p>{</p><p>int k, p;</p><p>for(k=1;k&lt;=5;k++)</p><p>{</p><p>for(p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print(k+" ");</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:52:15 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179793</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179959</link>
         <description><![CDATA[<p>Shaurya Purohit</p><p>import java.util.*; </p><p>class j1 </p><p>{ </p><p>    String car_type; </p><p>    double km; </p><p>    double bill; </p><p>     </p><p>    void accept() </p><p>    { </p><p>        Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>); </p><p>        System.out.print("Enter car type: "); </p><p>        car_type = sc.nextLine(); </p><p>        System.out.print("Enter kilometer: "); </p><p>        km = sc.nextDouble(); </p><p>    } </p><p>     </p><p>    void calculate() </p><p>    { </p><p>        if(km&lt;=5) </p><p>        { </p><p>            if(car_type.equals("AC")) </p><p>                bill = 150; </p><p>            else </p><p>                bill = 120; </p><p>        } </p><p>        else </p><p>        { </p><p>            if(car_type.equals("AC")) </p><p>                bill=150+10*(km-5); </p><p>            else </p><p>                bill=120+8*(km-5); </p><p>        } </p><p>    } </p><p>     </p><p>    void display() </p><p>    { </p><p>        System.out.println("Car Type: " + car_type); </p><p>        System.out.println("Kilometer Travelled: " + km); </p><p>        System.out.println("Total Bill: " + bill); </p><p>    } </p><p>     </p><p>   static void main() </p><p>   { </p><p>        CabService obj = new CabService(); </p><p>        obj.accept(); </p><p>        obj.calculate(); </p><p>        obj.display(); </p><p>    } </p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:52:30 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045179959</guid>
      </item>
      <item>
         <title>Maahish Shah-Program 4</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045180025</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class joyString</p><p>{</p><p>void joystring(String s, char ch1, char ch2)</p><p>{</p><p>String newStr = s.replace(ch1,ch2);</p><p>System.out.println(newStr);</p><p>}</p><p>void joystring(String s)</p><p>{</p><p>int f=s.indexOf(' ');</p><p>int l=s.lastIndexOf(' ');</p><p>System.out.println("First index: " + f);</p><p>System.out.println("Last index: " + l);</p><p>}</p><p>void joystring(String s1, String s2)</p><p>{</p><p>String newStr=s1.concat(" ").concat(s2);</p><p>System.out.println(newStr);</p><p>}</p><p>static void main()</p><p>{</p><p>StringOverload obj = new StringOverload();</p><p>obj.joystring("TECHNOLOGY", 'A', 'O');</p><p>obj.joystring("Cloud computing means Internet based computing");</p><p>obj.joystring("COMMON WEALTH", "GAMES");</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:52:37 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045180025</guid>
      </item>
      <item>
         <title>Arnavv Deherkar (Program 7)</title>
         <author>deherkararnav</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045180411</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Volumeoverload</p><p>{</p><p> double volume(double r)</p><p> {</p><p> double vol=(4/3.0)*(22/7.0)*r*r*r;</p><p> return vol;</p><p> }</p><p> </p><p> double volume(double h, double r)</p><p> {</p><p> double vol=(22/7.0)*r*r*h;</p><p> return vol;</p><p> }</p><p> </p><p> double volume(double l, double b, double h)</p><p> {</p><p> double vol=l*b*h;</p><p> return vol;</p><p> }</p><p> </p><p> static void main()</p><p> {</p><p> Volumeoverload obj = new Volumeoverload();</p><p> System.out.println("Sphere Volume = " + obj.volume(6));</p><p> System.out.println("Cylinder Volume = " + obj.volume(5, 3.5));</p><p> System.out.println("Cuboid Volume = " + obj.volume(7.5, 3.5, 2));</p><p> }</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:52:51 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045180411</guid>
      </item>
      <item>
         <title>Maahish Shah-Program 5</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045181023</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class IncomeTax</p><p>{</p><p>static void main()</p><p>{</p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter Gender(male/female): ");</p><p>String gender = sc.nextLine();</p><p>System.out.print("Enter Age: ");</p><p>int age = sc.nextInt();</p><p>System.out.print("Enter Taxable Income: ");</p><p>double ti=sc.nextDouble();</p><p>double tax=0.0;</p><p>if (age&gt;65||gender.equalsIgnoreCase("female"))</p><p>{</p><p>System.out.print("Wrong Category");</p><p>}</p><p>else</p><p>{</p><p>if(ti&lt;=160000)</p><p>tax=0;</p><p>else if(ti&lt;=500000)</p><p>tax=(ti-160000)*10/100;</p><p>else if(ti&lt;=800000)</p><p>tax=34000+((ti-500000)*20/100);</p><p>else</p><p>tax=94000+((ti-800000)*30/100);</p><p><br/></p><p>System.out.println("Tax Payable: " + tax);</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:53:48 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045181023</guid>
      </item>
      <item>
         <title>Nyssa-Q3</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045181269</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class RailwayTicket</p><p>{</p><p>String name;</p><p>String coach;</p><p>long mobno;</p><p>int amt;</p><p>int totalamt;</p><p><br></p><p>void accept()</p><p>{</p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter name: ");</p><p>name = sc.nextLine();</p><p>System.out.print("Enter coach: ");</p><p>coach = sc.nextLine();</p><p>System.out.print("Enter mobile no: ");</p><p>mobno = sc.nextLong();</p><p>System.out.print("Enter amount: ");</p><p>amt = sc.nextInt();</p><p>}</p><p>void update()</p><p>{</p><p>if(coach.equalsIgnoreCase("First_AC"))</p><p>totalamt = amt + 700;</p><p>else if(coach.equalsIgnoreCase("Second_AC"))</p><p>totalamt = amt + 500;</p><p>else if(coach.equalsIgnoreCase("Third_AC"))</p><p>totalamt = amt + 250;</p><p>else if(coach.equalsIgnoreCase("Sleeper"))</p><p>totalamt = amt;</p><p>}</p><p><br></p><p>void display()</p><p>{</p><p>System.out.println("Name: " + name);</p><p>System.out.println("Coach: " + coach);</p><p>System.out.println("Total Amount: " + totalamt);</p><p>System.out.println("Mobile number: " + mobno);</p><p>}</p><p>static void main()</p><p>{</p><p>RailwayTicket obj = new RailwayTicket();</p><p>obj.accept();</p><p>obj.update();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:54:00 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045181269</guid>
      </item>
      <item>
         <title>Hetvi Furia -10A --Q3</title>
         <author>hetvifuria29</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045181556</link>
         <description><![CDATA[<p><br></p><p>import java.util.*;</p><p>class RailwayTicket</p><p>{</p><p>String name;</p><p>String coach;</p><p>long mobno;</p><p>int amt;</p><p>int totalamt;</p><p><br></p><p>void accept()</p><p>{</p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter name: ");</p><p>name = sc.nextLine();</p><p>System.out.print("Enter coach: ");</p><p>coach = sc.nextLine();</p><p>System.out.print("Enter mobile no: ");</p><p>mobno = sc.nextLong();</p><p>System.out.print("Enter amount: ");</p><p>amt = sc.nextInt();</p><p>}</p><p>void update()</p><p>{</p><p>if(coach.equalsIgnoreCase("First_AC"))</p><p>totalamt = amt + 700;</p><p>else if(coach.equalsIgnoreCase("Second_AC"))</p><p>totalamt = amt + 500;</p><p>else if(coach.equalsIgnoreCase("Third_AC"))</p><p>totalamt = amt + 250;</p><p>else if(coach.equalsIgnoreCase("Sleeper"))</p><p>totalamt = amt;</p><p>}</p><p><br></p><p>void display()</p><p>{</p><p>System.out.println("Name: " + name);</p><p>System.out.println("Coach: " + coach);</p><p>System.out.println("Total Amount: " + totalamt);</p><p>System.out.println("Mobile number: " + mobno);</p><p>}</p><p>static void main()</p><p>{</p><p>RailwayTicket obj = new RailwayTicket();</p><p>obj.accept();</p><p>obj.update();</p><p>obj.display();</p><p>}</p><p>}</p><p><br></p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:54:05 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045181556</guid>
      </item>
      <item>
         <title>Arush Q2</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045181647</link>
         <description><![CDATA[<p>import java.util.*;</p><p>public class Overload </p><p>{</p><p>    void Number(int num, int d) {</p><p>        int f = 0;</p><p>        </p><p>        while (num != 0) {</p><p>            int x = num % 10;</p><p>            if (x == d) {</p><p>                f++;</p><p>            }</p><p>            num /= 10;</p><p>        }</p><p>        </p><p>        System.out.println("Frequency of digit " + d + " = " + f);</p><p>    }</p><p>    </p><p>    void Number(int n1) {</p><p>        int s = 0;</p><p>        </p><p>        while (n1 != 0) {</p><p>            int x = n1 % 10;</p><p>            if (x % 2 == 0) {</p><p>                s = s + x;</p><p>            }</p><p>            n1 /= 10;</p><p>        }</p><p>        </p><p>        System.out.println("Sum of even digits = " + s);</p><p>    }</p><p>    </p><p>    public static void main(String args[]) {</p><p>        Overload obj = new Overload();</p><p>        obj.Number(2565685, 5);</p><p>        obj.Number(29865);</p><p>    }</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:54:14 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045181647</guid>
      </item>
      <item>
         <title>Maahish Shah-Program 6</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045181922</link>
         <description><![CDATA[<p><br/></p><p>import java.util.*;</p><p>class series</p><p>{</p><p>void series()</p><p>{</p><p>int k,sum=0;</p><p>for(k=1;k&lt;=20;k++)</p><p>{</p><p>int term = (int)Math.pow(2,k);</p><p>if (k%2==0)</p><p>sum-= term;</p><p>else</p><p>sum+= term;</p><p>}</p><p><br/></p><p>System.out.println("Sum=" + sum);</p><p>}</p><p>void series(int n)</p><p>{</p><p>int k,term=1;</p><p><br/></p><p>for(k=1;k&lt;=10;k++)</p><p>{</p><p>System.out.print(term + ", ");</p><p>term =term*10+1;</p><p>}</p><p>}</p><p>}</p><p><br/></p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:54:36 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045181922</guid>
      </item>
      <item>
         <title>Angela Q2</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045182826</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Number{</p><p>void Number(int num, int d){</p><p>int f = 0;</p><p>while(num&gt;0){</p><p>int a = num % 10;</p><p>if(a==d){</p><p>f++;</p><p>}</p><p>num/=10;</p><p>}</p><p>System.out.println("Frequency of digit "+d+"="+f);</p><p>}</p><p>void Number(int n1){</p><p>int s = 0;</p><p>while (n1&gt;0){</p><p>int b = n1%10;</p><p>if(b%2==0){</p><p>s+=b;</p><p>}</p><p>n1/=10;</p><p>System.out.println("Sum of even numbers: "+s);</p><p>}</p><p>}</p><p>void Number(){</p><p>for(int i = 1; i&lt;=5; i++)</p><p>{</p><p>for(int j = 1; j&lt;=i; j++)</p><p>{</p><p>System.out.print(i);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:55:30 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045182826</guid>
      </item>
      <item>
         <title>Q2 Shreyas Raikar</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045183272</link>
         <description><![CDATA[<p> import java.util.*; </p><p> class Numoverload</p><p>   {</p><p>       int f, s, d1, k , i ;</p><p>       void Number(int num , int d )</p><p>         {</p><p>             f=0;</p><p>             while(num!=0)</p><p>                {</p><p>                    d1=num%10;</p><p>                    if(d==d1)</p><p>                       {</p><p>                           f=f+1;</p><p>                       }</p><p>                       num=num/10;</p><p>                }</p><p>             System.out.println("Number of times  " +d  +"appears " +f);</p><p>         }</p><p>       void Number(int n1 )</p><p>          {</p><p>            while(n1!=0)</p><p>                {</p><p>                    d1=n1%10;</p><p>                    if(d1%2==0)</p><p>                       {</p><p>                           s=s+d1;</p><p>                           n1=n1/10;</p><p>                       }</p><p>                }</p><p>             System.out.println("sum of the digits = " +s);  </p><p>          }</p><p>       void Number() </p><p>          {</p><p>            for (k=1 ; k&lt;=5;k++)</p><p>              {</p><p>                  for (i=1;i&lt;=k;i++)</p><p>                    {</p><p>                         System.out.println(k);  </p><p>                    }</p><p>                  System.out.println();    </p><p>              }</p><p>          }</p><p>        }</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:55:48 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045183272</guid>
      </item>
      <item>
         <title>Atharva Patil [Program 3]</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045183697</link>
         <description><![CDATA[<p>import java.util.*; </p><p>class RailwayTicket </p><p>{ </p><p>    String name; </p><p>    String coach; </p><p>    long mobno; </p><p>    int amt; </p><p>    int totalamt; </p><p>    void accept(){ </p><p>        Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>); </p><p>        System.out.print("Enter name: "); </p><p>        name = sc.nextLine(); </p><p>        System.out.print("Enter coach: "); </p><p>        coach = sc.nextLine(); </p><p>        System.out.print("Enter mobile no: "); </p><p>        mobno = sc.nextLong(); </p><p>        System.out.print("Enter amount: "); </p><p>        amt = sc.nextInt(); </p><p>    } </p><p>    void update() </p><p>    { </p><p>        if(coach.equalsIgnoreCase("First_AC")) </p><p>        totalamt = amt + 700; </p><p>        else if(coach.equalsIgnoreCase("Second_AC")) </p><p>        totalamt = amt + 500; </p><p>        else if(coach.equalsIgnoreCase("Third_AC")) </p><p>        totalamt = amt + 250; </p><p>        else if(coach.equalsIgnoreCase("Sleeper")) </p><p>        totalamt = amt; </p><p>    } </p><p>    void display() { </p><p>        System.out.println("Name: " + name); </p><p>        System.out.println("Coach: " + coach); </p><p>        System.out.println("Total Amount: " + totalamt); </p><p>        System.out.println("Mobile number: " + mobno); </p><p>    } </p><p>    static void main() </p><p>    { </p><p>        RailwayTicket obj = new RailwayTicket(); </p><p>        obj.accept(); </p><p>        obj.update(); </p><p>        obj.display(); </p><p>    } </p><p>} </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:56:16 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045183697</guid>
      </item>
      <item>
         <title>Maahish Shah-Program 7</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045184355</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class VolumeOverload</p><p>{</p><p>double volume(double r)</p><p>{</p><p>double vol=(4/3.0)*(22/7.0)*r*r*r;</p><p>return vol;</p><p>}</p><p><br></p><p>double volume(double h, double r)</p><p>{</p><p>double vol=(22/7.0)*r*r*h;</p><p>return vol;</p><p>}</p><p><br></p><p>double volume(double l, double b, double h)</p><p>{</p><p>double vol=l*b*h;</p><p>return vol;</p><p>}</p><p><br></p><p>static void main()</p><p>{</p><p>Volumeoverload obj = new Volumeoverload();</p><p>System.out.println("Sphere Volume = " + obj.volume(6));</p><p>System.out.println("Cylinder Volume = " + obj.volume(5, 3.5));</p><p>System.out.println("Cuboid Volume = " + obj.volume(7.5, 3.5, 2));</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:56:32 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045184355</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045184359</link>
         <description><![CDATA[<p>Shaurya Purohit q3</p><p>import java.util.*; </p><p>class j3 </p><p>{ </p><p>    String name; </p><p>    String coach; </p><p>    long mobno; </p><p>    int amt; </p><p>int totalamt; </p><p>void accept() </p><p>{ </p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>); </p><p>System.out.print("Enter name: "); </p><p>name = sc.nextLine(); </p><p>System.out.print("Enter coach: "); </p><p>coach = sc.nextLine(); </p><p>System.out.print("Enter mobile no: "); </p><p>mobno = sc.nextLong(); </p><p>System.out.print("Enter amount: "); </p><p>amt = sc.nextInt(); </p><p>} </p><p>void update() </p><p>{ </p><p>if(coach.equalsIgnoreCase("First_AC")) </p><p>totalamt = amt + 700; </p><p>else if(coach.equalsIgnoreCase("Second_AC")) </p><p>totalamt = amt + 500; </p><p>else if(coach.equalsIgnoreCase("Third_AC")) </p><p>totalamt = amt + 250; </p><p>else if(coach.equalsIgnoreCase("Sleeper")) </p><p>totalamt = amt; </p><p>} </p><p>void display() </p><p>{ </p><p>        System.out.println("Name: " + name); </p><p>        System.out.println("Coach: " + coach); </p><p>        System.out.println("Total Amount: " + totalamt); </p><p>        System.out.println("Mobile number: " + mobno); </p><p>    } </p><p>    static void main() </p><p>    { </p><p>        j3 obj = new j3(); </p><p>        obj.accept(); </p><p>        obj.update(); </p><p>        obj.display(); </p><p>    } </p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:56:32 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045184359</guid>
      </item>
      <item>
         <title>Julie Q2</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045184411</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class number</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>void Number(int num,int d)</p><p>{</p><p>int c=0;</p><p>while(num&gt;0)</p><p>{</p><p>int digit=num%10;</p><p>if(digit==d)</p><p>{</p><p>c++;</p><p>}</p><p>else</p><p>{</p><p>}</p><p>num/=10;</p><p>}</p><p>System.out.println("Frequecy of digit "+d+"="+c);</p><p>}</p><p>void Number(int n1)</p><p>{</p><p>int s=0;</p><p>while(n1&gt;0)</p><p>{</p><p>int dig=n1%10;</p><p>if(dig%2==0)</p><p>s=s+dig;</p><p>else</p><p>n1/=10;</p><p>}</p><p>System.out.println("sum of digits= "+s);</p><p>}</p><p>void Number()</p><p>{</p><p>int k,p;</p><p>for(k=1;k&lt;=5;k++)</p><p>{</p><p>for(p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print(k);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:56:36 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045184411</guid>
      </item>
      <item>
         <title>Q2 Shardul Sarang</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045184474</link>
         <description><![CDATA[<p> import java.util.*; </p><p> class Numoverload</p><p>   {</p><p>       int f, s, d1, k , i ;</p><p>       void Number(int num , int d )</p><p>         {</p><p>             f=0;</p><p>             while(num!=0)</p><p>                {</p><p>                    d1=num%10;</p><p>                    if(d==d1)</p><p>                       {</p><p>                           f=f+1;</p><p>                       }</p><p>                       num=num/10;</p><p>                }</p><p>             System.out.println("Number of times  " +d  +"appears " +f);</p><p>         }</p><p>       void Number(int n1 )</p><p>          {</p><p>            while(n1!=0)</p><p>                {</p><p>                    d1=n1%10;</p><p>                    if(d1%2==0)</p><p>                       {</p><p>                           s=s+d1;</p><p>                           n1=n1/10;</p><p>                       }</p><p>                }</p><p>             System.out.println("sum of the digits = " +s);  </p><p>          }</p><p>       void Number() </p><p>          {</p><p>            for (k=1 ; k&lt;=5;k++)</p><p>              {</p><p>                  for (i=1;i&lt;=k;i++)</p><p>                    {</p><p>                         System.out.println(k);  </p><p>                    }</p><p>                  System.out.println();    </p><p>              }</p><p>          }</p><p>        }</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:56:42 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045184474</guid>
      </item>
      <item>
         <title>Aditi Shah- Program 2</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045185077</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class frequency</p><p>{</p><p>void Number(int num,int d)</p><p>{</p><p>int dig,c=0;</p><p>while(num!=0)</p><p>{</p><p>dig=num%10;</p><p>if(dig==d)</p><p>c++;</p><p>num=num/10;</p><p>}</p><p>System.out.println("No. of "+d+"= "+c);</p><p>}</p><p>void Number(int n1)</p><p>{</p><p>int s=0;</p><p>while(n1!=0)</p><p>{</p><p>int dig=n1%10;</p><p>if(dig%2==0)</p><p>s=s+dig;</p><p>n1=n1/10;</p><p>}</p><p>System.out.println("Sum of even numbers= "+s);</p><p>}</p><p>void Number()</p><p>{</p><p>for(int k=1;k&lt;=5;k++)</p><p>{</p><p>for(int p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print(k);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:57:09 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045185077</guid>
      </item>
      <item>
         <title>Angela Q3</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045186429</link>
         <description><![CDATA[<p><br/></p><p>import java.util.*;</p><p>class RailwayTicket</p><p>{</p><p>String name;</p><p>String coach;</p><p>long mobno;</p><p>int amt;</p><p>int totalamt;</p><p><br/></p><p>void accept()</p><p>{</p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter name: ");</p><p>name = sc.nextLine();</p><p>System.out.print("Enter coach: ");</p><p>coach = sc.nextLine();</p><p>System.out.print("Enter mobile no: ");</p><p>mobno = sc.nextLong();</p><p>System.out.print("Enter amount: ");</p><p>amt = sc.nextInt();</p><p>}</p><p>void update()</p><p>{</p><p>if(coach.equalsIgnoreCase("First_AC"))</p><p>totalamt = amt + 700;</p><p>else if(coach.equalsIgnoreCase("Second_AC"))</p><p>totalamt = amt + 500;</p><p>else if(coach.equalsIgnoreCase("Third_AC"))</p><p>totalamt = amt + 250;</p><p>else if(coach.equalsIgnoreCase("Sleeper"))</p><p>totalamt = amt;</p><p>}</p><p><br/></p><p>void display()</p><p>{</p><p>System.out.println("Name: " + name);</p><p>System.out.println("Coach: " + coach);</p><p>System.out.println("Total Amount: " + totalamt);</p><p>System.out.println("Mobile number: " + mobno);</p><p>}</p><p>static void main()</p><p>{</p><p>RailwayTicket obj = new RailwayTicket();</p><p>obj.accept();</p><p>obj.update();</p><p>obj.display();</p><p>}</p><p>}</p><p><br/></p><p><br/></p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:58:19 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045186429</guid>
      </item>
      <item>
         <title>Janhavi Nagaonkar(Program 3)</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045186523</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class RailwayTicket</p><p>{</p><p>String name;</p><p>String coach;</p><p>long mobno;</p><p>int amt;</p><p>int totalamt;</p><p>void accept()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter your name");</p><p>name=sc.nextLine();</p><p>System.out.println("Enter the type of coach you want to travel");</p><p>coach=sc.nextLine();</p><p>System.out.println("Enter your mobile number");</p><p>mobno=sc.nextLong();</p><p>System.out.println("Enter the amount of ticket");</p><p>amt=sc.nextInt();</p><p>}</p><p>void update()</p><p>{</p><p>if(coach.equalsIgnoreCase("First_AC"))</p><p>totalamt=amt+700;</p><p>else if(coach.equalsIgnoreCase("Second_AC"))</p><p>totalamt=amt+500;</p><p>else if(coach.equalsIgnoreCase("Third_AC"))</p><p>totalamt=amt+250;</p><p>else if(coach.equalsIgnoreCase("Sleeper"))</p><p>totalamt=amt;</p><p>System.out.println("Please enter correct coach type");</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("Name: "+name);</p><p>System.out.println("Type of coach: "+coach);</p><p>System.out.println("Mobile number: "+mobno);</p><p>System.out.println("Total amount: "+totalamt);</p><p>}</p><p>void main()</p><p>{</p><p>RailwayTicket obj=new RailwayTicket();</p><p>obj.accept();</p><p>obj.update();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:58:30 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045186523</guid>
      </item>
      <item>
         <title>Arush 3</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045186678</link>
         <description><![CDATA[<p>import java.util.Scanner;</p><p>public class RailwayTicket</p><p>{</p><p>    private String name;</p><p>    private String coach;</p><p>    private long mobno;</p><p>    private int amt;</p><p>    private int totalamt;</p><p>    </p><p>    private void accept() {</p><p>        Scanner in = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>        System.out.print("Enter name: ");</p><p>        name = in.nextLine();</p><p>        System.out.print("Enter coach: ");</p><p>        coach = in.nextLine();</p><p>        System.out.print("Enter mobile no: ");</p><p>        mobno = in.nextLong();</p><p>        System.out.print("Enter amount: ");</p><p>        amt = in.nextInt();</p><p>    }</p><p>    </p><p>    private void update() {</p><p>        if(coach.equalsIgnoreCase("First_AC"))</p><p>            totalamt = amt + 700;</p><p>        else if(coach.equalsIgnoreCase("Second_AC"))</p><p>            totalamt = amt + 500;</p><p>        else if(coach.equalsIgnoreCase("Third_AC"))</p><p>            totalamt = amt + 250;</p><p>        else if(coach.equalsIgnoreCase("Sleeper"))</p><p>            totalamt = amt;</p><p>    }</p><p>    </p><p>    private void display() {</p><p>        System.out.println("Name: " + name);</p><p>        System.out.println("Coach: " + coach);</p><p>        System.out.println("Total Amount: " + totalamt);</p><p>        System.out.println("Mobile number: " + mobno);</p><p>    }</p><p>    </p><p>    public static void main(String args[]) {</p><p>        RailwayTicket obj = new RailwayTicket();</p><p>        obj.accept();</p><p>        obj.update();</p><p>        obj.display();</p><p>    }</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:58:42 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045186678</guid>
      </item>
      <item>
         <title>Q4 Abhinav Jain</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045186778</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class IncomeTax</p><p>{</p><p> static void main()</p><p> {</p><p> Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p> System.out.print("Enter Gender(male/female): ");</p><p> String gender = sc.nextLine();</p><p> System.out.print("Enter Age: ");</p><p> int age = sc.nextInt();</p><p> System.out.print("Enter Taxable Income: ");</p><p> double ti=sc.nextDouble();</p><p> double tax=0.0;</p><p> if (age&gt;65||gender.equalsIgnoreCase("female"))</p><p> {</p><p> System.out.print("Wrong Category");</p><p> }</p><p> else</p><p> {</p><p> if(ti&lt;=160000)</p><p> tax=0;</p><p> else if(ti&lt;=500000)</p><p> tax=(ti-160000)*10/100;</p><p> else if(ti&lt;=800000)</p><p> tax=34000+((ti-500000)*20/100);</p><p> else</p><p> tax=94000+((ti-800000)*30/100);</p><p> </p><p> System.out.println("Tax Payable: " + tax);</p><p> } </p><p> }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:58:50 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045186778</guid>
      </item>
      <item>
         <title>SaeeBhogaleQuestion3</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045186880</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class RailwayTicket</p><p>{</p><p>String name;</p><p>String coach;</p><p>long mobno;</p><p>int amt;</p><p>int totalamt;</p><p>void accept()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter name:");</p><p>name=sc.nextLine();</p><p>System.out.print("Enter coach:");</p><p>coach=sc.nextLine();</p><p>System.out.print("Enter mobile no");</p><p>mobno=sc.nextLong();</p><p>System.out.print("Enter Amount");</p><p>amt=sc.nextInt();</p><p>}</p><p>void update()</p><p>{</p><p>if(coach.equalsIgnoreCase("First_AC"))</p><p>totalamt=amt+700;</p><p>if(coach.equalsIgnoreCase("Second_AC"))</p><p>totalamt=amt+500;</p><p>if(coach.equalsIgnoreCase("Third_AC"))</p><p>totalamt=amt+250;</p><p>if(coach.equalsIgnoreCase("Sleeper"))</p><p>totalamt=amt;</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("Name:"+name);</p><p>System.out.println("Coach:"+coach);</p><p>System.out.println("Totalamount:"+totalamt);</p><p>System.out.println("Mobile Number:"+mobno);</p><p>}</p><p>static void main()</p><p>{</p><p>RailwayTicket obj=new RailwayTicket();</p><p>obj.accept();</p><p>obj.update();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:59:00 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045186880</guid>
      </item>
      <item>
         <title>vighnesh q3</title>
         <author>tejasvikpatil</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045187048</link>
         <description><![CDATA[<p>import java.util.*; </p><p>class RailwayTicket </p><p>{ </p><p>    String name; </p><p>    String coach; </p><p>    long mobno; </p><p>    int amt; </p><p>int totalamt=0; </p><p>void accept() </p><p>{ </p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>); </p><p>System.out.print("Enter name: "); </p><p>name = sc.nextLine(); </p><p>System.out.print("Enter coach: "); </p><p>coach = sc.nextLine(); </p><p>System.out.print("Enter mobile no: "); </p><p>mobno = sc.nextLong(); </p><p>System.out.print("Enter amount: "); </p><p>amt = sc.nextInt(); </p><p>} </p><p>void update() </p><p>{ </p><p>    if(coach.equalsIgnoreCase("First_AC")) </p><p>    totalamt = amt + 700; </p><p>    else if(coach.equalsIgnoreCase("Second_AC")) </p><p>    totalamt = amt + 500; </p><p>    else if(coach.equalsIgnoreCase("Third_AC")) </p><p>    totalamt = amt + 250; </p><p>    else if(coach.equalsIgnoreCase("Sleeper")) </p><p>    totalamt = amt; </p><p>} </p><p>void display() </p><p>{ </p><p>        System.out.println("Name: " + name); </p><p>        System.out.println("Coach: " + coach); </p><p>        System.out.println("Total Amount: " + totalamt); </p><p>        System.out.println("Mobile number: " + mobno); </p><p>    } </p><p>    static void main() </p><p>    { </p><p>        RailwayTicket obj = new RailwayTicket(); </p><p>        obj.accept(); </p><p>        obj.update(); </p><p>        obj.display(); </p><p>    } </p><p>} </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:59:18 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045187048</guid>
      </item>
      <item>
         <title>Krishnendu (Program 2)</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045187289</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Number</p><p>{</p><p>void Number(int num, int d)</p><p>{</p><p>int f=0;</p><p>for(int k=0; k&lt;=7; k++)</p><p>{</p><p>int dig=num%10;</p><p>num/=10;</p><p>if(dig==d)</p><p>{</p><p>f++;</p><p>}</p><p>}</p><p>System.out.println("Frequency: " +f);</p><p>}</p><p>void Number(int n1)</p><p>{</p><p>int count=0;</p><p>for(int k=0; k&lt;=5; k++)</p><p>{</p><p>int d=n1%10;</p><p>n1/=10;</p><p>if(d%2==0)</p><p>{</p><p>count+=d;</p><p>}</p><p>}</p><p>System.out.println("Sum of even digits= " +count);</p><p>}</p><p>void Number()</p><p>{</p><p>for(int i=0; i&lt;=5; i++)</p><p>{</p><p>for(int j=0; j&lt;=i; j++)</p><p>{</p><p>System.out.print(i);</p><p>}</p><p>System.out.println("");</p><p>}</p><p>}</p><p>static void main()</p><p>{</p><p>Number obj=new Number();</p><p>obj.Number(2565685, 5);</p><p>obj.Number(29865);</p><p>obj.Number();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 07:59:41 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045187289</guid>
      </item>
      <item>
         <title>Eva B and Dhun J q3</title>
         <author>avikavisht</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045187657</link>
         <description><![CDATA[<p>import java.util.Scanner;</p><p>    class RailwayTicket</p><p>{</p><p>       String name;</p><p>       String coach;</p><p>       long mobno;</p><p>       int amt;</p><p>       int totalamt;</p><p>    </p><p>       void accept() {</p><p>        Scanner in = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>        System.out.print("Enter name: ");</p><p>        name = in.nextLine();</p><p>        System.out.print("Enter coach: ");</p><p>        coach = in.nextLine();</p><p>        System.out.print("Enter mobile no: ");</p><p>        mobno = in.nextLong();</p><p>        System.out.print("Enter amount: ");</p><p>        amt = in.nextInt();</p><p>    }</p><p>    </p><p>       void update() {</p><p>        if(coach.equalsIgnoreCase("First_AC"))</p><p>            totalamt = amt + 700;</p><p>        else if(coach.equalsIgnoreCase("Second_AC"))</p><p>            totalamt = amt + 500;</p><p>        else if(coach.equalsIgnoreCase("Third_AC"))</p><p>            totalamt = amt + 250;</p><p>        else if(coach.equalsIgnoreCase("Sleeper"))</p><p>            totalamt = amt;</p><p>    }</p><p>    </p><p>       void display() {</p><p>        System.out.println("Name: " + name);</p><p>        System.out.println("Coach: " + coach);</p><p>        System.out.println("Total Amount: " + totalamt);</p><p>        System.out.println("Mobile number: " + mobno);</p><p>    }</p><p>    </p><p>        static void main() {</p><p>        RailwayTicket obj = new RailwayTicket();</p><p>        obj.accept();</p><p>        obj.update();</p><p>        obj.display();</p><p>    }</p><p>}</p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:00:15 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045187657</guid>
      </item>
      <item>
         <title>Arjun K-Q2</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045187919</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Q2</p><p>{</p><p>void Number(int num,int d)</p><p>{</p><p>int c=num,f=0;</p><p>while(c&gt;0)</p><p>{</p><p>if(c%10==d)</p><p>f+=1;</p><p>c=c/10;</p><p>}</p><p>System.out.println("Number = "+num);</p><p>System.out.println("Digit whose frequency is to be found = "+d);</p><p>System.out.println("Frequency = "+f);</p><p>}</p><p>void Number(int n1)</p><p>{</p><p>int c=n1,s=0;</p><p>while(c&gt;0)</p><p>{</p><p>if((c%10)%2==0)</p><p>s+=c%10;</p><p>c=c/10;</p><p>}</p><p>System.out.println("Number = "+n1);</p><p>System.out.println("Sum of even digits = "+s);</p><p>}</p><p>void Number()</p><p>{</p><p>int k,p;</p><p>for(k=1;k&lt;=5;k++)</p><p>{</p><p>for(p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print(k);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:00:44 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045187919</guid>
      </item>
      <item>
         <title>10B Kinysha - Q3</title>
         <author>KinyshaAkerkar</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045188232</link>
         <description><![CDATA[<p>import java.util.Scanner;</p><p>class RailwayTicket</p><p>{</p><p>String name;</p><p>String coach;</p><p>long mobno;</p><p>int amt;</p><p>int totalamt;</p><p><br/></p><p>void accept() {</p><p>Scanner in = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter name: ");</p><p>name = in.nextLine();</p><p>System.out.print("Enter coach: ");</p><p>coach = in.nextLine();</p><p>System.out.print("Enter mobile no: ");</p><p>mobno = in.nextLong();</p><p>System.out.print("Enter amount: ");</p><p>amt = in.nextInt();</p><p>}</p><p><br/></p><p>void update() {</p><p>if(coach.equalsIgnoreCase("First_AC"))</p><p>totalamt = amt + 700;</p><p>else if(coach.equalsIgnoreCase("Second_AC"))</p><p>totalamt = amt + 500;</p><p>else if(coach.equalsIgnoreCase("Third_AC"))</p><p>totalamt = amt + 250;</p><p>else if(coach.equalsIgnoreCase("Sleeper"))</p><p>totalamt = amt;</p><p>}</p><p><br/></p><p>void display() {</p><p>System.out.println("Name: " + name);</p><p>System.out.println("Coach: " + coach);</p><p>System.out.println("Total Amount: " + totalamt);</p><p>System.out.println("Mobile number: " + mobno);</p><p>}</p><p><br/></p><p>static void main() {</p><p>RailwayTicket obj = new RailwayTicket();</p><p>obj.accept();</p><p>obj.update();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:01:16 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045188232</guid>
      </item>
      <item>
         <title>Julie Q2</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045188382</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class number</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>void Number(int num,int d)</p><p>{</p><p>int c=0;</p><p>while(num&gt;0)</p><p>{</p><p>int digit=num%10;</p><p>if(digit==d)</p><p>{</p><p>c++;</p><p>}</p><p>else</p><p>{</p><p>}</p><p>num/=10;</p><p>}</p><p>System.out.println("Frequecy of digit "+d+"="+c);</p><p>}</p><p>void Number(int n1)</p><p>{</p><p>int s=0;</p><p>while(n1&gt;0)</p><p>{</p><p>int dig=n1%10;</p><p>if(dig%2==0)</p><p>s=s+dig;</p><p>else</p><p>n1/=10;</p><p>}</p><p>System.out.println("sum of digits= "+s);</p><p>}</p><p>void Number()</p><p>{</p><p>int k,p;</p><p>for(k=1;k&lt;=5;k++)</p><p>{</p><p>for(p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print(k);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:01:31 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045188382</guid>
      </item>
      <item>
         <title>Julie Q3</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045188784</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class RailwayTicket</p><p>{</p><p>String name;</p><p>String coach;</p><p>long mobno;</p><p>int amt;</p><p>int totalamt;</p><p><br/></p><p>void accept()</p><p>{</p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter name: ");</p><p>name = sc.nextLine();</p><p>System.out.print("Enter coach: ");</p><p>coach = sc.nextLine();</p><p>System.out.print("Enter mobile no: ");</p><p>mobno = sc.nextLong();</p><p>System.out.print("Enter amount: ");</p><p>amt = sc.nextInt();</p><p>}</p><p>void update()</p><p>{</p><p>if(coach.equalsIgnoreCase("First_AC"))</p><p>totalamt = amt + 700;</p><p>else if(coach.equalsIgnoreCase("Second_AC"))</p><p>totalamt = amt + 500;</p><p>else if(coach.equalsIgnoreCase("Third_AC"))</p><p>totalamt = amt + 250;</p><p>else if(coach.equalsIgnoreCase("Sleeper"))</p><p>totalamt = amt;</p><p>}</p><p><br/></p><p>void display()</p><p>{</p><p>System.out.println("Name: " + name);</p><p>System.out.println("Coach: " + coach);</p><p>System.out.println("Total Amount: " + totalamt);</p><p>System.out.println("Mobile number: " + mobno);</p><p>}</p><p>static void main()</p><p>{</p><p>RailwayTicket obj = new RailwayTicket();</p><p>obj.accept();</p><p>obj.update();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:02:11 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045188784</guid>
      </item>
      <item>
         <title>10A Tisha Q1</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189003</link>
         <description><![CDATA[<pre><code class="language-java">import java.util.Scanner;

 class CabService
{
    String car_type;
    double km;
    double bill;
    
    CabService() {
        car_type = "";
        km = 0.0;
        bill = 0.0;
    }
    
 void accept()
 {
        Scanner in = new Scanner(System.in);
        System.out.print("Enter car type: ");
        car_type = in.nextLine();
        System.out.print("Enter kilometer: ");
        km = in.nextDouble();
    }
    
     void calculate()
 {
        if (km &lt;= 5) 
{
            if (car_type.equals("AC"))
                bill = 150;
            else
                bill = 120;
        }
        else
 {
 if (car_type.equals("AC"))
   bill = 150 + 10 * (km - 5);
  else
 bill = 120 + 8 * (km - 5);
        }
    }
    
 void display() {
System.out.println("Car Type: " + car_type) System.out.println("Kilometer Travelled: " + km);
System.out.println("Total Bill: " + bill);
    }
    
    public static void main() 
{
        CabService obj = new CabService();
        obj.accept();
        obj.calculate();
        obj.display();
    }
}</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:02:34 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189003</guid>
      </item>
      <item>
         <title>Shaurya Purohit Q4</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189336</link>
         <description><![CDATA[<p>import java.util.*; </p><p>class j4 </p><p>{ </p><p>    void joystring(String s, char ch1, char ch2) </p><p>    { </p><p>        String newStr = s.replace(ch1,ch2); </p><p>        System.out.println(newStr); </p><p>    } </p><p>    void joystring(String s)  </p><p>    { </p><p>        int f=s.indexOf(' '); </p><p>        int l=s.lastIndexOf(' '); </p><p>        System.out.println("First index:  " + f); </p><p>        System.out.println("Last index:  " + l); </p><p>    } </p><p>    void joystring(String s1, String s2) </p><p>   { </p><p>        String newStr=s1.concat(" ").concat(s2); </p><p>        System.out.println(newStr); </p><p>    } </p><p>     static void main()  </p><p>   { </p><p>        j4 obj = new j4(); </p><p>        obj.joystring("TECHNALAGY", 'A', 'O'); </p><p>        obj.joystring("Cloud computing means Internet based computing"); </p><p>        obj.joystring("COMMON WEALTH", "GAMES"); </p><p>    } </p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:03:10 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189336</guid>
      </item>
      <item>
         <title>Q6 Abhinav Jain</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189521</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class series</p><p>{</p><p> void series()</p><p> {</p><p> int k,sum=0;</p><p> for(k=1;k&lt;=20;k++)</p><p> {</p><p> int term = (int)Math.pow(2,k);</p><p> if (k%2==0)</p><p> sum-= term;</p><p> else</p><p> sum+= term;</p><p> }</p><p> </p><p> System.out.println("Sum=" + sum);</p><p> }</p><p> void series(int n)</p><p> {</p><p> int k,term=1;</p><p> </p><p> for(k=1;k&lt;=10;k++) </p><p> {</p><p> System.out.print(term + ", ");</p><p> term =term*10+1;</p><p> }</p><p> }</p><p> }</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:03:23 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189521</guid>
      </item>
      <item>
         <title>Avneesh[Program2]</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189571</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class j2</p><p>{</p><p>void Number(int num,int d)</p><p>{</p><p>int f=0;</p><p>while(num!=0)</p><p>{</p><p>int a=num%10;</p><p>if(a==d)</p><p>{</p><p>f++;</p><p>}</p><p>num=num/10;</p><p>}</p><p>System.out.println("Frequency of digit"+d+"="+f);</p><p>}</p><p>void Number(int n1)</p><p>{</p><p>int s=0;</p><p>while(n1!=0)</p><p>{</p><p>int b=n1%10;</p><p>if(b%2==0)</p><p>{</p><p>s=s+b;</p><p>}</p><p>n1=n1/10;</p><p>}</p><p>System.out.println("Sum of even numbers="+s);</p><p>}</p><p>void Number()</p><p>{</p><p>int k,p;</p><p>for(k=1;k&lt;=5;k++)</p><p>{</p><p>for(p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print(k);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:03:30 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189571</guid>
      </item>
      <item>
         <title>naisha Q3</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189841</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class RailwayTicket</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>String name,coach;</p><p>long mobno;</p><p>int amt,totalamt=0;</p><p>void accept()</p><p>{</p><p>System.out.println("Enter your name");</p><p>name=sc.nextLine();</p><p>System.out.println("Enter coach");</p><p>coach=sc.nextLine();</p><p>System.out.println("Enter your no.");</p><p>mobno=sc.nextLong();</p><p>System.out.println("Enter your amt");</p><p>amt=sc.nextInt();</p><p>}</p><p>void calculate()</p><p>{</p><p>{</p><p>if(coach.equalsIgnoreCase("First_AC"))</p><p>totalamt=amt+700;</p><p>if(coach.equalsIgnoreCase("Second_AC"))</p><p>totalamt=amt+500;</p><p>if(coach.equalsIgnoreCase("Third_AC"))</p><p>totalamt=amt+250;</p><p>if(coach.equalsIgnoreCase("Sleeper"))</p><p>totalamt=amt;</p><p>}</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("Name:"+name);</p><p>System.out.println("Coach:"+coach);</p><p>System.out.println("Totalamount:"+totalamt);</p><p>System.out.println("Mobile Number:"+mobno);</p><p>}</p><p>static void main()</p><p>{</p><p>RailwayTicket obj=new RailwayTicket();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:03:57 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189841</guid>
      </item>
      <item>
         <title>Avneesh[Program3]</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189866</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class j3</p><p>{</p><p> String name;</p><p> String coach;</p><p> long mobno;</p><p> int amt;</p><p> int totalamt;</p><p> </p><p> void accept()</p><p> {</p><p> Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p> System.out.print("Enter name: ");</p><p> name = sc.nextLine();</p><p> System.out.print("Enter coach: ");</p><p> coach = sc.nextLine();</p><p> System.out.print("Enter mobile no: ");</p><p> mobno = sc.nextLong();</p><p> System.out.print("Enter amount: ");</p><p> amt = sc.nextInt();</p><p> }</p><p> void update()</p><p> {</p><p> if(coach.equalsIgnoreCase("First_AC"))</p><p> totalamt = amt + 700;</p><p> else if(coach.equalsIgnoreCase("Second_AC"))</p><p> totalamt = amt + 500;</p><p> else if(coach.equalsIgnoreCase("Third_AC"))</p><p> totalamt = amt + 250;</p><p> else if(coach.equalsIgnoreCase("Sleeper"))</p><p> totalamt = amt;</p><p> }</p><p> </p><p> void display()</p><p> {</p><p> System.out.println("Name: " + name);</p><p> System.out.println("Coach: " + coach);</p><p> System.out.println("Total Amount: " + totalamt);</p><p> System.out.println("Mobile number: " + mobno);</p><p> }</p><p>  void main()</p><p> {</p><p> j3 obj = new j3();</p><p> obj.accept();</p><p> obj.update();</p><p> obj.display();</p><p> }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:04:01 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189866</guid>
      </item>
      <item>
         <title>Achyut Singh [7]</title>
         <author>achyutsingh0283</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189872</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class J7</p><p>{</p><p>double volume(double r)</p><p>{</p><p>double vol=(4/3.0)*(22/7.0)*r*r*r;</p><p>return vol;</p><p>}</p><p>double volume(double h, double r)</p><p>{</p><p>double vol=(22/7.0)*r*r*h;</p><p>return vol;</p><p>}</p><p>double volume(double l, double b, double h)</p><p>{</p><p>double vol=l*b*h;</p><p>return vol;</p><p>}</p><p>static void main()</p><p>{</p><p>J7 obj = new J7();</p><p>System.out.println("Sphere Volume = " + obj.volume(6));</p><p>System.out.println("Cylinder Volume = " + obj.volume(5, 3.5));</p><p>System.out.println("Cuboid Volume = " + obj.volume(7.5, 3.5, 2));</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:04:01 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189872</guid>
      </item>
      <item>
         <title>Aditi Shah- Program 3</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189957</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class RailwayTicket</p><p>{</p><p>String name,coach;</p><p>long mobno;</p><p>int amt,totalamt=0;</p><p>void accept()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter name");</p><p>name=sc.nextLine();</p><p>System.out.println("Enter coach");</p><p>coach=sc.nextLine();</p><p>System.out.println("Enter mobile number");</p><p>mobno=sc.nextLong();</p><p>System.out.println("Enter amount");</p><p>amt=sc.nextInt();</p><p>}</p><p>void update()</p><p>{</p><p>if(coach.equalsIgnoreCase("First_AC"))</p><p>totalamt=amt+700;</p><p>if(coach.equalsIgnoreCase("Second_AC"))</p><p>totalamt=amt+500;</p><p>if(coach.equalsIgnoreCase("Third_AC"))</p><p>totalamt=amt+250;</p><p>if(coach.equalsIgnoreCase("Sleeper"))</p><p>totalamt=amt;</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("Name of the person: "+name);</p><p>System.out.println("Coach: "+coach);</p><p>System.out.println("Total amount: "+totalamt);</p><p>System.out.println("Mobile number: "+mobno);</p><p>}</p><p>void main()</p><p>{</p><p>RailwayTicket obj=new RailwayTicket();</p><p>obj.accept();</p><p>obj.update();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:04:11 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045189957</guid>
      </item>
      <item>
         <title>Q3 Shreyas Raikar</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045190311</link>
         <description><![CDATA[<p>import java.util.*; </p><p>class RailwayTicket </p><p>{ </p><p>  String name;     </p><p>  String coach;     </p><p>  long mobno;    </p><p>  int amt; </p><p>  int totalamt;   </p><p>  void accept() </p><p>    { </p><p>        Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);        </p><p>        System.out.print("Enter name: ");        </p><p>        name = sc.nextLine(); </p><p>        System.out.print("Enter coach: ");         </p><p>        coach = sc.nextLine(); </p><p>        System.out.print("Enter mobile no: ");       </p><p>        mobno = sc.nextLong(); </p><p>        System.out.print("Enter amount: ");        </p><p>        amt = sc.nextInt(); </p><p>  }     </p><p>  void update() </p><p>  { </p><p>        if(coach.equalsIgnoreCase("First_AC"))             </p><p>        totalamt = amt + 700;        </p><p>        else if(coach.equalsIgnoreCase("Second_AC"))            </p><p>        totalamt = amt + 500;         </p><p>        else if(coach.equalsIgnoreCase("Third_AC"))             </p><p>        totalamt = amt + 250;         </p><p>        else if(coach.equalsIgnoreCase("Sleeper"))             </p><p>        totalamt = amt; </p><p>    } </p><p>  void display() </p><p>{</p><p>        System.out.println("Name: " + name); </p><p>        System.out.println("Coach: " + coach); </p><p>        System.out.println("Total Amount: " + totalamt); </p><p>        System.out.println("Mobile number: " + mobno); </p><p>    }     </p><p>  static void main() </p><p>    { </p><p>        RailwayTicket obj = new RailwayTicket();        </p><p>        obj.accept();        </p><p>        obj.update();         </p><p>        obj.display(); </p><p>    } </p><p>} </p><p>  </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:04:37 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045190311</guid>
      </item>
      <item>
         <title>Avneesh[Program4]</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045190393</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class j4</p><p>{</p><p> void joystring(String s, char ch1, char ch2)</p><p> {</p><p> String newStr = s.replace(ch1,ch2);</p><p> System.out.println(newStr);</p><p> }</p><p> void joystring(String s) </p><p> {</p><p> int f=s.indexOf(' ');</p><p> int l=s.lastIndexOf(' ');</p><p> System.out.println("First index: " + f);</p><p> System.out.println("Last index: " + l);</p><p> }</p><p> void joystring(String s1, String s2)</p><p> {</p><p> String newStr=s1.concat(" ").concat(s2);</p><p> System.out.println(newStr);</p><p> }</p><p> void main() </p><p> {</p><p> j4 obj = new j4();</p><p> obj.joystring("TECHNALAGY", 'A', 'O');</p><p> obj.joystring("Cloud computing means Internet based computing");</p><p> obj.joystring("COMMON WEALTH", "GAMES");</p><p> }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:04:40 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045190393</guid>
      </item>
      <item>
         <title>Shaurya Purohit Q5</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045190677</link>
         <description><![CDATA[<p>import java.util.*; </p><p>class j5 </p><p>{ </p><p>    static void main() </p><p>    { </p><p>        Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>); </p><p>        System.out.print("Enter Gender(male/female): "); </p><p>        String gender = sc.nextLine(); </p><p>        System.out.print("Enter Age: "); </p><p>        int age = sc.nextInt(); </p><p>        System.out.print("Enter Taxable Income: "); </p><p>        double ti=sc.nextDouble(); </p><p>        double tax=0.0; </p><p> </p><p>        if (age&gt;65||gender.equalsIgnoreCase("female")) </p><p>        { </p><p>            System.out.print("Wrong Category"); </p><p>        } </p><p>        else </p><p>        { </p><p>            if(ti&lt;=160000) </p><p>                tax=0; </p><p>            else if(ti&lt;=500000) </p><p>                tax=(ti-160000)*10/100; </p><p>            else if(ti&lt;=800000) </p><p>                tax=34000+((ti-500000)*20/100); </p><p>            else </p><p>                tax=94000+((ti-800000)*30/100); </p><p>                 </p><p>            System.out.println("Tax Payable: " + tax); </p><p>        }       </p><p>    } </p><p>} </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:05:18 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045190677</guid>
      </item>
      <item>
         <title>Q3 Shardul Sarang</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045190841</link>
         <description><![CDATA[<p>import java.util.*; </p><p>class RailwayTicket </p><p>{ </p><p>  String name;     </p><p>  String coach;     </p><p>  long mobno;    </p><p>  int amt; </p><p>  int totalamt;   </p><p>  void accept() </p><p>    { </p><p>        Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);        </p><p>        System.out.print("Enter name: ");        </p><p>        name = sc.nextLine(); </p><p>        System.out.print("Enter coach: ");         </p><p>        coach = sc.nextLine(); </p><p>        System.out.print("Enter mobile no: ");       </p><p>        mobno = sc.nextLong(); </p><p>        System.out.print("Enter amount: ");        </p><p>        amt = sc.nextInt(); </p><p>  }     </p><p>  void update() </p><p>  { </p><p>        if(coach.equalsIgnoreCase("First_AC"))             </p><p>        totalamt = amt + 700;        </p><p>        else if(coach.equalsIgnoreCase("Second_AC"))            </p><p>        totalamt = amt + 500;         </p><p>        else if(coach.equalsIgnoreCase("Third_AC"))             </p><p>        totalamt = amt + 250;         </p><p>        else if(coach.equalsIgnoreCase("Sleeper"))             </p><p>        totalamt = amt; </p><p>    } </p><p>  void display() </p><p>{</p><p>        System.out.println("Name: " + name); </p><p>        System.out.println("Coach: " + coach); </p><p>        System.out.println("Total Amount: " + totalamt); </p><p>        System.out.println("Mobile number: " + mobno); </p><p>    }     </p><p>  static void main() </p><p>    { </p><p>        RailwayTicket obj = new RailwayTicket();        </p><p>        obj.accept();        </p><p>        obj.update();         </p><p>        obj.display(); </p><p>    } </p><p>} </p><p>  </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:05:35 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045190841</guid>
      </item>
      <item>
         <title>Dhun J and Eva B Q5</title>
         <author>avikavisht</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045190899</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class inctax</p><p>{</p><p>static void main()</p><p>{</p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter Gender(male/female): ");</p><p>String gender = sc.nextLine();</p><p>System.out.print("Enter Age: ");</p><p>int age = sc.nextInt();</p><p>System.out.print("Enter Taxable Income: ");</p><p>double ti=sc.nextDouble();</p><p>double tax=0.0;</p><p>if (age&gt;65||gender.equalsIgnoreCase("female"))</p><p>{</p><p>System.out.print("Wrong Category");</p><p>}</p><p>else</p><p>{</p><p>if(ti&lt;=160000)</p><p>tax=0;</p><p>else if(ti&lt;=500000)</p><p>tax=(ti-160000)*10/100;</p><p>else if(ti&lt;=800000)</p><p>tax=34000+((ti-500000)*20/100);</p><p>else</p><p>tax=94000+((ti-800000)*30/100);</p><p>System.out.println("Tax Payable: " + tax);</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:05:41 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045190899</guid>
      </item>
      <item>
         <title>SaeeBhogaleQ5</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045190994</link>
         <description><![CDATA[<p>import java.util.Scanner;</p><p>class IncomeTax</p><p>{</p><p>    static void main() {</p><p>        Scanner in = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>        System.out.print("Enter Gender (male/female): ");</p><p>        String gender= in.nextLine();</p><p>        System.out.print("Enter Age: ");</p><p>        int age = in.nextInt();</p><p>        System.out.print("Enter taxable income: ");</p><p>        double ti = in.nextDouble();</p><p>        double tax = 0.0;</p><p>        if (age &gt; 65||gender.equalsIgnoreCase("female"))</p><p>        {</p><p>            System.out.print("Wrong Category");</p><p>        }</p><p>        else {</p><p>            if (ti &lt;= 160000)</p><p>                tax = 0;</p><p>            else if (ti &lt;= 500000)</p><p>                tax = (ti - 160000) * 10/100;</p><p>            else if (ti &lt;= 800000)</p><p>                tax = 34000 + ((ti - 500000) * 20 / 100);</p><p>            else</p><p>                tax = 94000 + ((ti - 1000000) * 30 / 100);</p><p>        }</p><p>        </p><p>        System.out.println("Tax Payable: " + tax);</p><p>    }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:05:48 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045190994</guid>
      </item>
      <item>
         <title>Avneesh[Program5]</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045191264</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class j5</p><p>{</p><p> static void main()</p><p> {</p><p> Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p> System.out.print("Enter Gender(male/female): ");</p><p> String gender = sc.nextLine();</p><p> System.out.print("Enter Age: ");</p><p> int age = sc.nextInt();</p><p> System.out.print("Enter Taxable Income: ");</p><p> double ti=sc.nextDouble();</p><p> double tax=0.0;</p><p> if (age&gt;65||gender.equalsIgnoreCase("female"))</p><p> {</p><p> System.out.print("Wrong Category");</p><p> }</p><p> else</p><p> {</p><p> if(ti&lt;=160000)</p><p> tax=0;</p><p> else if(ti&lt;=500000)</p><p> tax=(ti-160000)*10/100;</p><p> else if(ti&lt;=800000)</p><p> tax=34000+((ti-500000)*20/100);</p><p> else</p><p> tax=94000+((ti-800000)*30/100);</p><p> </p><p> System.out.println("Tax Payable: " + tax);</p><p> } </p><p> }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:06:07 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045191264</guid>
      </item>
      <item>
         <title>Janhavi Nagaonkar(Program 5)</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045191290</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class income_tax</p><p>{</p><p>static void main()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>int age;</p><p>String gender;</p><p>double ti, tax=0;</p><p>System.out.println("Enter your gender");</p><p>gender=sc.nextLine();</p><p>System.out.println("Enter your age");</p><p>age=sc.nextInt();</p><p>System.out.println("Enter your taxable income");</p><p>ti=sc.nextDouble();</p><p>if(age&lt;=65 &amp;&amp; gender.equalsIgnoreCase("Male"))</p><p>{</p><p>if(ti&lt;=160000)</p><p>tax=0;</p><p>else if(ti&gt;160000 &amp;&amp; ti&lt;=500000)</p><p>tax=(ti-160000)*10/100;</p><p>else if(ti&gt;500000 &amp;&amp; ti&lt;=800000)</p><p>tax=((ti-500000)*20/100)+34000;</p><p>else </p><p>tax=((ti-800000)*30/100)+94000;</p><p>System.out.println("Tax payable: "+tax);</p><p>}</p><p>else</p><p>{</p><p>System.out.println("Wrong Category");</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:06:09 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045191290</guid>
      </item>
      <item>
         <title>10B Kinysha - Q5</title>
         <author>KinyshaAkerkar</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045191345</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class incometax</p><p>{</p><p>static void main()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter Gender(male/female): ");</p><p>String gender = sc.nextLine();</p><p>System.out.print("Enter Age: ");</p><p>int age = sc.nextInt();</p><p>System.out.print("Enter Taxable Income: ");</p><p>double ti=sc.nextDouble();</p><p>double tax=0.0;</p><p>if (age&gt;65||gender.equalsIgnoreCase("female"))</p><p>{</p><p>System.out.print("Wrong Category");</p><p>}</p><p>else</p><p>{</p><p>if(ti&lt;=160000)</p><p>tax=0;</p><p>else if(ti&lt;=500000)</p><p>tax=(ti-160000)*10/100;</p><p>else if(ti&lt;=800000)</p><p>tax=34000+((ti-500000)*20/100);</p><p>else</p><p>tax=94000+((ti-800000)*30/100);</p><p>System.out.println("Tax Payable: " + tax);</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:06:14 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045191345</guid>
      </item>
      <item>
         <title>Arush Q5</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045191441</link>
         <description><![CDATA[<p>import java.util.Scanner;</p><p>public class KboatIncomeTax</p><p>{</p><p>    public static void main(String args[]) {</p><p>        Scanner in = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>        System.out.print("Enter Gender(male/female): ");</p><p>        String gender = in.nextLine();</p><p>        System.out.print("Enter Age: ");</p><p>        int age = in.nextInt();</p><p>        System.out.print("Enter Taxable Income: ");</p><p>        double ti = in.nextDouble();</p><p>        double tax = 0.0;</p><p>        if (age &gt; 65 || gender.equalsIgnoreCase("female")) {</p><p>            System.out.print("Wrong Category");</p><p>        }</p><p>        else {</p><p>            if (ti &lt;= 160000)</p><p>                tax = 0;</p><p>            else if (ti &lt;= 500000)</p><p>                tax = (ti - 160000) * 10 / 100;</p><p>            else if (ti &lt;= 800000)</p><p>                tax = 34000 + ((ti - 500000) * 20 / 100);</p><p>            else</p><p>                tax = 94000 + ((ti - 800000) * 30 / 100);</p><p>                </p><p>            System.out.println("Tax Payable: " + tax);</p><p>        }      </p><p>    }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:06:22 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045191441</guid>
      </item>
      <item>
         <title>Avneesh[Program6]</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045191683</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class j6</p><p>{</p><p> void series()</p><p> {</p><p> int k,sum=0;</p><p> for(k=1;k&lt;=20;k++)</p><p> {</p><p> int term = (int)Math.pow(2,k);</p><p> if (k%2==0)</p><p> sum-= term;</p><p> else</p><p> sum+= term;</p><p> }</p><p> </p><p> System.out.println("Sum=" + sum);</p><p> }</p><p> void series(int n)</p><p> {</p><p> int k,term=1;</p><p> </p><p> for(k=1;k&lt;=10;k++) </p><p> {</p><p> System.out.print(term + ", ");</p><p> term =term*10+1;</p><p> }</p><p> }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:06:43 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045191683</guid>
      </item>
      <item>
         <title>Avneesh[Program7]</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045192168</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class j7</p><p>{</p><p> double volume(double r)</p><p> {</p><p> double vol=(4/3.0)*(22/7.0)*r*r*r;</p><p> return vol;</p><p> }</p><p> </p><p> double volume(double h, double r)</p><p> {</p><p> double vol=(22/7.0)*r*r*h;</p><p> return vol;</p><p> }</p><p> </p><p> double volume(double l, double b, double h)</p><p> {</p><p> double vol=l*b*h;</p><p> return vol;</p><p> }</p><p> </p><p> static void main()</p><p> {</p><p> j7 obj = new j7();</p><p> System.out.println("Sphere Volume = " + obj.volume(6));</p><p> System.out.println("Cylinder Volume = " + obj.volume(5, 3.5));</p><p> System.out.println("Cuboid Volume = " + obj.volume(7.5, 3.5, 2));</p><p> }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:07:25 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045192168</guid>
      </item>
      <item>
         <title>naisha rokade Q5</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045192753</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class incometax</p><p>{</p><p> static void main() {</p><p>        Scanner in = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>        System.out.print("Enter Gender (male/female): ");</p><p>        String gender= in.nextLine();</p><p>        System.out.print("Enter Age: ");</p><p>        int age = in.nextInt();</p><p>        System.out.print("Enter taxable income: ");</p><p>        double ti = in.nextDouble();</p><p>        double tax = 0.0;</p><p>        if (age &gt; 65||gender.equalsIgnoreCase("female"))</p><p>        {</p><p>            System.out.print("Wrong Category");</p><p>        }</p><p>        else {</p><p>            if (ti &lt;= 160000)</p><p>                tax = 0;</p><p>            else if (ti &lt;= 500000)</p><p>                tax = (ti - 160000) * 10/100;</p><p>            else if (ti &lt;= 800000)</p><p>                tax = 34000 + ((ti - 500000) * 20 / 100);</p><p>            else</p><p>                tax = 94000 + ((ti - 1000000) * 30 / 100);</p><p>        }</p><p>        </p><p>        System.out.println("Tax Payable: " + tax);</p><p>    }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:08:13 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045192753</guid>
      </item>
      <item>
         <title>10A Tisha Q2</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193049</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class j2</p><p>{</p><p>void Number(int num,int d)</p><p>{</p><p>int f=0;</p><p>while(num!=0)</p><p>{</p><p>int a=num%10;</p><p>if(a==d)</p><p>{</p><p>f++;</p><p>}</p><p>num=num/10;</p><p>}</p><p>System.out.println("Frequency of digit"+d+"="+f);</p><p>}</p><p>void Number(int n1)</p><p>{</p><p>int s=0;</p><p>while(n1!=0)</p><p>{</p><p>int b=n1%10;</p><p>if(b%2==0)</p><p>{</p><p>s=s+b;</p><p>}</p><p>n1=n1/10;</p><p>}</p><p>System.out.println("Sum of even numbers="+s);</p><p>}</p><p>void Number()</p><p>{</p><p>int k,p;</p><p>for(k=1;k&lt;=5;k++)</p><p>{</p><p>for(p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print(k);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:08:38 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193049</guid>
      </item>
      <item>
         <title>nirja h q2</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193193</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class awe</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>void Number(int num,int d)</p><p>{</p><p>int c=0;</p><p>while(num!=0)</p><p>{</p><p>int digit=num%10;</p><p>if(digit==d)</p><p>{</p><p>c++;</p><p>num/=10;</p><p>}</p><p>System.out.println("Frequecy of digit "+d+"="+c);</p><p>}</p><p>}</p><p>void Number(int n1)</p><p>{</p><p>int s=0;</p><p>while(n1!=0)</p><p>{</p><p>int dig=n1%10;</p><p>if(dig%2==0)</p><p>s=s+dig;</p><p>else</p><p>n1/=10;</p><p>}</p><p>System.out.println("sum of digits= "+s);</p><p>}</p><p>void Number()</p><p>{</p><p>int k,p;</p><p>for(k=1;k&lt;=5;k++)</p><p>{</p><p>for(p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print(k);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:08:53 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193193</guid>
      </item>
      <item>
         <title>Hetvi Furia -10A --Q5</title>
         <author>hetvifuria29</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193327</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class IncomeTax</p><p>{</p><p>static void main()</p><p>{</p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter Gender(male/female): ");</p><p>String gender = sc.nextLine();</p><p>System.out.print("Enter Age: ");</p><p>int age = sc.nextInt();</p><p>System.out.print("Enter Taxable Income: ");</p><p>double ti=sc.nextDouble();</p><p>double tax=0.0;</p><p>if (age&gt;65||gender.equalsIgnoreCase("female"))</p><p>{</p><p>System.out.print("Wrong Category");</p><p>}</p><p>else</p><p>{</p><p>if(ti&lt;=160000)</p><p>tax=0;</p><p>else if(ti&lt;=500000)</p><p>tax=(ti-160000)*10/100;</p><p>else if(ti&lt;=800000)</p><p>tax=34000+((ti-500000)*20/100);</p><p>else</p><p>tax=94000+((ti-800000)*30/100);</p><p><br/></p><p>System.out.println("Tax Payable: " + tax);</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:09:08 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193327</guid>
      </item>
      <item>
         <title>10A Tisha Q3</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193442</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class RailwayTicket</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>String name,coach;</p><p>long mobno;</p><p>int amt,totalamt=0;</p><p>void accept()</p><p>{</p><p>System.out.println("Enter your name");</p><p>name=sc.nextLine();</p><p>System.out.println("Enter coach");</p><p>coach=sc.nextLine();</p><p>System.out.println("Enter your no.");</p><p>mobno=sc.nextLong();</p><p>System.out.println("Enter your amt");</p><p>amt=sc.nextInt();</p><p>}</p><p>void calculate()</p><p>{</p><p>{</p><p>if(coach.equalsIgnoreCase("First_AC"))</p><p>totalamt=amt+700;</p><p>if(coach.equalsIgnoreCase("Second_AC"))</p><p>totalamt=amt+500;</p><p>if(coach.equalsIgnoreCase("Third_AC"))</p><p>totalamt=amt+250;</p><p>if(coach.equalsIgnoreCase("Sleeper"))</p><p>totalamt=amt;</p><p>}</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("Name:"+name);</p><p>System.out.println("Coach:"+coach);</p><p>System.out.println("Totalamount:"+totalamt);</p><p>System.out.println("Mobile Number:"+mobno);</p><p>}</p><p>static void main()</p><p>{</p><p>RailwayTicket obj=new RailwayTicket();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:09:20 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193442</guid>
      </item>
      <item>
         <title>Tejasvi Patil (program 2)</title>
         <author>tejasvikpatil</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193470</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class q2</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>void Number(int num, int d)</p><p>{</p><p>int d1, c=0;</p><p>while (num!=0){</p><p>d1=num%10;</p><p>if (d1==d)</p><p>c++;</p><p>num=num/10;</p><p>}</p><p>System.out.println(c);</p><p>}</p><p>void Number(int n1)</p><p>{</p><p>int n=0,s=0;</p><p>while (n1!=0){</p><p>n=n1%10;</p><p>if (n1%2==0)</p><p>{</p><p> s=s+n;</p><p>}</p><p>n/=10;</p><p>}</p><p>System.out.println(n);</p><p>}</p><p>void Number()</p><p>{</p><p>int k,j;</p><p>for (k=1;k&lt;=5;k++)</p><p>{</p><p>for (j=1;j&lt;=k;j++){</p><p>System.out.print(k);</p><p>}</p><p>System.out.println();</p><p>}}</p><p>void main()</p><p>{</p><p>q2 obj=new q2();</p><p>obj.Number(1452546,5);</p><p>obj.Number(14565);</p><p>obj.Number();</p><p>}</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:09:23 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193470</guid>
      </item>
      <item>
         <title>Eva B and Dhun J q6</title>
         <author>avikavisht</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193887</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Series()</p><p>{</p><p>void series()</p><p>{</p><p>int k,sum=0;</p><p>for(k=1;k&lt;=20;k++)</p><p>{</p><p>int term = (int)Math.pow(2,k);</p><p>if (k%2==0)</p><p>sum-= term;</p><p>else</p><p>sum+= term;</p><p>}</p><p><br/></p><p>System.out.println("Sum=" + sum);</p><p>}</p><p>void series(int n)</p><p>{</p><p>int k,term=1;</p><p><br/></p><p>for(k=1;k&lt;=10;k++)</p><p>{</p><p>System.out.print(term + ", ");</p><p>term =term*10+1;</p><p>}</p><p>}</p><p>}</p><p><br/></p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:10:04 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193887</guid>
      </item>
      <item>
         <title>Shaurya Purohi Q6</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193907</link>
         <description><![CDATA[<p>import java.util.*; </p><p>class j6 </p><p>{ </p><p>    void series() </p><p>    { </p><p>    int k,sum=0; </p><p>            for(k=1;k&lt;=20;k++) </p><p>            { </p><p>                int term = (int)Math.pow(2,k); </p><p>                if (k%2==0) </p><p>                    sum-= term; </p><p>                else </p><p>                    sum+= term; </p><p>            } </p><p>         </p><p>            System.out.println("Sum=" + sum); </p><p>            } </p><p>            void series(int n) </p><p>            { </p><p>            int k,term=1; </p><p>         </p><p>            for(k=1;k&lt;=10;k++)  </p><p>             { </p><p>            System.out.print(term + ", "); </p><p>            term =term*10+1; </p><p>        } </p><p>        } </p><p>        }</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:10:06 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193907</guid>
      </item>
      <item>
         <title>nirja h q3</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193939</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class RailwayTicket</p><p>{</p><p>String name;</p><p>String coach;</p><p>long mobno;</p><p>int amt;</p><p>int totalamt;</p><p><br/></p><p>void accept()</p><p>{</p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter name: ");</p><p>name = sc.nextLine();</p><p>System.out.print("Enter coach: ");</p><p>coach = sc.nextLine();</p><p>System.out.print("Enter mobile no: ");</p><p>mobno = sc.nextLong();</p><p>System.out.print("Enter amount: ");</p><p>amt = sc.nextInt();</p><p>}</p><p>void update()</p><p>{</p><p>if(coach.equalsIgnoreCase("First_AC"))</p><p>totalamt = amt + 700;</p><p>else if(coach.equalsIgnoreCase("Second_AC"))</p><p>totalamt = amt + 500;</p><p>else if(coach.equalsIgnoreCase("Third_AC"))</p><p>totalamt = amt + 250;</p><p>else if(coach.equalsIgnoreCase("Sleeper"))</p><p>totalamt = amt;</p><p>}</p><p><br/></p><p>void display()</p><p>{</p><p>System.out.println("Name: " + name);</p><p>System.out.println("Coach: " + coach);</p><p>System.out.println("Total Amount: " + totalamt);</p><p>System.out.println("Mobile number: " + mobno);</p><p>}</p><p>static void main()</p><p>{</p><p>RailwayTicket obj = new RailwayTicket();</p><p>obj.accept();</p><p>obj.update();</p><p>obj.display();</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:10:10 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045193939</guid>
      </item>
      <item>
         <title>nirja h q4</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045194827</link>
         <description><![CDATA[<p><br/></p><p>import java.util.*;</p><p>class j4</p><p>{</p><p>void joystring(String s, char ch1, char ch2)</p><p>{</p><p>String newStr = s.replace(ch1,ch2);</p><p>System.out.println(newStr);</p><p>}</p><p>void joystring(String s)</p><p>{</p><p>int f=s.indexOf(' ');</p><p>int l=s.lastIndexOf(' ');</p><p>System.out.println("First index: " + f);</p><p>System.out.println("Last index: " + l);</p><p>}</p><p>void joystring(String s1, String s2)</p><p>{</p><p>String newStr=s1.concat(" ").concat(s2);</p><p>System.out.println(newStr);</p><p>}</p><p>static void main()</p><p>{</p><p>j4 obj = new j4();</p><p>obj.joystring("TECHNALAGY", 'A', 'O');</p><p>obj.joystring("Cloud computing means Internet based computing");</p><p>obj.joystring("COMMON WEALTH", "GAMES");</p><p>}</p><p>}</p><p><br/></p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:11:20 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045194827</guid>
      </item>
      <item>
         <title>10B Kinysha - Q6</title>
         <author>KinyshaAkerkar</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045195125</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class series</p><p>{</p><p> void series()</p><p> {</p><p> int k,sum=0;</p><p> for(k=1;k&lt;=20;k++)</p><p> {</p><p> int term = (int)Math.pow(2,k);</p><p> if (k%2==0)</p><p> sum-= term;</p><p> else</p><p> sum+= term;</p><p> }</p><p> System.out.println("Sum=" + sum);</p><p> }</p><p> void series(int n)</p><p> {</p><p> int k,term=1;</p><p> for(k=1;k&lt;=10;k++) </p><p> {</p><p> System.out.print(term + ", ");</p><p> term =term*10+1;</p><p> }</p><p> }</p><p> }</p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:11:36 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045195125</guid>
      </item>
      <item>
         <title>Hetvi Furia-10A--Q6</title>
         <author>hetvifuria29</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045195203</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class j6</p><p>{</p><p>void series()</p><p>{</p><p>int k,sum=0;</p><p>for(k=1;k&lt;=20;k++)</p><p>{</p><p>int term = (int)Math.pow(2,k);</p><p>if (k%2==0)</p><p>sum-= term;</p><p>else</p><p>sum+= term;</p><p>}</p><p><br/></p><p>System.out.println("Sum=" + sum);</p><p>}</p><p>void series(int n)</p><p>{</p><p>int k,term=1;</p><p><br/></p><p>for(k=1;k&lt;=10;k++)</p><p>{</p><p>System.out.print(term + ", ");</p><p>term =term*10+1;</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:11:41 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045195203</guid>
      </item>
      <item>
         <title>Krishnendu (Program 5)</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045195247</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class incometax</p><p>{</p><p>static void main()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.println("Enter your age");</p><p>double age=sc.nextDouble();</p><p>System.out.println("Enter your gender");</p><p>String gen=<a rel="noopener noreferrer nofollow" href="http://sc.next">sc.next</a>();</p><p>System.out.println("Enter taxable income");</p><p>double ti=sc.nextDouble();</p><p>double tax=0;</p><p>if((age&lt;=65) &amp;&amp; (gen.equalsIgnoreCase("male")))</p><p>{</p><p>if(ti&lt;=160000)</p><p>{</p><p>tax=0;</p><p>}</p><p>else if(ti&lt;=500000)</p><p>{</p><p>tax=(ti-160000)*10.0/100;</p><p>}</p><p>else if(ti&lt;=800000)</p><p>{</p><p>tax=((ti-500000)*20.0/100)+34000;</p><p>}</p><p>else</p><p>{</p><p>tax=((ti-800000)*30/100)+94000;</p><p>}</p><p>}</p><p>else</p><p>{</p><p>System.out.println("Wrong category");</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:11:46 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045195247</guid>
      </item>
      <item>
         <title>Angela Q5</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045195381</link>
         <description><![CDATA[<p><br/></p><p>import java.util.*;</p><p>class incometax</p><p>{</p><p>static void main() {</p><p>Scanner in = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter Gender (male/female): ");</p><p>String gender= in.nextLine();</p><p>System.out.print("Enter Age: ");</p><p>int age = in.nextInt();</p><p>System.out.print("Enter taxable income: ");</p><p>double ti = in.nextDouble();</p><p>double tax = 0.0;</p><p>if (age &gt; 65||gender.equalsIgnoreCase("female"))</p><p>{</p><p>System.out.print("Wrong Category");</p><p>}</p><p>else {</p><p>if (ti &lt;= 160000)</p><p>tax = 0;</p><p>else if (ti &lt;= 500000)</p><p>tax = (ti - 160000) * 10/100;</p><p>else if (ti &lt;= 800000)</p><p>tax = 34000 + ((ti - 500000) * 20 / 100);</p><p>else</p><p>tax = 94000 + ((ti - 1000000) * 30 / 100);</p><p>}</p><p><br/></p><p>System.out.println("Tax Payable: " + tax);</p><p>}</p><p>}</p><p><br/></p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:12:01 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045195381</guid>
      </item>
      <item>
         <title>julie Q3</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045195425</link>
         <description><![CDATA[<p>class a2</p><p>{</p><p>static void main()</p><p>{</p><p>Scanner sc = new Scanner(System.in);</p><p>int k,sume=0,sumo=0;</p><p>int RNo[]=new int[10];</p><p>System.out.println("enter 10 no.");</p><p>for(k=0;k&lt;10;k++)</p><p>{</p><p>RNo[k]=sc.nextInt();</p><p>}</p><p>for(k=0;k&lt;10;k++)</p><p>{</p><p>if(RNo[k]%2==0)</p><p>sume=sume+RNo[k];</p><p>else</p><p>sumo=sumo+RNo[k];</p><p>}</p><p>System.out.println("even="+sume);</p><p>System.out.println("odd="+sumo);</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:12:06 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045195425</guid>
      </item>
      <item>
         <title>Hetvi Furia-10A--Q7</title>
         <author>hetvifuria29</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045195974</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class j7</p><p>{</p><p>double volume(double r)</p><p>{</p><p>double vol=(4/3.0)*(22/7.0)*r*r*r;</p><p>return vol;</p><p>}</p><p><br/></p><p>double volume(double h, double r)</p><p>{</p><p>double vol=(22/7.0)*r*r*h;</p><p>return vol;</p><p>}</p><p><br/></p><p>double volume(double l, double b, double h)</p><p>{</p><p>double vol=l*b*h;</p><p>return vol;</p><p>}</p><p><br/></p><p>static void main()</p><p>{</p><p>j7 obj = new j7();</p><p>System.out.println("Sphere Volume = " + obj.volume(6));</p><p>System.out.println("Cylinder Volume = " + obj.volume(5, 3.5));</p><p>System.out.println("Cuboid Volume = " + obj.volume(7.5, 3.5, 2));</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:12:55 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045195974</guid>
      </item>
      <item>
         <title>Q4 Shreyas Raikar</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045196243</link>
         <description><![CDATA[<p> import java.util.*;</p><p> class StringOverload </p><p>{     void joystring(String s, char ch1, char ch2) </p><p>    { </p><p>        String newStr = s.replace(ch1,ch2); </p><p>        System.out.println(newStr); </p><p>    }     void joystring(String s)  </p><p>    {         int f=s.indexOf(' ');         int l=s.lastIndexOf(' '); </p><p>        System.out.println("First index:  " + f); </p><p>        System.out.println("Last index:  " + l); </p><p>    } </p><p>    void joystring(String s1, String s2) </p><p>   { </p><p>        String newStr=s1.concat(" ").concat(s2); </p><p>        System.out.println(newStr); </p><p>            } </p><p>            static void main()  </p><p>   { </p><p>        StringOverload obj = new StringOverload();         obj.joystring("TECHNALAGY", 'A', 'O');         obj.joystring("Cloud computing means Internet based           computing"); </p><p>        obj.joystring("COMMON WEALTH", "GAMES"); </p><p>    } </p><p>} </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:13:19 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045196243</guid>
      </item>
      <item>
         <title>Atharva Patil [Program 6]</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045196399</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Program6 {</p><p>    void series() {</p><p>        int sum = 0;</p><p>        for(int i=1; i&lt;=20;i++) {</p><p>            if(i%2==0) {</p><p>                sum -= Math.pow(2,i);</p><p>            }</p><p>            else {</p><p>                sum += Math.pow(2,i);</p><p>            }</p><p>        }</p><p>        System.out.println("Sum = "+sum);</p><p>    }</p><p>    void series(int n) {</p><p>        if((n&gt;9)||(n&lt;1)) {</p><p>            System.out.println("Invalid Input. Number should be single digit.");</p><p>        }</p><p>        else {</p><p>            for(int j=1;j&lt;=n;j++){</p><p>                for(int k=1;k&lt;=j;k++){</p><p>                    System.out.print("1");</p><p>                }</p><p>                System.out.print(" ");</p><p>            }</p><p>        }</p><p>    }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:13:40 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045196399</guid>
      </item>
      <item>
         <title>Shaurya Purohit Q7</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045196514</link>
         <description><![CDATA[<p>import java.util.*; </p><p>class j7 </p><p>{ </p><p>    double volume(double r) </p><p>    { </p><p>        double vol=(4/3.0)*(22/7.0)*r*r*r; </p><p>        return vol; </p><p>    } </p><p>     </p><p>    double volume(double h, double r) </p><p>    { </p><p>        double vol=(22/7.0)*r*r*h; </p><p>        return vol; </p><p>    } </p><p>     </p><p>    double volume(double l, double b, double h) </p><p>    { </p><p>        double vol=l*b*h; </p><p>        return vol; </p><p>    } </p><p> </p><p>     </p><p>    static void main() </p><p>    { </p><p>        j7 obj = new j7(); </p><p>        System.out.println("Sphere Volume = " + obj.volume(6)); </p><p>        System.out.println("Cylinder Volume = " + obj.volume(5, 3.5)); </p><p>        System.out.println("Cuboid Volume = " + obj.volume(7.5, 3.5, 2)); </p><p>    } </p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:13:48 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045196514</guid>
      </item>
      <item>
         <title>Janhavi Nagaonkar(Program 6)</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045196715</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class overload_series</p><p>{</p><p>void series()</p><p>{</p><p>int x=2;</p><p>double s=0;</p><p>for(int k=1;k&lt;=20;k++)</p><p>{</p><p>if(k%2==0)</p><p>s=s-Math.pow(x,k);</p><p>else</p><p>s=s+Math.pow(x,k);</p><p>}</p><p>System.out.println(s);</p><p>}</p><p>void series(int n)</p><p>{</p><p>for(int k=1;k&lt;=n;k++)</p><p>{</p><p>for(int p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print("1");</p><p>}</p><p>System.out.print(" ");</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:14:08 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045196715</guid>
      </item>
      <item>
         <title>10A Tisha Q4</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045196950</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class journal 4</p><p>{</p><p>void joystring(String s, char ch1, char ch2)</p><p>{</p><p>String newStr = s.replace(ch1,ch2);</p><p>System.out.println(newStr);</p><p>}</p><p>void joystring(String s)</p><p>{</p><p>int f=s.indexOf(' ');</p><p>int l=s.lastIndexOf(' ');</p><p>System.out.println("First index: " + f);</p><p>System.out.println("Last index: " + l);</p><p>}</p><p>void joystring(String s1, String s2)</p><p>{</p><p>String newStr=s1.concat(" ").concat(s2);</p><p>System.out.println(newStr);</p><p>}</p><p>void main()</p><p>{</p><p>journal4 obj = new journal4();</p><p>obj.joystring("TECHNALAGY", 'A', 'O');</p><p>obj.joystring("Cloud computing means Internet based computing");</p><p>obj.joystring("COMMON WEALTH", "GAMES");</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:14:28 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045196950</guid>
      </item>
      <item>
         <title>Aditi Shah- Program 5</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197005</link>
         <description><![CDATA[<p>import java.util.Scanner;</p><p>class income</p><p>{</p><p>    static void main()</p><p>    {</p><p>        Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>        System.out.println("Enter Gender(male/female)");</p><p>        String gender=<a rel="noopener noreferrer nofollow" href="http://sc.next">sc.next</a>();</p><p>        System.out.println("Enter Age");</p><p>        int age=sc.nextInt();</p><p>        System.out.println("Enter Taxable Income");</p><p>        double ti=sc.nextDouble();</p><p>        double tax=0;</p><p>        if (age &gt; 65 || gender.equalsIgnoreCase("female")) </p><p>        {</p><p>            System.out.println("Wrong Category");</p><p>        }</p><p>        else </p><p>        {</p><p>            if (ti&lt;=160000)</p><p>                tax=0;</p><p>            else if (ti&lt;=500000)</p><p>                tax=(ti-160000)*10/100;</p><p>            else if (ti&lt;=800000)</p><p>                tax=34000+((ti-500000)*20/100);</p><p>            else</p><p>                tax=94000+((ti-800000)*30/100);</p><p>            System.out.println("Tax Payable: " + tax);</p><p>        }      </p><p>    }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:14:34 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197005</guid>
      </item>
      <item>
         <title>Q4 Shardul Sarang</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197017</link>
         <description><![CDATA[<p> import java.util.*;</p><p> class StringOverload </p><p>{     void joystring(String s, char ch1, char ch2) </p><p>    { </p><p>        String newStr = s.replace(ch1,ch2); </p><p>        System.out.println(newStr); </p><p>    }     void joystring(String s)  </p><p>    {         int f=s.indexOf(' ');         int l=s.lastIndexOf(' '); </p><p>        System.out.println("First index:  " + f); </p><p>        System.out.println("Last index:  " + l); </p><p>    } </p><p>    void joystring(String s1, String s2) </p><p>   { </p><p>        String newStr=s1.concat(" ").concat(s2); </p><p>        System.out.println(newStr); </p><p>            } </p><p>            static void main()  </p><p>   { </p><p>        StringOverload obj = new StringOverload();         obj.joystring("TECHNALAGY", 'A', 'O');         obj.joystring("Cloud computing means Internet based           computing"); </p><p>        obj.joystring("COMMON WEALTH", "GAMES"); </p><p>    } </p><p>} </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:14:34 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197017</guid>
      </item>
      <item>
         <title>Shaurya Purohit Q8</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197334</link>
         <description><![CDATA[<p>import java.util.*; </p><p>class j8 </p><p>{ </p><p>    void check (String str,char ch )  </p><p>    { </p><p>        int k,count=0; </p><p>        int len=str.length(); </p><p>        for(k=0;k&lt;str.length();k++) </p><p>        { </p><p>            char c=str.charAt(k); </p><p>            if(ch==c) </p><p>            { </p><p>                count++; </p><p>            } </p><p>        } </p><p>        System.out.println("Frequency of " + ch + " = " + count); </p><p>    } </p><p>     </p><p>    void check(String s1) </p><p>    { </p><p>        String s2=s1.toLowerCase(); </p><p>        int k,len=s2.length(); </p><p>        System.out.println("Vowels:"); </p><p>        for(k=0;k&lt;len;k++) </p><p>        { </p><p>            char ch=s2.charAt(k); </p><p>            if (ch <mark> 'a' || ch </mark> 'e' || ch <mark> 'i' || ch </mark> 'o' || ch == 'u') </p><p>                System.out.print(ch + " "); </p><p>        } </p><p>    } </p><p>} </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:15:01 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197334</guid>
      </item>
      <item>
         <title>Rishabh Krishnan Q6</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197428</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Program6 {</p><p>void series() {</p><p>int sum = 0;</p><p>for(int i=1; i&lt;=20;i++) {</p><p>if(i%2==0) {</p><p>sum -= Math.pow(2,i);</p><p>}</p><p>else {</p><p>sum += Math.pow(2,i);</p><p>}</p><p>}</p><p>System.out.println("Sum = "+sum);</p><p>}</p><p>void series(int n) {</p><p>if((n&gt;9)||(n&lt;1)) {</p><p>System.out.println("Invalid Input. Number should be single digit.");</p><p>}</p><p>else {</p><p>for(int j=1;j&lt;=n;j++){</p><p>for(int k=1;k&lt;=j;k++){</p><p>System.out.print("1");</p><p>}</p><p>System.out.print(" ");</p><p>}</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:15:12 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197428</guid>
      </item>
      <item>
         <title>SaeeBhogaleQ6</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197468</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class j6</p><p>{</p><p>void series()</p><p>{</p><p>int k,sum=0;</p><p>for(k=1;k&lt;=20;k++)</p><p>{</p><p>int term = (int)Math.pow(2,k);</p><p>if (k%2==0)</p><p>sum-= term;</p><p>else</p><p>sum+= term;</p><p>}</p><p><br/></p><p>System.out.println("Sum=" + sum);</p><p>}</p><p>void series(int n)</p><p>{</p><p>int k,term=1;</p><p><br/></p><p>for(k=1;k&lt;=10;k++)</p><p>{</p><p>System.out.print(term + ", ");</p><p>term =term*10+1;</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:15:16 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197468</guid>
      </item>
      <item>
         <title>Tejasvi Patil (program 6)</title>
         <author>tejasvikpatil</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197705</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class series</p><p>{</p><p>void series()</p><p>{</p><p>int k,sum=0;</p><p>for(k=1;k&lt;=20;k++)</p><p>{</p><p>int term = (int)Math.pow(2,k);</p><p>if (k%2==0)</p><p>sum-= term;</p><p>else</p><p>sum+= term;</p><p>}</p><p>System.out.println("Sum=" + sum);</p><p>}</p><p>void series(int n)</p><p>{</p><p>int k,term=1;</p><p>for(k=1;k&lt;=10;k++)</p><p>{</p><p>System.out.print(term + ", ");</p><p>term =term*10+1;</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:15:32 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197705</guid>
      </item>
      <item>
         <title>vighnesh q6</title>
         <author>tejasvikpatil</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197768</link>
         <description><![CDATA[<p><br/></p><p>import java.util.*;</p><p>class series</p><p>{</p><p>void series()</p><p>{</p><p>int k,sum=0;</p><p>for(k=1;k&lt;=20;k++)</p><p>{</p><p>int term = (int)Math.pow(2,k);</p><p>if (k%2==0)</p><p>sum-= term;</p><p>else</p><p>sum+= term;</p><p>}</p><p><br/></p><p>System.out.println("Sum=" + sum);</p><p>}</p><p>void series(int n)</p><p>{</p><p>int k,term=1;</p><p><br/></p><p>for(k=1;k&lt;=10;k++)</p><p>{</p><p>System.out.print(term + ", ");</p><p>term =term*10+1;</p><p>}</p><p>}</p><p>}</p><p><br/></p><p><br/></p><p><br/></p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:15:38 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197768</guid>
      </item>
      <item>
         <title>Arnav Deherkar (Program 8)</title>
         <author>deherkararnav</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197772</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Series2 {</p><p>    void show() {</p><p>        for (int k = 1; k &lt;= 50; k++) {</p><p>            System.out.print("# ");</p><p>        }</p><p>    }</p><p>    void show(int n) {</p><p>        int a = 1;</p><p>        int d = 2;</p><p>        for (int i = 1; i &lt;= n; i++) {</p><p>            System.out.print(a + ", ");</p><p>            a += d;</p><p>            d += 1;</p><p>        }</p><p>    }</p><p>    void show(char ch, int n) {</p><p>        for (int i = n; i &gt;= 1; i--) {</p><p>            for (int j = 1; j &lt;= i; j++) {</p><p>                System.out.print(ch + " ");</p><p>            }</p><p>            System.out.println();</p><p>        }</p><p>    }</p><p>}</p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:15:38 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045197772</guid>
      </item>
      <item>
         <title>maashish </title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045198436</link>
         <description><![CDATA[<p>im the best singer</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:16:29 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045198436</guid>
      </item>
      <item>
         <title>Arnav Deherkar (Program 9)</title>
         <author>deherkararnav</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045198976</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class ElectricBill</p><p>{</p><p> String n;</p><p> int units;</p><p> double bill;</p><p> void accept() </p><p> {</p><p> Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p> System.out.print("Enter customer name: ");</p><p> n = sc.nextLine();</p><p> System.out.print("Enter units consumed: ");</p><p> units = sc.nextInt();</p><p> }</p><p> void calculate()</p><p> {</p><p> if(units&lt;=100)</p><p> bill=units*2;</p><p> else if(units&lt;=300)</p><p> bill=200+(units-100)*3;</p><p> else </p><p> {</p><p> double amt=200+600+(units-300)*5;</p><p> double surcharge=(amt*2.5)/100.0;</p><p> bill=amt+surcharge;</p><p> }</p><p> }</p><p> </p><p> void print() </p><p> {</p><p> System.out.println("Name of the customer\t\t: " + n);</p><p> System.out.println("Number of units consumed\t: " + units);</p><p> System.out.println("Bill amount\t\t\t: " + bill);</p><p> }</p><p> </p><p> static void main() </p><p> {</p><p> ElectricBill obj=new ElectricBill();</p><p> obj.accept();</p><p> obj.calculate();</p><p> obj.print();</p><p> }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:17:14 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045198976</guid>
      </item>
      <item>
         <title>naisharokadeQ6</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045199301</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class series</p><p>{</p><p>series()</p><p>{</p><p>int p,sum=0;</p><p>for(p=1;p&lt;=20;p++)</p><p>{</p><p>int term=(int)Math.pow(p,2);</p><p>if(p%2==0)</p><p>sum=sum-term;</p><p>else sum=sum+term;</p><p>}</p><p>System.out.println("sum =" +sum);</p><p>}</p><p>series(int k,int p)</p><p>{</p><p>for(k=1;k&lt;=5;k++)</p><p>{</p><p>for(p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print(1);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:17:37 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045199301</guid>
      </item>
      <item>
         <title>Shaurya Purohit Q9</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045199429</link>
         <description><![CDATA[<p>import java.util.*; </p><p>class j9 </p><p>{ </p><p>    String n; </p><p>    int units; </p><p>    double bill; </p><p>    void accept()  </p><p>    { </p><p>        Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>); </p><p>        System.out.print("Enter customer name: "); </p><p>        n = sc.nextLine(); </p><p>        System.out.print("Enter units consumed: "); </p><p>        units = sc.nextInt(); </p><p>    } </p><p>     void calculate() </p><p>    { </p><p>        if(units&lt;=100) </p><p>            bill=units*2; </p><p>        else if(units&lt;=300) </p><p>            bill=200+(units-100)*3; </p><p>        else  </p><p>        { </p><p>            double amt=200+600+(units-300)*5; </p><p>            double surcharge=(amt*2.5)/100.0; </p><p>            bill=amt+surcharge; </p><p>        } </p><p>    } </p><p>     </p><p>    void print()  </p><p>    { </p><p>        System.out.println("Name of the customer\t\t: " + n); </p><p>        System.out.println("Number of units consumed\t: " + units); </p><p>        System.out.println("Bill amount\t\t\t: " + bill); </p><p>    } </p><p>     </p><p>    static void main()  </p><p>    { </p><p>        j9 obj=new j9(); </p><p>        obj.accept(); </p><p>        obj.calculate(); </p><p>        obj.print(); </p><p>    } </p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:17:49 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045199429</guid>
      </item>
      <item>
         <title>Arnav Deherkar (Program 10)</title>
         <author>deherkararnav</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045199435</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class ShowRoom</p><p>{</p><p> String name;</p><p> long mobno;</p><p> double cost;</p><p> double dis;</p><p> double amount;</p><p> void ShowRoom()</p><p> {</p><p> name = "";</p><p> mobno = 0;</p><p> cost = 0.0;</p><p> dis = 0.0;</p><p> amount = 0.0;</p><p> }</p><p> void input()</p><p> {</p><p> Scanner in = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p> System.out.print("Enter customer name: ");</p><p> name = in.nextLine();</p><p> System.out.print("Enter customer mobile no: ");</p><p> mobno = in.nextLong();</p><p> System.out.print("Enter cost: ");</p><p> cost = in.nextDouble();</p><p> }</p><p> </p><p> void calculate()</p><p> {</p><p> int disPercent = 0;</p><p> if (cost &lt;= 10000)</p><p> disPercent = 5;</p><p> else if (cost &lt;= 20000)</p><p> disPercent = 10;</p><p> else if (cost &lt;= 35000)</p><p> disPercent = 15;</p><p> else</p><p> disPercent = 20;</p><p> </p><p> dis = cost * disPercent / 100.0;</p><p> amount = cost - dis;</p><p> }</p><p> </p><p> void display()</p><p> {</p><p> System.out.println("Customer Name: " + name);</p><p> System.out.println("Mobile Number: " + mobno);</p><p> System.out.println("Amout after discount: " + amount);</p><p> }</p><p> </p><p> static void main()</p><p> {</p><p> ShowRoom obj = new ShowRoom();</p><p> obj.input();</p><p> obj.calculate();</p><p> obj.display();</p><p> }</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:17:50 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045199435</guid>
      </item>
      <item>
         <title>Hetvi Furia -10A--Q8</title>
         <author>hetvifuria29</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045199472</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Overload8</p><p>{</p><p> void check (String str,char ch ) </p><p> {</p><p> int k,count=0;</p><p> int len=str.length();</p><p> for(k=0;k&lt;str.length();k++)</p><p> {</p><p> char c=str.charAt(k);</p><p> if(ch==c)</p><p> {</p><p> count++;</p><p> }</p><p> }</p><p> System.out.println("Frequency of " + ch + " = " + count);</p><p> }</p><p> </p><p> void check(String s1)</p><p> {</p><p> String s2=s1.toLowerCase();</p><p> int k,len=s2.length();</p><p> System.out.println("Vowels:");</p><p> for(k=0;k&lt;len;k++)</p><p> {</p><p> char ch=s2.charAt(k);</p><p> if (ch  <mark>'a' || ch  'e' || ch </mark> <mark>'i' || ch</mark>  'o' || ch == 'u')</p><p> System.out.print(ch + " ");</p><p> }</p><p>}</p><p>}</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:17:54 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045199472</guid>
      </item>
      <item>
         <title>Arush 6</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045199629</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class series</p><p>{</p><p>void series()</p><p>{</p><p>int k,sum=0;</p><p>for(k=1;k&lt;=20;k++)</p><p>{</p><p>int term = (int)Math.pow(2,k);</p><p>if (k%2==0)</p><p>sum-= term;</p><p>else</p><p>sum+= term;</p><p>}</p><p><br/></p><p>System.out.println("Sum=" + sum);</p><p>}</p><p>void series(int n)</p><p>{</p><p>int k,term=1;</p><p><br/></p><p>for(k=1;k&lt;=10;k++)</p><p>{</p><p>System.out.print(term + ", ");</p><p>term =term*10+1;</p><p>}</p><p>}</p><p>}</p><p><br/></p><p><br/></p><p><br></p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:18:12 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045199629</guid>
      </item>
      <item>
         <title>Achyut Singh [8]</title>
         <author>achyutsingh0283</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045199775</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class J8</p><p>{</p><p>void check (String str,char ch )</p><p>{</p><p>int k,count=0;</p><p>int len=str.length();</p><p>for(k=0;k&lt;str.length();k++)</p><p>{</p><p>char c=str.charAt(k);</p><p>if(ch==c)</p><p>{</p><p>count++;</p><p>}</p><p>}</p><p>System.out.println("Frequency of " + ch + " = " + count);</p><p>}</p><p>void check(String s1)</p><p>{</p><p>String s2=s1.toLowerCase();</p><p>int k,len=s2.length();</p><p>System.out.println("Vowels:");</p><p>for(k=0;k&lt;len;k++)</p><p>{</p><p>char ch=s2.charAt(k);</p><p>if (ch <mark> 'a' || ch </mark> 'e' || ch <mark> 'i' || ch </mark> 'o' || ch == 'u')</p><p>System.out.print(ch + " ");</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:18:25 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045199775</guid>
      </item>
      <item>
         <title>Harsh Gupta Q9</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045200062</link>
         <description><![CDATA[<p>import java.util.*; class ElectricBill { String n; int units; double bill; void accept() { Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>); System.out.print("Enter customer name: "); n = sc.nextLine(); System.out.print("Enter units consumed: "); units = sc.nextInt(); } void calculate() { if(units&lt;=100) bill=units*2; else if(units&lt;=300) bill=200+(units-100)*3; else { double amt=200+600+(units-300)*5; double surcharge=(amt*2.5)/100.0; bill=amt+surcharge; } } void print() { System.out.println("Name of the customer\t\t: " + n); System.out.println("Number of units consumed\t: " + units); System.out.println("Bill amount\t\t\t: " + bill); } static void main() { ElectricBill obj=new ElectricBill(); obj.accept(); obj.calculate(); obj.print(); } }</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:18:54 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045200062</guid>
      </item>
      <item>
         <title>angela </title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045200518</link>
         <description><![CDATA[<p>k,ihoy.</p><p>import java.util.*;</p><p>class series</p><p>{</p><p>series()</p><p>{</p><p>int p,sum=0;</p><p>for(p=1;p&lt;=20;p++)</p><p>{</p><p>int term=(int)math.pow(p,2);</p><p>if(p%2==0)</p><p>sum=sum-term;</p><p>else sum=sum+term;</p><p>}</p><p>System.out.println("sum =" +sum);</p><p>}</p><p>series(int k,int p)</p><p>{</p><p>for(k=1;k&lt;=5;k++)</p><p>{</p><p>for(p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print(1);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:19:41 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045200518</guid>
      </item>
      <item>
         <title>Achyut Singh [10]</title>
         <author>achyutsingh0283</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045200993</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class J10</p><p>{</p><p>String name;</p><p>long mobno;</p><p>double cost;</p><p>double dis;</p><p>double amount;</p><p>void ShowRoom()</p><p>{</p><p>name = "";</p><p>mobno = 0;</p><p>cost = 0.0;</p><p>dis = 0.0;</p><p>amount = 0.0;</p><p>}</p><p>void input()</p><p>{</p><p>Scanner in = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter customer name: ");</p><p>name = in.nextLine();</p><p>System.out.print("Enter customer mobile no: ");</p><p>mobno = in.nextLong();</p><p>System.out.print("Enter cost: ");</p><p>cost = in.nextDouble();</p><p>}</p><p>void calculate()</p><p>{</p><p>int disPercent = 0;</p><p>if (cost &lt;= 10000)</p><p>disPercent = 5;</p><p>else if (cost &lt;= 20000)</p><p>disPercent = 10;</p><p>else if (cost &lt;= 35000)</p><p>disPercent = 15;</p><p>else</p><p>disPercent = 20;</p><p>dis = cost * disPercent / 100.0;</p><p>amount = cost - dis;</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println("Customer Name: " + name);</p><p>System.out.println("Mobile Number: " + mobno);</p><p>System.out.println("Amout after discount: " + amount);</p><p>}</p><p>static void main()</p><p>{</p><p>J10 obj = new J10();</p><p>obj.input();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:20:24 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045200993</guid>
      </item>
      <item>
         <title>julie Q6</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045201120</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class series</p><p>{</p><p>series()</p><p>{</p><p>int p,sum=0;</p><p>for(p=1;p&lt;=20;p++)</p><p>{</p><p>int term=(int)Math.pow(p,2);</p><p>if(p%2==0)</p><p>sum=sum-term;</p><p>else sum=sum+term;</p><p>}</p><p>System.out.println("sum =" +sum);</p><p>}</p><p>series(int k,int p)</p><p>{</p><p>for(k=1;k&lt;=5;k++)</p><p>{</p><p>for(p=1;p&lt;=k;p++)</p><p>{</p><p>System.out.print(1);</p><p>}</p><p>System.out.println();</p><p>}</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:20:38 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045201120</guid>
      </item>
      <item>
         <title>Q8 Abhinav Jain</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045201229</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Overload8</p><p>{</p><p> void check (String str,char ch ) </p><p> {</p><p> int k,count=0;</p><p> int len=str.length();</p><p> for(k=0;k&lt;str.length();k++)</p><p> {</p><p> char c=str.charAt(k);</p><p> if(ch==c)</p><p> {</p><p> count++;</p><p> }</p><p> }</p><p> System.out.println("Frequency of " + ch + " = " + count);</p><p> }</p><p> </p><p> void check(String s1)</p><p> {</p><p> String s2=s1.toLowerCase();</p><p> int k,len=s2.length();</p><p> System.out.println("Vowels:");</p><p> for(k=0;k&lt;len;k++)</p><p> {</p><p> char ch=s2.charAt(k);</p><p> if (ch <mark> 'a' || ch </mark> 'e' || ch <mark> 'i' || ch </mark> 'o' || ch == 'u')</p><p> System.out.print(ch + " ");</p><p> }</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:20:49 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045201229</guid>
      </item>
      <item>
         <title>Hetvi Furia-10A--Q9</title>
         <author>hetvifuria29</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045204612</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class j9</p><p>{</p><p>String n;</p><p>int units;</p><p>double bill;</p><p>void accept()</p><p>{</p><p>Scanner sc = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter customer name: ");</p><p>n = sc.nextLine();</p><p>System.out.print("Enter units consumed: ");</p><p>units = sc.nextInt();</p><p>}</p><p>void calculate()</p><p>{</p><p>if(units&lt;=100)</p><p>bill=units*2;</p><p>else if(units&lt;=300)</p><p>bill=200+(units-100)*3;</p><p>else</p><p>{</p><p>double amt=200+600+(units-300)*5;</p><p>double surcharge=(amt*2.5)/100.0;</p><p>bill=amt+surcharge;</p><p>}</p><p>}</p><p><br/></p><p>void print()</p><p>{</p><p>System.out.println("Name of the customer\t\t: " + n);</p><p>System.out.println("Number of units consumed\t: " + units);</p><p>System.out.println("Bill amount\t\t\t: " + bill);</p><p>}</p><p><br/></p><p>static void main()</p><p>{</p><p>j9 obj=new j9();</p><p>obj.accept();</p><p>obj.calculate();</p><p>obj.print();</p><p>}</p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:26:17 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045204612</guid>
      </item>
      <item>
         <title>Hetvi  Furia-10A--Q10</title>
         <author>hetvifuria29</author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045205695</link>
         <description><![CDATA[<p><br/></p><p>mport java.util.*;</p><p>class ShowRoom</p><p>{</p><p>String name;</p><p>long mobno;</p><p>double cost;</p><p>double dis;</p><p>double amount;</p><p>void ShowRoom()</p><p>{</p><p>name = "";</p><p>mobno = 0;</p><p>cost = 0.0;</p><p>dis = 0.0;</p><p>amount = 0.0;</p><p>}</p><p>void input()</p><p>{</p><p>Scanner in = new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>System.out.print("Enter customer name: ");</p><p>name = in.nextLine();</p><p>System.out.print("Enter customer mobile no: ");</p><p>mobno = in.nextLong();</p><p>System.out.print("Enter cost: ");</p><p>cost = in.nextDouble();</p><p>}</p><p><br/></p><p>void calculate()</p><p>{</p><p>int disPercent = 0;</p><p>if (cost &lt;= 10000)</p><p>disPercent = 5;</p><p>else if (cost &lt;= 20000)</p><p>disPercent = 10;</p><p>else if (cost &lt;= 35000)</p><p>disPercent = 15;</p><p>else</p><p>disPercent = 20;</p><p><br/></p><p>dis = cost * disPercent / 100.0;</p><p>amount = cost - dis;</p><p>}</p><p><br/></p><p>void display()</p><p>{</p><p>System.out.println("Customer Name: " + name);</p><p>System.out.println("Mobile Number: " + mobno);</p><p>System.out.println("Amout after discount: " + amount);</p><p>}</p><p><br/></p><p>static void main()</p><p>{</p><p>ShowRoom obj = new ShowRoom();</p><p>obj.input();</p><p>obj.calculate();</p><p>obj.display();</p><p>}</p><p>}</p><p><br/></p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:27:56 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045205695</guid>
      </item>
      <item>
         <title>Arjun K-Q5</title>
         <author></author>
         <link>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045205986</link>
         <description><![CDATA[<p>import java.util.*;</p><p>class Q5</p><p>{</p><p>static void main()</p><p>{</p><p>Scanner sc=new Scanner(<a rel="noopener noreferrer nofollow" href="http://System.in">System.in</a>);</p><p>String gender;</p><p>int age;</p><p>double TI,IT=0;</p><p>System.out.println("Enter gender(male/female)");</p><p>gender=sc.nextLine();</p><p>System.out.println("Enter age");</p><p>age=sc.nextInt();</p><p>System.out.println("Enter taxable income");</p><p>TI=sc.nextDouble();</p><p>if(age&lt;=65||gender.equals("male"))</p><p>{</p><p>if(TI&lt;=160000)</p><p>IT=0;</p><p>else if(TI&gt;160000&amp;&amp;TI&lt;=500000)</p><p>IT=(TI-160000)*10/100;</p><p>else if(TI&gt;500000&amp;&amp;TI&lt;=800000)</p><p>IT=34000+((TI-500000)*20/100);</p><p>else</p><p>IT=94000+((TI-800000)*30/100);</p><p>System.out.println("Income Tax = "+IT);</p><p>}</p><p>else</p><p>System.out.println("Not applicable");</p><p>}</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-07-04 08:28:26 UTC</pubDate>
         <guid>https://padlet.com/grade10ca/r8du2sozntkkrqq7/wish/3045205986</guid>
      </item>
   </channel>
</rss>
