0

JOptionPane

Can someone teach me how to use JOptionPane with loop and the output will be a number triangle,

6th Dec 2024, 8:50 PM
Richelle
Richelle - avatar
1 Answer
+ 2
so you need to look at • basic structure of a Java program with main() • using an int variable • for() loop. // simple output then • how to run java on computer, offline • String variable • Integer.parseInt() • import JOptionPane • JOptionPane as input • JOptionPane as output also understand triangle numbers (as a number sequence) https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Integer.html#parseInt(java.lang.String) https://www.geeksforgeeks.org/java-joptionpane/ https://docs.oracle.com/en/java/javase/23/docs/api/java.desktop/javax/swing/JOptionPane.html
7th Dec 2024, 3:06 AM
zemiak