PF1
Lab5
Write a program that generates a random number between 1 and 10 and
asks the user to guess what the number is. Your program should operate
similar to mine, who's output is shown below:
=========================================================
$ java Lab5
enter a number between 1 and 10: 5
Your guess of 5 is too low.
enter a number between 1 and 10: 7
Your guess of 7 is too high.
enter a number between 1 and 10: 6
Your guess of 6 is CORRECT!
Your guesses were: 5 7 6
=========================================================
Your program should give the user a maximum of five guesses.
After five guesses, the program should display a message
and exit as shown below:
=========================================================
$ java Lab5
enter a number between 1 and 10: 5
Your guess of 5 is too low.
enter a number between 1 and 10: 4
Your guess of 4 is too low.
enter a number between 1 and 10: 3
Your guess of 3 is too low. (a particularly unskilled player!)
enter a number between 1 and 10: 2
Your guess of 2 is too low.
enter a number between 1 and 10: 1
Your guess of 1 is too low.
Better luck next time!
Your guesses were: 5 4 3 2 1
=========================================================
Note in both sets of output that the program keeps track of
the guesses as the user makes them and then displays the
guesses at the end of the game. To keep your program as simple
as possible at first, wait and add this feature on after you
have the basic game functioning.
Put your lab in the file ~/PF1/lab5/[login to view URL]
Hello there,
I would like to be considered for this job as I have great working experience in javascript development.
In required skills you have mentioned Javascript but reading the description is seems like a java program.
Thanks,
Ramesh
Hi
I am a Java developer with over 5 years of experience and two of those are in the UK. Please refer to my profile for more information.
I can get this done within a couple of hours. Please let me know if you are interested or just want to have a chat.
Cheers,
Saminda
HI..I am good at core object oriented programming in Java for console as well as GUI based desktop applications using IDE's like Eclipse, Netbeans or Bluej. I can write the random guess number game as per given instructions. please contact me as soon as possible for a discussion on the project.
I am also a computer science student at the university of georgia. It is my third year and this simple java program can be completed with in the hour if you choose me. Thank you!
I have watched java grow up and mature into the language that it has become today. Though I am young, I have 6 years of java programming under my belt and this project seems very manageable
Hi There,
A team of Expert Game Developers here, have understood your requirements, have already worked in all domains which you mentioned, would love to work for you!
Expert Team in Game Development with 2 years of Professional Game Development experience.
Please come in chat so that we can discuss this. I will share my portfolio in chat.
Eager to start work with you.
I have long term experience in java programming language. I have solved many algorithmic and data structure related problems in java. I believe I can solve your problem easily and deliver your project in time.
Sir, I have been coding in Java for past 4 years now and I can ensure you that this program is a cake walk for me. I can provide documentation of the program logic using proper comments. I can guarantee submission of the project by end of the day.
Thank you for your time.
Regards
Akshit Dhar
I have been working with Java for about past 4 years and have great experience in java basics, threading and networking and java GUI. So, it well be really easy for me to complete this work.
Hello, I am student of computer sciences in Master degree. I am very good at Java programming and I can make this task very well for you. Hire me for your job to be done well at low costs.
Hi,
I could write this game for you with comments and explanations in the code. It will be ready in a few hours. I have 10+ years experience in JAVA.
Please message me if you would like to continue.
Kind regards,
Chris
Hi,
I'm just starting using freelancer and this project seems like a good first project. I have 5 years of Java experience and could finish your project in just a few hours. I'm also very responsive, you can always contact me. I follow all the conventions of clean code and will do my best to give you exactly what you want.
Hope to hear from you
The project sounds very interesting to me and I have full confidence that I can complete this on time. I am bidding low because I am new to freelancing but I have worked on similar tasks before in my company and during my college days.I request you to kindly give me a chance to showcase my skills and dedication.
This is an easy task for me as I have 5 years experience with Java. I can finish the project the same day you award it to me. This is my first bid as I just joined the site, so I hope it'll go through :) Best regards
I am a professional programmer and have a experience of 2 years. I have already done this before and so its very easy for me. I will also include comments in my code and will further explain it to you if required.