Provided in the zip file for this prac are two java program files, dataStream1.java and dataStream2.java. Import the
java code into a project in Eclipse. Do the following:
a. Read the code in dataStream1.java to get an understanding of what the code will do. Run the dataStream1
program using the following data as input
10¿
15¿
22.1¿
help¿
Did the program work as you had expected for these input values?
b. Run the program again using the following data as input
10 15 22.1 help¿
Did the program work as you had expected for these input values?
c. Read the code in dataStream2.java to get an understanding of what the code will do. Run the dataStream2
program using the following data as input
10¿
help¿
15¿
22.1¿
Did the program work as you had expected for these values?
Hint: if you can’t work out why some of the data isn’t being read from the keyboard correctly you should read section
2.13 of Gaddis.
Correct the problem(s) that you found in dataStream1.java and dataStream2.java.

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!