Oh. btw admin! sorry about my earlier thread. i promise not to do something like that ever again :)
anyway. i was having trouble with my project and its about Multiplication with loops.
i started with a few codes and im really frustrated with what im doing now. please let mee fix this stuff i dont really know about looping statements @---@. thanks
heres tha code.
import java.io.*;
public class Multiplied{
public static void main(String [] args){
BufferedReader buffer= new BufferedReader(new InputStreamReader(System.in));
int i;
int j;
try{
{System.out.println("Enter a number: ");
i = integer.parseInt(num.readLine());
}
for (int i=1; i<=maxNo; ++i) {
int sum = 0;
for (int j=1; j<=maxNo; ++j) {
sum +=i;
System.out.print( sum + " " );
}
System.out.println();
}
catch(IOException e){
System.out.println("ERROR");
}
}
thanks again!