Question: Within Eclipse, create a project in called Assignment01. Call this program PlayWithNumbers. You are to use GUIs for your input into the program. Your program
Within Eclipse, create a project in called Assignment01. Call this program PlayWithNumbers. You are to use GUIs for your input into the program. Your program may print to console however. Specifically you are to use option panes from the swing class, so you will have to import the javax.swing package into your program to do this. You should also format the numbers when dealing with money so that the are only two numbers behind the decimal point. You should use the NumberFormat class to do this. First thing you should do, open the file called PlayWithNumbers from Files/AssignmentDataFiles and copy it into the program you created above (i.e. you will overwrite it). You are to write a program that will do the following: Have the user enter an integer number (not a zero) and then determine how many odd numbers, even numbers, and zeros exist within this number, then print them out Print out this number digit by digit starting with the least significant digit first
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
