|
-
February 26th, 2002, 09:53 AM
#2
Member
Ok s0nic, I was bored, unfortunately I dont remember enough vb to do this either, so Im doing it in java.
1.
import javax.swing.JOptionPane
public class Name
{
public static void main(String args[])
{
String name;
int count = 0;
while(!name.equals(end))
{
name = JOptionPane.showInputDialog("Please enter the name");
count++;
System.out.println(name + " " + count);
}
System.out.println("Program terminated");
}
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|