Lukket

Orderhistory project three files needed

The constructor of OrderHistory will take an array of integers representing the scenario of steps in the coffeeVending Project. 1) constructor will open a file called [url removed, login to view] 2) constructor will write the order array out to the [url removed, login to view] 3) constructor will then close the [url removed, login to view] 4) constructor will open the [url removed, login to view] file and create an array of int called readOrder, int[] readOrder; which will be populated by the reading back of the contents of the [url removed, login to view] Therefore, the object that you will be writing to and reading from the file will simply be an int array (int[]). Other properties The OrderHistory class may use the OrderFileReader and OrderFileWriter classes provided read and write from/to newOrders.txt. The OrderHistory class will provide a main method to instantiate the OrderHistory object with an array of integers. The right way to set up the array of integers is to copy and paste the following code (lifted from [url removed, login to view]) into the OrderHistory class outside of the main method or the constructor: public final static int SEL_LARGE_COFFEE=1; public final static int SEL_SUGAR=2; public final static int SEL_XSUGAR=3; public final static int SEL_CREAMER=4; public final static int SEL_XCREAMER=5; public final static int SEL_DONE =-1; int[] scenario1 = {SEL_LARGE_COFFEE, SEL_CREAMER, SEL_SUGAR, SEL_XSUGAR, SEL_DONE}; Then in the main method, just call the OrderHistory constructor with the following command: After having read in the data from [url removed, login to view] into the readOrderBack array, use a for loop to step through each element of the arrays, readOrderBack and scenario1 and compare the values to each other to make sure that two arrays are identical. "Found SEL_LARGE_COFFEE!!!!" for(int i=0; i

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):

a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

win xp

Evner: Chrome OS, Ingeniørarbejde, Java, Linux, Mac OS, MySQL, PHP, Software Arkitektur, Software Testning, UNIX, Windows Skrivebord

Se mere: writing to a file java, writing to a file in java, writing the right way, the reading and writing project, steps to writing well, reading writing project, java writing to a file, java 1.5 for loop, int i, integers form 1, contents of a write up, three form, close out package, java project arrays, open source project java, php class found, create java object, set java environment, php loop command, php file write array

Om arbejdsgiveren:
( 0 bedømmelser ) United States

Projekt ID: #3321130

12 freelancere byder i gennemsnit $14 på dette job

krylenkom

See private message.

$15.3 USD in 3 dage
(231 bedømmelser)
6.7
olit

See private message.

$12.75 USD in 3 dage
(141 bedømmelser)
6.2
somireddy

See private message.

$17 USD in 3 dage
(76 bedømmelser)
5.4
mradityagoyal

See private message.

$17 USD in 3 dage
(39 bedømmelser)
4.8
engnader

See private message.

$8.5 USD in 3 dage
(11 bedømmelser)
3.0
mohamedfawzy21

See private message.

$17 USD in 3 dage
(6 bedømmelser)
2.0
connextvw

See private message.

$17 USD in 3 dage
(2 bedømmelser)
0.5
prashantsridhar

See private message.

$11.05 USD in 3 dage
(1 bedømmelse)
0.0
salazar123

See private message.

$14.45 USD in 3 dage
(1 bedømmelse)
0.0
someshnegi

See private message.

$8.5 USD in 3 dage
(0 bedømmelser)
0.0
rajeswaree

See private message.

$14.45 USD in 3 dage
(6 bedømmelser)
0.0
enzyme

See private message.

$17 USD in 3 dage
(2 bedømmelser)
0.0