Try something like:
System.out.println("Kilograms Grams");
for (int i =1; i<=25;i++) {
System.out.println(i + " " + i*1000);
}
solved Conversion from kilograms to grams – JAVA [closed]
Try something like:
System.out.println("Kilograms Grams");
for (int i =1; i<=25;i++) {
System.out.println(i + " " + i*1000);
}
solved Conversion from kilograms to grams – JAVA [closed]