File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Apr 01, 2011
Apr 01, 2011 13:57:51
I am trying to add two ints taken from
inputs and output the result in another
. What I have so far is below, but I don't know what to put in the spaces provided.
___firstAmount = JOptionPane.___("First amount?");
int firstNumber = Integer.___(firstAmount);
____ secondAmount = JOptionPane.___("Second amount?");
int secondNumber = Integer.____(secondAmount);
int total = firstNumber + secondNumber;
___.___(null, ""___ ___);
What I think the first line first blank , is
and I think the 4th link blank is parseInt. I need help filling out the rest
Joined: Apr 06, 2010
Apr 01, 2011 14:02:56
Please don't post
the same message
more than once.
I agree. Here's the link:
subject: Number Addition
loops and boolean operators
JOptionPane Input Dialog is blank
Need help with class assignment
How to turn a class into an executable file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015