tldr
HOW TO PROMPT USER, GET INPUT,
DO MATH, PRINT ANSWER!
//walloftext;
In How to use a Scanner, you learned that you can take input from a user using the scanner class.
Well, here's a cooler way to go about it. In the video, I'll go over how to prompt the user for input using
a pop-up, take the input and do some math with it and print the results to the screen.
Here's the code I'll go over:
DETAILED VIDEO BELOW

How would I be able to have commas in numbers more than a thousand for the output using this JOption method?
ReplyDeleteThanks!
How do I create a test class in Netbeans?
ReplyDeleteHow can i create a save button and Update Button And their source code???
ReplyDeleteplzz help its my last Problem
Thanks if you help me in my Problem
ReplyDelete