subject

0points create a netbeans project called csc145-2019fall-exam 1-part 2—lastname firstname 2. 5 points create an interface called measurable. this interface should contain the following methods: • getarea() returns the area of the shape of type double • get circumference() returns the circumference of the shape of type double 3. 35 points create the following classes that implement the measurable interface from above (there is no need to draw these shapes): • triangle • parallelogram • rhombus • rectangle • square • trapezoid • circle 4. 40 points create another class called shapemath that can perform the following services: • adds the area of two shapes and returns a double value • adds the area of three shapes and returns a double value • adds the circumference of two shapes and returns a double value • adds the circumference of three shapes and returns a double value • compares the area of two shapes and returns • 1 if shape 1 is larger than shape 2 • 2 if shape 2 is larger then shape 1 • 0 if shapes 1 and 2 are the same • compares the area of three shapes and returns values 0, 1, 2, 3 - similar to values from above. • compares the circumference of two shapes and returns • 1 if shape 1 is larger than shape 2

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:30
In the context of it jobs in the information systems field. a is responsible for database design and implementation
Answers: 3
question
Computers and Technology, 22.06.2019 13:30
1. technician a says horsepower information can be used by consumers to compare the power of different automobile engines. technician b says that manufacturers will often list the horsepower output of their engines in the online service information. who is right?
Answers: 2
question
Computers and Technology, 22.06.2019 15:00
I'm taking a class on how to make a movie, and it offers some apps that would be in the process. the thing is, i don't have any of those ha. if you have any tips on some apps i could use, that would be awesome. i don't have an iphone, so don't suggest any apps like imovie. i know that this is a weird question, but it would be super for me. : )
Answers: 2
question
Computers and Technology, 22.06.2019 19:20
Consider the following code snippet: #ifndef cashregister_h#define cashregister_hconst double max_balance = 6000000.0; class cashregister{public: cashregister(); cashregister(double new_balance); void set_balance(double new_balance); double get_balance() const; private: double balance[12]; }; double get_monthly_balance(cashregister bk, int month); #endifwhich of the following is correct? a)the header file is correct as given.b)the definition of max_balance should be removed since header files should not contain constants.c)the definition of cashregister should be removed since header files should not contain class definitions.d)the body of the get_monthly_balance function should be added to the header file.
Answers: 1
You know the right answer?
0points create a netbeans project called csc145-2019fall-exam 1-part 2—lastname firstname 2. 5 point...
Questions
question
Mathematics, 02.09.2021 07:30
question
Mathematics, 02.09.2021 07:30
question
Mathematics, 02.09.2021 07:30
question
Advanced Placement (AP), 02.09.2021 07:30
question
Physics, 02.09.2021 07:40