Question: For this part of the assignment, you will write you own Quadrant identifier that looks like: Here are three example sessions: Quadrant Identifier Enter value

COCS 1336 Lab 4b: Driver License Eligibilty and Quadrant in Coordinates Objectives

 For this part of the assignment, you will write you own Quadrant identifier that looks like: Here are three example sessions: Quadrant Identifier Enter value of x: 4 Enter value of y: 3 Point in Coordinates: Quadrant I Quadrant Identifier Enter value of x: 0 Enter value of y: 10 Point in Coordinates: y-axis Quadrant Identifier Enter value of x: -10 Enter value of y: 7 Point in Coordinates: Quadrant II Lab 4b Grading Rubric Your programs should compile without any errors. A program with more than one or two compile errors will likely get a zero for the whole assignment. There are 100 points possible for this assignment: • For correctly coding for Driver License Test. • For correctly coding for Quadrant Identifier. • If your submission includes the following: •Each main method prints "Lab 4b written by [...]". •Your submission was a file named Lab4b.java •If your programs contain comments that describes what each program does and contains a descriptive comment for each method. •If your programs are indented properly.

COCS 1336 Lab 4b: Driver License Eligibilty and Quadrant in Coordinates Objectives .Use conditions Use scanner Hand-in Requirements Lab4b.java Note that output files are not required for this assignment. Introduction This assignment has two parts: Driver License Eligibility Test and Identifying the Quadrant in Coordinate system when x and y are given. Part I: Driver License EligibilityHyperbola Drawing Create a program named Lab4b.java. Make a program that ask the user their age. If the age is less than 16 display "Not Eligible". If age is between 16 and 18 display "Student Licences Eligible". Otherwise, display "Eligible to Apply". Part II: Identify the Quadrant based on x and y values Also in Lab4b.java create methods to generate quadrant identifier. The Cartisian Coordinate system allows to plot a point with x and y values. The possible positions of a point is: the origin, x-axis, y-axis, Quadrant I, Quadrant II, Quadrant III, or Quadrant IV based on the x and y values.

Step by Step Solution

3.44 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here is the Java code for the Quadrant identifier java import javautilScanner public class Lab4b public static void mainString args Scanner scanner new ScannerSystemin SystemoutprintlnQuadrant Identif... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!