hi there i have some python coding which i need to convert to java can ne1 help me please email me back if you can help then i will show you the coding much apprieciated or can ne1 give me some complted java code to look at
shak187
0
Newbie Poster
Recommended Answers
Jump to PostnumGuesses = 0 while (start) { boolean carryOn = true; String s; int guess = Integer.parseInt(JOptionPane.showInputDialog(null,"pick a number between 1 and 100")); int num = Random.nextInt(UPPER_EASY-LOWER_EASY)+LOWER_EASY; //range between LOWER_EASY and UPPER_EASY System.out.println("For testing purposes the num generated is: "+num); numGuesses++; }
Jump to PostI don't know Python, so anything python specific I can't really help you out with. Are you having trouble with syntax or just finding the proper relative commands?
All 6 Replies
shak187
0
Newbie Poster
Phaelax
52
Practically a Posting Shark
shak187
0
Newbie Poster
shak187
0
Newbie Poster
Phaelax
52
Practically a Posting Shark
shak187
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.