Find Jobs
Hire Freelancers

simple java program 24 game

$30-250 USD

Completed
Posted over 9 years ago

$30-250 USD

Paid on delivery
The 24 Game is an arithmetical game in which the objective is to find a way to manipulate four integers so that the end result is 24. Addition, subtraction, multiplication, or division in any order of the numbers may be used to make the four digits operations from one to nine equal 24. The rules are simple: you have to use each number only once and only the 4 numbers that were read from the user to find one equation to obtain 24. For example, for the numbers 4,7,8,8, a possible solution is: (7-(8/8))*4=24. Most sets of 4 digits can be used in multiple equations that result in 24: for example the input: 2, 2, 4 and 7 can be used in multiple ways to obtain 24: 2+2*(4+7) = 24 2+2*(7+4) = 24 (2+2)*7-4 = 24 (2*2)*7-4 = 24 2*(2*7)-4 = 24 There are also combinations of 4 numbers that cannot result into any equation equal with 24. For example 1,1,1,1. In this case, your program should return that there is no possible equation equal with 24. Note: Although we will enter 4 integers between 1 and 9, we will use doubles to compute all the operations. For example, the numbers 3,3,8,8 can be combined into the formula: 8/(3-8/3) = 24. Workflow: Your program should read the 4 numbers from the user and output a formula that results in 24. The algorithm should enumerate all the possible orders of 4 numbers, all the possible combinations and all the possible formulas. There is no required GUI for this project.
Project ID: 6806107

About the project

7 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my Java and algorithm skills. I am focused mostly on doing computer science work here in freelancer.com and I would like to help you get this project done if you would give me the opportunity. I am a computer science professor and practitioner and this assignment is one of the fields that I teach very well so I can assure you an accurate result. Let me know if you are interested so I can start. Thanks.
$30 USD in 1 day
5.0 (635 reviews)
7.3
7.3
7 freelancers are bidding on average $94 USD for this job
User Avatar
Dear Sir, I am #1 Java programmer on this site. I did 600+ projects and assignment in java. I love to do this simple game project. Please award me. Thanks
$34 USD in 1 day
4.9 (219 reviews)
7.1
7.1
User Avatar
Hello hiring manager, I have been working on ORACLE 11g, PHP, Joomla, Wordpress, ASP.Net (C# and VB) technologies, HTML/DHTML, CSS, AJAX, Dreamviewer, SQL Server, MY SQL, MS Access, Flex, Flash, Photoshop etc. for 8+ years. I have developed many websites and portal for goverment organization, local and USA clients. I have developed sevral ERP application right from scratch for various clients and implemented many clients projects.
$111 USD in 2 days
5.0 (6 reviews)
3.0
3.0
User Avatar
Hi, I can easily do this for you in one day or less. for the minimum of your budget! Well hit me up if you are interested.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$155 USD in 3 days
5.0 (1 review)
0.0
0.0

About the client

Flag of UNITED STATES
East Setauket, United States
5.0
1
Member since Dec 1, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.