No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
**Where am I wrong in this program? without print function with void in reverse functio it works fine.** public class Question1 { public static void main( String [] args ) { // TODO Auto-generated method stub char [] myName = { 'H', 'A', 'S', 'H', 'I', 'M' }; char temp … |
|
I want to count the number of attempts the user tried to guess the correct guess. How would i do that? like I have thought of a number. Try to guess it Take a guess: 5 Your guess is higher than mine Take a guess: 3 Your guess is lower … |
|
Can any one help me writing code which can only creat three digit random number not two digit or one digit number? Following code creates 3 digti but also creats two and one digit number.. public class random { public static void main (String [] args) { double n = … |