Browse D
Alphabetical listing with fast deep pagination.
30085 items • Page 219 / 602
Design a class named QuadraticEquation for a quadratic equation ax2+bx+x=0. The
Design a class named QuadraticEquation for a quadratic equation ax2+bx+x=0. The class contains: private data fields a, b, and c that represents three coefficients. a constructor f…
Design a class named QuadraticEquation for a quadratic equation ax^2+bx+x=0. The
Design a class named QuadraticEquation for a quadratic equation ax^2+bx+x=0. The class contains: .private data fields a, b, and c that represents three coefficients. . a construct…
Design a class named Queue for storing integers. Like a stack, a queue holds ele
Design a class named Queue for storing integers. Like a stack, a queue holds elements. In a stack, the elements are retrieved in a last-in first-out fashion. In a queue, the eleme…
Design a class named Rectangle that represents a rectangle. The class should con
Design a class named Rectangle that represents a rectangle. The class should contain the following: Two private double data fields named “width” and “height” where the default wid…
Design a class named Rectangle that represents a rectangle. The class should con
Design a class named Rectangle that represents a rectangle. The class should contain the following: • Two private double data fields named “width” and “height” where the default w…
Design a class named Rectangle to represent a rectangle. The class contains two
Design a class named Rectangle to represent a rectangle. The class contains two double data fields named width and height that specify the width and neight of the rectangle A no-a…
Design a class named Rectangle to represent a rectangle. The class contains: ? T
Design a class named Rectangle to represent a rectangle. The class contains: ? Two double data fields named width and height that specify the width and height of the rectangle. ? …
Design a class named Rectangle to represent a rectangle. The class contains: Two
Design a class named Rectangle to represent a rectangle. The class contains: Two double data fields named width and height that specify the width and height of the rectangle. The …
Design a class named Rectangle to represent a rectangle. The class contains: we
Design a class named Rectangle to represent a rectangle. The class contains: we have to make 3 files header file , one .cpp file for function and one more main cpp file Design a c…
Design a class named Stock that contains: A string data field named symbol for t
Design a class named Stock that contains: A string data field named symbol for the stock's symbol. A string data field named name for the stock's name. A double field named previo…
Design a class named StopWatch. The class contains: - Private data fields startT
Design a class named StopWatch. The class contains: - Private data fields startTime and endTime with getter methods. - A no-arg constructor that initializes startTime with the cur…
Design a class named Student. The class should have the following fields (User n
Design a class named Student. The class should have the following fields (User needs to provide the information through keyboard) ? id (short) ? name (String) ? address (String) ?…
Design a class named Time, the class contains: - the data fields hour,minute, an
Design a class named Time, the class contains: - the data fields hour,minute, and second that represent a time. - A no arg constructor that creates a Time object for the current t…
Design a class named Time. The class contains: Data fields hour, minute and seco
Design a class named Time. The class contains: Data fields hour, minute and second that repsent a time. A no-arg constructor that creates a Time object for the current time. (The …
Design a class named Time. The class contains: Data fields hour, minute, and sec
Design a class named Time. The class contains: Data fields hour, minute, and second that represent a time. A no-arg constructor that creates a Time object for the current time. A …
Design a class named TimeOff. The purpose of the class is to track an employee s
Design a class named TimeOff. The purpose of the class is to track an employee s sick leave, vacation, and unpaid time off. It should have, as members, the following instances of …
Design a class named Triangle that extends GeometricObject . The class contains:
Design a class named Triangle that extends GeometricObject. The class contains: Three double data fields named side1, side2, and side3 with default values 1.0 to denote three side…
Design a class named Triangle that extends GeometricObject. The GeometricObject
Design a class named Triangle that extends GeometricObject. The GeometricObject class contains: • Private data fields named o color - String o filled - Boolean • No-arg co…
Design a class named Triangle that extends GeometricObject. The class contains:
Design a class named Triangle that extends GeometricObject. The class contains: Three double data fields named side1, side2, and side3 with default values 1.0 to denote three side…
Design a class named Triangle that extends GeometricObject. Theclass contains: /
Design a class named Triangle that extends GeometricObject. Theclass contains: //Three double data fields named side1, side2, and side3 withdefault values 1.0 to denote three side…
Design a class named Triangle that extends GeometricObject. Theclass contains: /
Design a class named Triangle that extends GeometricObject. Theclass contains: //Three double data fields named side1, side2, and side3 withdefault values 1.0 to denote three side…
Design a class named Triangle that extends Geometricobject. The class contains:
Design a class named Triangle that extends Geometricobject. The class contains: Three double data fields named side1, side2, and side3 with default values 1, 0 to denote three sid…
Design a class named Triangle that extends provided GeometricObject. The class c
Design a class named Triangle that extends provided GeometricObject. The class contains: Three double data fields named side1, side2, and side3 with default values 1.0 to denote t…
Design a class named fan to represent a fan. The class contains: An int data fie
Design a class named fan to represent a fan. The class contains: An int data field named speed that specifies the speed of the fan. A has three speeds indicated with a value 1, 2,…
Design a class names Employee. The class should keep the following information i
Design a class names Employee. The class should keep the following information in fields:
Design a class of Student that has the following attributes: Data members: first
Design a class of Student that has the following attributes: Data members: first name, last name, ID, Mathematics score and Biology score. Function members: (1) A default construc…
Design a class of Student that has the following attributes: • Data members: nam
Design a class of Student that has the following attributes: • Data members: name, Mathematics score and Chemistry score. • Function members: A default constructor of no-argument,…
Design a class point, which contains two instance variables x and y, a non-defau
Design a class point, which contains two instance variables x and y, a non-default constructor, a a void changeCoordBy (int x, int y) method, and a toString method. Then, consider…
Design a class prime that has one int private member that is prime at all times.
Design a class prime that has one int private member that is prime at all times. //Provide a default constructor that sets the member to 2//Provide a constructor that accepts an i…
Design a class that has a static method named writeArray. The method should take
Design a class that has a static method named writeArray. The method should take two arguments: the name of a file and a reference to an int array. The file should be opened, data…
Design a class that has an array of floating point numbers. The constructor shou
Design a class that has an array of floating point numbers. The constructor should accept an integer argument and dynamically allocate the array to hold that many numbers. The des…
Design a class that has an array of floating-point numbers. Assignment should ha
Design a class that has an array of floating-point numbers. Assignment should have seperate header file, class cpp file and driver file. The default constructor should create a dy…
Design a class that has an array of floating-point numbers. The constructor shou
Design a class that has an array of floating-point numbers. The constructor should accept an integer argument and dynamically allocate the array to hold that many numbers. The des…
Design a class that has an array of floating-point numbers. The constructor shou
Design a class that has an array of floating-point numbers. The constructor should accept an integer argument and dynamically allocate the array to hold that many numbers. The pri…
Design a class that has an array of floating-point numbers.The constructor shoul
Design a class that has an array of floating-point numbers.The constructor should accept an integer argument and dynamicallyallocate the array to hold that many numbers. The destr…
Design a class that has an array of floating-pointnumbers. The constructer shoul
Design a class that has an array of floating-pointnumbers. The constructer should accept an interger argumentand dynamically allocate the array to hold that many numbers. The dest…
Design a class that represents a dog. This class should have fields that represe
Design a class that represents a dog. This class should have fields that represent the breed, the weight, the sex and the birthdate (design a class of Date with integer fields for…
Design a class that represents a major-league baseball player. the \"player\' cl
Design a class that represents a major-league baseball player. the "player' class should have (at the very least) data members: name, team, height, weight, age, and batting Averag…
Design a class that stores information about products that are sold in a store.
Design a class that stores information about products that are sold in a store. Write a class named Item that has (at least) the following member variables: (Just do the part 1 an…
Design a class that stores strings on a dynamic queue. The strings should not be
Design a class that stores strings on a dynamic queue. The strings should not be fixed in length. Demonstrate the class with a driver program. 1. Make the isFull member private. 2…
Design a class that usese the above formulas to determine the total accumulated
Design a class that usese the above formulas to determine the total accumulated into an account and the periodic deposits to accumulate a specific amount Your class should have in…
Design a class that will determine the monthly payment on a home mortgage. The m
Design a class that will determine the monthly payment on a home mortgage. The monthly payment with interest compounded monthly is calculated as Payment=(loan?(rate/12)?term)(term…
Design a class that will determine the monthly payment on a home mortgage. The m
Design a class that will determine the monthly payment on a home mortgage. The monthly payment with interest compounded monthly can be calculated as follows: Payment = (Loan * Rat…
Design a class to perform various matrix operations. A matrix is a set of number
Design a class to perform various matrix operations. A matrix is a set of numbers arranged in rows and columns. Therefore, every element of a matrix has a row position and a colum…
Design a class to perform various matrix operations. A matrix is a set of number
Design a class to perform various matrix operations. A matrix is a set of numbers arranged in rows and columns. Therefore, every element of a matrix has a row position and a colum…
Design a class to perform various matrix operations. A matrix is a set of number
Design a class to perform various matrix operations. A matrix is a set of numbers arranged in rows and columns. Therefore, every element of a matrix has a row position and a colum…
Design a class to perform various matrix operations. A matrix is a set of number
Design a class to perform various matrix operations. A matrix is a set of numbers arranged in rows and columns. Therefore, every element of a matrix has a row position and a colum…
Design a class to perform various matrix operations. A matrix is a set of number
Design a class to perform various matrix operations. A matrix is a set of numbers arranged in rows and columns. Therefore, every element of a matrix has a row position and a colum…
Design a class to perform various matrix operations. A matrix is a set of number
Design a class to perform various matrix operations. A matrix is a set of numbers arranged in rows and columns. Therefore, every element of a matrix has a row position and a colum…
Design a class to print a monthly calendar given a month and a year. Use a dayTy
Design a class to print a monthly calendar given a month and a year. Use a dayType object to hold the first day of the month, use an extendedDateType object with the day set to 1 …