hey, I recently made a program in Eclipse involving "scanner". it allowd the user to plug in 2 numbers-and
java would spit back certain text as well as the adding the 2 numbers and giving the sum.
works fine-however,the same exact response now occurs on every program I make or have already made (whether or not its in the same package/src folder)
why is this happeing (would like to know for education purposes if that's alright) and how can I can I relegate the scanner program to its own page?
("scanner program")
when i run- the console says "type in any 2 numbers" (not exact wording)-and the same thing appears on all my other programs
(this is an example of my program)
Type in 2 numbers you wish to add
//im going to write out an example now-with the java program underlined and the users input in regular
1
+
2
The sum:=3
4.2
5.1
the decimal answer is 9.3