Page 501 - computer science (868) class 11
P. 501

60                      }
                   61                      if(c==3)

                   62                      {
                   63                          if(m>122)

                   64                          {
                   65                              w="";

                   66                              c=0;
                   67                          }
                   68                      }

                   69                  }

                   70              }
                   71              String w3=""+w2;
                   72              System.out.println(w3);

                   73          }
                   74

                   75          void output() // display output
                   76          {

                   77              System.out.println(sub);
                   78          }

                   79
                   80          public static void main()

                   81          {
                   82              decoder ob = new decoder(); // creating objects to invoke function

                   83              ob.input();
                   84              ob.compute();

                   85              ob.output();
                   86          }

                   87      }

                 The output of the preceding program is as follows:

                 Output 1
                 Enter the code:083088073
                 SXI
                 Output 2

                 Enter the code:1228365
                 zSA


                                                                                                                       499
                                                                                                   Internal Assessment  499
   496   497   498   499   500   501   502   503   504   505   506