Browse C
Alphabetical listing with fast deep pagination.
81169 items • Page 1394 / 1624
Create a class called Planet (e.g. https://en.wikipedia.org/wiki/Solar_System) .
Create a class called Planet (e.g. https://en.wikipedia.org/wiki/Solar_System) . It has instance variables, constructor parameters, and accessor methods for the following data: - …
Create a class called Planet (e.g. https://en.wikipedia.org/wiki/Solar_System) .
Create a class called Planet (e.g. https://en.wikipedia.org/wiki/Solar_System) . It has instance variables, constructor parameters, and accessor methods for the following data: - …
Create a class called Plumber that inherits from the CommissionEmployee class in
Create a class called Plumber that inherits from the CommissionEmployee class in Figure 11.10 In your Plumber class, Earnings() should calculate the fee earned for a plumbing job.…
Create a class called Point for performing arithmetic with x/y coordinates in a
Create a class called Point for performing arithmetic with x/y coordinates in a system. Test your class with the pa8.cpp program included below. Points have the form (x, y) •Use d…
Create a class called Point3D to represent 3D point in space, a class called Sph
Create a class called Point3D to represent 3D point in space, a class called Sphere and a class called Cylinder. The sphere is characterized by its center point and the radius whi…
Create a class called PrimeNumber that stores a prime number. The default constr
Create a class called PrimeNumber that stores a prime number. The default constructor should set the prime number to 1. Add another constructor that allows the caller to set the p…
Create a class called Process Instance variables: Priority: which is an integer
Create a class called Process Instance variables: Priority: which is an integer value that corresponds to where it will be in the heap. Needs to be greater than 0. Time: A double …
Create a class called ProvinceTerritory. It contains two instance variables: a S
Create a class called ProvinceTerritory. It contains two instance variables: a String name and an int population. Create accessors and mutators too. The constructor takes the name…
Create a class called ProvinceTerritory. It contains two instance variables: a S
Create a class called ProvinceTerritory. It contains two instance variables: a String name and an int population. Create accessors and mutators too. The constructor takes the name…
Create a class called ProvinceTerritory. It contains two instance variables: a S
Create a class called ProvinceTerritory. It contains two instance variables: a String name and an int population. Create accessors and mutators too. The constructor takes the name…
Create a class called Puzzle that is used to manage a word puzzle like those fou
Create a class called Puzzle that is used to manage a word puzzle like those found on the TV game show Wheel of Fortune. A Puzzle should have at least two instance variables descr…
Create a class called Puzzle that is used to manage a word puzzle like those fou
Create a class called Puzzle that is used to manage a word puzzle like those found on the TV game show Wheel of Fortune. A Puzzle should have at least two instance variables descr…
Create a class called Rational for performing arithmetic with fractions. Write a
Create a class called Rational for performing arithmetic with fractions. Write a program to test this class. Use integer variables to represent the private data of the class - the…
Create a class called Rational for performing arithmetic with fractions. Write a
Create a class called Rational for performing arithmetic with fractions. Write a driver program to test your class. Use integer variables to represent the private data of the clas…
Create a class called Rational for performing arithmetic with fractions. Write a
Create a class called Rational for performing arithmetic with fractions. Write a driver program to test your class. Use integer variables to represent the private data of the clas…
Create a class called Rational for performing arithmetic with fractions. Write a
Create a class called Rational for performing arithmetic with fractions. Write a program to test your class. Use integer variables to represent the private data of the class – the…
Create a class called Rational for performing arithmetic with fractions. Write a
Create a class called Rational for performing arithmetic with fractions. Write a program to test your class. Use integer variables to represent the private data of the class – the…
Create a class called Rational for performing arithmetic with fractions. Write a
Create a class called Rational for performing arithmetic with fractions. Write a program to test your class. Use integer values to represent the private instance variables of the …
Create a class called Rational for performing arithmetic with fractions. Write a
Create a class called Rational for performing arithmetic with fractions. Write a program to test your class. Use integer values to represent the private instance variables of the …
Create a class called Rational for performing arithmetic with fractions. Write a
Create a class called Rational for performing arithmetic with fractions. Write a program to test your class. Use integer variables to represent the private instance variables of t…
Create a class called Rational to implement rational numbers with the following
Create a class called Rational to implement rational numbers with the following public member functions. Constructors: Rational(). and Rational(double top, double bottom) Member f…
Create a class called Rectangle with two instance variables width and height tha
Create a class called Rectangle with two instance variables width and height that are of type double. Provide a method called calculatePerimeter that calculates the perimeter of t…
Create a class called Rectangle with two instance variables width and height tha
Create a class called Rectangle with two instance variables width and height that are of type double. Provide a method called calculatePerimeter that calculates the perimeter of t…
Create a class called Recursion for these two problems:a) The length of a string
Create a class called Recursion for these two problems:a) The length of a string could be found by counting the first character plus the count of the remaining characters. Add a s…
Create a class called Restaurant that is the base class for all restaurants. It
Create a class called Restaurant that is the base class for all restaurants. It should have attributes for the restaurant's name and numSeats.(number of seats inside the restauran…
Create a class called RightTriangle with the following members: Fields: sideA ,
Create a class called RightTriangle with the following members: Fields: sideA, a double variable to store length of side A. sideB, a double variable to store length of side B. R_A…
Create a class called School. Include two private members representing the name
Create a class called School. Include two private members representing the name of the school and the number of students enrolled. Create the appropriate accessors and mutators. C…
Create a class called SchoolKid that is the base class for children at a school.
Create a class called SchoolKid that is the base class for children at a school. It should have attributes for the child’s name and age, the name of the child’s teacher, and a gre…
Create a class called Shirt. There should be 3 instance variables, the color (a
Create a class called Shirt. There should be 3 instance variables, the color (a String), the size (an int), and the unit price (a double). Write a set method for each instance var…
Create a class called Skateboard. Skateboard has 3 private member variables and
Create a class called Skateboard. Skateboard has 3 private member variables and 3 public member functions.(C++, Visual Studios) Skateboard has the following 3 private member varia…
Create a class called Square. This class should have a constructor that takes th
Create a class called Square. This class should have a constructor that takes the size of the square as an integer and a method called draw() that draws the square to the console.…
Create a class called Stack with the following members: a. A private integer arr
Create a class called Stack with the following members: a. A private integer array called stack that contains STACK_SIZE elements. You will only use this array in your constructor…
Create a class called StreamStats with one constructor and two methods Given an
Create a class called StreamStats with one constructor and two methods Given an InputStream input for which you will process some statistics read the entire InputStream supplied i…
Create a class called StreamStats with one constructor and two methods construct
Create a class called StreamStats with one constructor and two methods constructor Given an InputStream input for which you will process some statistics Methods read the entire In…
Create a class called StringHashCode which besides a main method provides the fo
Create a class called StringHashCode which besides a main method provides the following method: public static int strHashCode(String str) This method should return the integer has…
Create a class called Student . The Student class will have 4 private member var
Create a class called Student. The Student class will have 4 private member variables (string name, int id, int *test, int nume). Also have the following member functions, all of …
Create a class called Student that contains a name ( an array of char) and an st
Create a class called Student that contains a name ( an array of char) and an student id number (type long). 1. Include a member function called get_data( ) to get data from the u…
Create a class called Student that contains: - A field to store the name - A fie
Create a class called Student that contains: - A field to store the name - A field to store their average numerical grade - A field to store their letter grade - A constructor tha…
Create a class called Student that has: - A field to store the name - A field to
Create a class called Student that has: - A field to store the name - A field to store their average number grade - A field to store their grade (A, B, C etc.) - A constructor tha…
Create a class called Student. This class should have the following twelve priva
Create a class called Student. This class should have the following twelve private data elements: String studentName String studentEmail String studentLocation int projectGrade1 i…
Create a class called Team, which represents a team of BaseballPlayers (Copy and
Create a class called Team, which represents a team of BaseballPlayers (Copy and paste your BaseballPlayer class from Assignment 1). This is the Baseball player class: { // …
Create a class called TestScores that stores test scores (integers) in a vector.
Create a class called TestScores that stores test scores (integers) in a vector. The class should have a function that adds a score to the vector (call it addScore), another that …
Create a class called TestScoresthat stores test scores (integers) in a vector.
Create a class called TestScoresthat stores test scores (integers) in a vector. The class should have a function that adds a score to the vector (call it addScore), another that s…
Create a class called TestScoresthat stores test scores (integers) in a vector.
Create a class called TestScoresthat stores test scores (integers) in a vector. The class should have a function that adds a score to the vector (call it addScore), another that s…
Create a class called Time and then write a driver program to test your class by
Create a class called Time and then write a driver program to test your class by creating some objects and performing various operations. Your program must have at least three fil…
Create a class called Time that has private member variables for hours, minutes
Create a class called Time that has private member variables for hours, minutes and seconds. A default constructor should initialize the time to 0:0:0. A three argument constructo…
Create a class called Vehicle in Vehicle.java with instance variables make (such
Create a class called Vehicle in Vehicle.java with instance variables make (such as Ford, GM, Chrysler, Toyota, or Honda), year, and horsepower (200, 300, and 400). Add the necess…
Create a class called Vehicle that has a manufacturer’s name (type String), a nu
Create a class called Vehicle that has a manufacturer’s name (type String), a number of cylinders in the engine (type int), and an owner (type Person given below). Then, create a …
Create a class called Vehicle that has the manufacturer\'s name (type String), n
Create a class called Vehicle that has the manufacturer's name (type String), number of cylinders in the engine (type int), and owner (type Person given next). Then, create a clas…
Create a class called Vehicle that implements the Comparable interface. Vehicle
Create a class called Vehicle that implements the Comparable interface. Vehicle will contain a member variable to hold the make of the vehicle, a constructor that sets up the make…