Question
Asked by:
USNAVYET
USNAVYET
Rating (6): A
Questions Asked: 14
Tutorials Posted: 35, earned $278.87
 

$15.00 Java Array Help

Q:

I need help with constructing two Java Programs. I have provided my code so far for the first, and I am completely lost on the second. I am work and have to turn these in by tonight.

 
Attachments:
TestInput.java (0K)
hw7.doc (24K)
in1.txt (0K)
in2.txt (0K)


   
   
   
   
 
Available Tutorials to this Question
Posted by:
BostonTutor
BostonTutor
Rating (1): A+
Questions Asked: 0
Tutorials Posted: 6, earned $23.47
 

$15.00 Complete solution to both problems with tutorials

  • This tutorial hasn't been purchased yet.
  • Posted on Oct 10, 2009 at 8:20:36PM
A:
Preview: ... and Test2DArray.java are the completed programs, as the assignment described.  Tes ...

The full tutorial is about 51 words long plus attachments.

Attachments:
Archive.zip (4K) 

 in1.txt
 in2.txt
 Test2DArray.java
 Test2DArray_Tutorial.java
 TestArray.java
 TestArray_Tutorial.java
 ]

Posted by:
 

$15.00 A+ solution for Programming Assignment 7

  • This tutorial was purchased 1 time and rated A+ by students like you.
  • Posted on Oct 10, 2009 at 8:42:40PM
A:
Preview: ... ase s ...

The full tutorial is about 4 words long plus attachments.

Attachments:
TestArray.java (1K) (Preview)
Test2DArray.java (0K) (Preview)
in1.txt (0K) (Preview)
in2.txt (0K) (Preview)
Posted by:
modulo51
modulo51
Rating (110): A-
Questions Asked: 1
Tutorials Posted: 353, earned $2,117.64
 

$14.00 Java: read files with Scanner, write with Printwriter, manipulate data, ScreenShots

  • This tutorial hasn't been purchased yet.
  • Posted on Oct 10, 2009 at 10:52:06PM
A:
Preview: ... numbers in reverse order are: ");         outStream.println("\nThe positive numbers in reverse order are: ");         for (int k = 14; k >= 0; k--) {             if (a[k] > 0) {                 System.out.println(a[k]);                 outStream.println(a[k]);             }         }         inStream.close();         outStream.close();     } } ***** result.txt ***** There are 8 non-negative numbers in the file. They're sum is 1726.0 The minimum number is -943 The maximum number is 575 The average of the positve numbers is 215.75 The last element in the entire array is: 0 The positive numbers in reverse order are: 21 575 95 156 315 463 56 45 ********************** part 2 ************************ import java.util.Scanner; import java.io.File; import java.io.PrintWriter; import java.io.FileOutputStream; public class Test2DArray {     public static void main(String[] args) {         PrintWriter outStream = null;         String outFileName = "result2.txt";         // open file fo ...

The full tutorial is about 589 words long plus attachments.

Attachments:
TestArray.java (2K) (Preview)
Test2DArray.java (1K) (Preview)
resuts1and2.txt (0K) (Preview)
USNAVYVET.zip (19K) 

 USNAVYVET/build.xml
 USNAVYVET/build/classes/.netbeans_automatic_build
 USNAVYVET/build/classes/Test2DArray.class
 USNAVYVET/build/classes/TestArray.class
 USNAVYVET/dist/README.TXT
 USNAVYVET/dist/USNAVYVET.jar
 USNAVYVET/in1.txt
 USNAVYVET/in2.txt
 USNAVYVET/manifest.mf
 USNAVYVET/nbproject/build-impl.xml
 USNAVYVET/nbproject/genfiles.properties
 USNAVYVET/nbproject/private/config.properties
 USNAVYVET/nbproject/private/private.properties
 USNAVYVET/nbproject/private/private.xml
 USNAVYVET/nbproject/project.properties
 USNAVYVET/nbproject/project.xml
 USNAVYVET/result.txt
 USNAVYVET/result2.txt
 USNAVYVET/src/Test2DArray.java
 USNAVYVET/src/TestArray.java
 ]

   
Join Now or Log In
Get Tutoring
Get Paid
Academic Honesty