Search found 1 match

by EliteCaptain01
Fri Oct 30, 2009 4:02 am
Forum: Java
Topic: Numbers
Replies: 1
Views: 1235

Numbers

Hi, I'm a complete newcomer to Textpad and I don't know how to add numbers.

Here's my code so far:

import javax.swing.JOptionPane;

public class ThreeNumbers
{
public static void main(String[] args)
{
String s1 = JOptionPane.showInputDialog("Enter the first number:");
String s2 = JOptionPane ...