Ted Penner
asked on
Coding without Eclipse
I am preparing to go through a beginner Java certification program during breaks at work. We are restricted from installing software so Eclipse is not an option. Therefore, I have used the debugging tool at http://ideone.com. Unfortunately, it is producing the error shown and it is not letting me get a view of just the coding window. Is http://ideone.com a good option? If so please explain why I might be getting the error below.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Can't run on these computers so I need an online solution that will allow me to debug and do real-time coding collaboration.
The code below is an example of code that I would need to be able to debug and do collaboration on in real time.
The code below is an example of code that I would need to be able to debug and do collaboration on in real time.
// Java Basics: Michael and Bruce, Who wins the race ?
// Michael and Bruce are friends. Both of them liked the same girl. One day they started fighting over her and decided that both of them will write a number on a chit.
// The one whose number will be smaller will forget the girl and get out of other’s way.
// The problem was that they were not educated and hence they are still waiting for someone, who could help them to implement the plan.
// Now try to implement a program which can help them, using the above strategy.
public class Edureka_Compare_Numbers_ifelse {public static void main(String[] args)} ;
//TODO Auto-generated method stub
//defining two integer variables
int michaelNum;
int bruceNum;
//Scanner is used to read the data
Scanner user_scanner = new Scanner(System.in);
System.out.println("Enter the Numbers for Comparison");
System.out.println("Michael enter your Number:");
michaelNum = user_scanner.nextInt();
System.out.println("Bruce enter your Number:");
bruceNum = user_scannner.nextInt();
System.out.println("The Numbers that were entered are :");
System.out.println("Number 1 =" + michaelNum + " Number 2 =" + bruceNum);
//comparing the inputs if first num is greater than second, first wins or second wins
if(michaelNum > bruceNum){System.out.println("The First number is greater than the Second. Michael Wins!");}//if numbers are equal no one wins elseif (michaelNum == bruceNum){System.out.println("Both Numbers are Equal. No one Wins !");}}}
ASKER
updated
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
So far, the sites come up but don't work well because the require locally installed java components to run.
ASKER