Page 1 :
Tuesday, October 05, 2021, 8:08 PM, , COMBINED ICSE 246 Page 1
Page 2 :
class ascii, {, int l,i;char c;, void main(String s), {, l=s.length();, System.out.println("S.N.\tCHARACTER\tASCII VALUE");, for(i=0;i<l;i++), {, c=s.charAt(i);, System.out.println((i+1)+"\t"+c+"\t\t"+(int)c);, }, }, }, , class removespace, {, int l,i;char c;String str="";, COMBINED ICSE 246 Page 2
Page 7 :
class strpattern, {, int i,j,l;, void main(String s), {, l=s.length();, for(i=l-1;i>=0;i--), {, for(j=0;j<=i;j++), System.out.print(s.charAt(j)+" ");, , import java.util.*;, class strpattern, {, public static void main(), {, Scanner sc=new Scanner(System.in);, int i,j,l;String s;, , COMBINED ICSE 246 Page 7
Page 8 :
int i,j,l;String s;, System.out.print("Enter a string");, s=sc.next();, l=s.length();, for(i=l-1;i>=0;i--), {, for(j=0;j<=i;j++), System.out.print(s.charAt(j)+" ");, System.out.println();, }, , System.out.print(s.charAt(j)+" ");, System.out.println();, , }, }, }, , }, }, , COMBINED ICSE 246 Page 8