Page 549 - Cs_withBlue_J_C11_Flipbook
P. 549
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
547
Internal Assessment 547

