ok ive been stuck on this forever.. but i need some help
im trying to make
A
AB
ABC
ABCD
ABCDE
i have made
AA
AB
AC
AD
AE
BA
BB
BC
BD
BE
CA
CB
etc etc..
here is my coding so far, its very wrong
needs help.
------------
class Exercise6{
public static void main(String[] args) {
char i = 65 ;
char j = 65 ;
System.out.println("\n ASCII Value") ;
for(i = 65 ; i<=69 ; i++){
for(j = 65 ; j<=69 ; j++){
System.out.println(" " +i +j) ;
}
System.out.print("\n") ;
}
}
}
-----------
thanks.
im trying to make
A
AB
ABC
ABCD
ABCDE
i have made
AA
AB
AC
AD
AE
BA
BB
BC
BD
BE
CA
CB
etc etc..
here is my coding so far, its very wrong
------------
class Exercise6{
public static void main(String[] args) {
char i = 65 ;
char j = 65 ;
System.out.println("\n ASCII Value") ;
for(i = 65 ; i<=69 ; i++){
for(j = 65 ; j<=69 ; j++){
System.out.println(" " +i +j) ;
}
System.out.print("\n") ;
}
}
}
-----------
thanks.



