Skip to content

Commit c8b2b66

Browse files
committed
Readme
1 parent 8e41d9a commit c8b2b66

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Introduction To Java Programming 10th Edition by Y. Daniel Liang
1+
# Intro To Java Programming Edition 10 by Y. Daniel Liang
22
### End of Chapter Exercises and Programming Activities
33
_Scroll Down for Quick Links!_
44

55
### <a href="https://www.amazon.com/Intro-Java-Programming-Comprehensive-Version/dp/0133761312">Intro to Java Programming by Daniel Liang</a>
66

77
This repo contains my solutions to the end of chapter exercise’s in
8-
Y. Daniel Liang’s _Introduction To Java Programming 10th Edition Comprehensive_. <br>
8+
Y. Daniel Liang’s _Introduction To Java Programming Comprehensive Version Edition 10_. <br>
99

10-
#### About 10th Edition Introduction To Java Programming (Comprehensive Version)
10+
#### About 10th Edition
1111
"Daniel Liang teaches concepts of problem-solving and object-oriented programming using a fundamentals-first approach. Beginning programmers learn critical problem-solving techniques then move on to grasp the key concepts of object-oriented, GUI programming, advanced GUI and Web programming using Java. Liang approaches Java GUI programming using JavaFX, not only because JavaFX is much simpler for new Java programmers to learn and use but because it has replaced Swing as the new GUI tool for developing cross-platform-rich Internet applications on desktop computers, on hand-held devices, and on the Web. Additionally, for instructors, JavaFXprovides a better teaching tool for demonstrating object-oriented programming."
1212

1313
This edition included the [Exercise Check Tool](https://liveexample.pearsoncmg.com/CheckExercise/faces/CheckExercise.xhtml?chapter=1&programName=Exercise01_01)

src/ch_03/E0332.java

+10-11
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,8 @@
88
* on the left of the line, on the right, or on the same line (see Figure 3.11):
99
* (x1 - x0)*(y2 - y0) - (x2 - x0)*(y1 - y0) c 7= 60 p2 is on the same line 0 p2 is on the left side of the line 0 p2 is on the right side of the line
1010
* FIGURE 3.11 (a) p2 is on the left of the line. (b) p2 is on the right of the line. (c) p2 is on
11-
* the same line.
12-
* p0
13-
* p2
14-
* p1
15-
* p0
16-
* p2
17-
* p1
18-
* p0
19-
* p2
20-
* p1
21-
* (a) (b) (c)
11+
* <p>
12+
* <p>
2213
* Write a program that prompts the user to enter the three points for p0, p1, and p2
2314
* and displays whether p2 is on the left of the line from p0 to p1, on the right, or on
2415
* the same line. Here are some sample runs:
@@ -30,8 +21,16 @@
3021
* Enter three points for p0, p1, and p2: 3.4 2 6.5 9.5 5 2.5
3122
* (5.0, 2.5) is on the right side of the line from (3.4, 2.0) to (6.5, 9.5)
3223
*
24+
* @author Harry Dulaney
3325
*/
3426
public class E0332 {
3527
public static void main(String[] args) {
28+
Scanner in = new Scanner(System.in);
29+
System.out.print("\nEnter three points for p0, p1, p2: ");
30+
double p1 = in.nextDouble();
31+
double p2 = in.nextDouble();
32+
double p3 = in.nextDouble();
33+
34+
3635
}
3736
}

0 commit comments

Comments
 (0)