gumagawa kasi ako ng flow chart
bale nagawa ko na yung una
sa part ng ("x") ok na yung ("o") nalang ako na hihirapan di ko alam kung pano ko i dudugtong
baka merong my alam sa inyo pa help naman po...TIA . salamat..
ok po kuya ts yung guide ko lang po just reverse the loop para bumalik tad yung pag print i hope ithelps diba meron ++ just make if -- and make you condition reverse
ok po kuya ts yung guide ko lang po just reverse the loop para bumalik tad yung pag print i hope ithelps diba meron ++ just make if -- and make you condition reverse
public class Main{
public static void main(String[] args){
for (int i = 3; i > 0; i--){
for (int x = i; x > 0; x--){
System.out.print("X");
}
System.out.println();
}
for (int i = 3; i > 0; i--){
for (int x = i; x <= 3; x++){
System.out.print("O");
}
System.out.println();
}
}
}