Web development and programming
191828 questions • Page 47 / 3837
(C++ with comments where possible) Define a class for complex numbers. A complex
(C++ with comments where possible) Define a class for complex numbers. A complex number is a number of the form a + b*i where for our purposes, a and b are numbers of type double,…
(C++) (Fix my code, please) CODE: #include using namespace std; //Cla
(C++) (Fix my code, please) CODE: #include <iostream> using namespace std; //Class definition class NumberArray { //Private instance variables private: int ar…
(C++) 1).Use UML notations to describe the following classes and their relations
(C++) 1).Use UML notations to describe the following classes and their relationships. Define relevant private data, and the public methods for each class. a) Define an ADT person …
(C++) 1.What is the size of an Array? Give an example. 2.What is wrong with the
(C++) 1.What is the size of an Array? Give an example. 2.What is wrong with the following? Explain. Also give the corrected version. int Test_Array[8]; cout << Test_Array; 3…
(C++) 3.How can you use pointer to print the first element of an array? Give an
(C++) 3.How can you use pointer to print the first element of an array? Give an example. 4.Explain the “Program Output” listed on page 507, Program9-7 of the text book. How does t…
(C++) A local scientific lab stores hazardous chemicals for local manufacturing
(C++) A local scientific lab stores hazardous chemicals for local manufacturing companies until they can be properly disposed of. The lab would like for you to write a C++ program…
(C++) A palindrome is a string that reads the same backward as forward. For exam
(C++) A palindrome is a string that reads the same backward as forward. For example, the words mom, dad, madam, and radar are all palindromes. Write a class Pstring that is derive…
(C++) Add these three functions to the class binaryTreeType (provided below). Wr
(C++) Add these three functions to the class binaryTreeType (provided below). Write the definition of the function, nodeCount, that returns the number of nodes in the binary tree.…
(C++) Below are binaryTreeType and binarySearchTree classes. class binaryTreeTyp
(C++) Below are binaryTreeType and binarySearchTree classes. class binaryTreeType has function nodeCount and leavesCount. Create a test program (main) to test nodeCount and leaves…
(C++) Below are binaryTreeType(.h) and binarySearchTree classes(.h).(//comment s
(C++) Below are binaryTreeType(.h) and binarySearchTree classes(.h).(//comment specify the files) class binaryTreeType has function nodeCount and leavesCount. Create a test progra…
(C++) Change the following program so that it uses a dynamic array instead of a
(C++) Change the following program so that it uses a dynamic array instead of a static one. Test it with sequence_exam2.cpp. sequence1.cpp #include "sequence1.h" #include <cass…
(C++) Create the following classes: Date - dom (int) - month (int) - year (int)
(C++) Create the following classes: Date - dom (int) - month (int) - year (int) - constructor of the form Date(int, int, int) Event …
(C++) Define a class called Item that consists of a string called name, a double
(C++) Define a class called Item that consists of a string called name, a double called price, and an int called quantity. The price represents the price per unit, so if you have …
(C++) Download the program stars.cpp Read the program and try to understand what
(C++) Download the program stars.cpp Read the program and try to understand what it does. Compile and run it as well to see what it does: in the program, the function, boxOfStars,…
(C++) File bowling.txt 2 8 1 X X 3 / 4 5 1 / X X 3 / 4 / 8 X X X X X X X X X X 9
(C++) File bowling.txt 2 8 1 X X 3 / 4 5 1 / X X 3 / 4 / 8 X X X X X X X X X X 9 / The game of bowling consists of ten frames. For each frame, ten pins are set at the end of a lan…
(C++) For this assignment, make sure that you comment your source code adequatel
(C++) For this assignment, make sure that you comment your source code adequately. Your job is to write the fill function for a raster-based graphics program. The graphic is store…
(C++) For this project, you will create a function for a larger magic card trick
(C++) For this project, you will create a function for a larger magic card trick game. Your task is to write a function that will allow a user will pick a card from a collection o…
(C++) For this project, you will create a program that calculates the number of
(C++) For this project, you will create a program that calculates the number of possible individual-sale tickets for a Cubs baseball game at Wrigley field that has a maximum seati…
(C++) Goal: create a simple staticArray class with templates and iterators. Requ
(C++) Goal: create a simple staticArray class with templates and iterators. Requirements for the staticArray class: 1.Create two private member variables: a.A static const int MAX…
(C++) Goal: create a simple staticArray class with templates and iterators. Requ
(C++) Goal: create a simple staticArray class with templates and iterators. Requirements for the staticArray class: 1.Create two private member variables: a.A static const int MAX…
(C++) Help wil Rate! IMPORTANT NOTES, PLEASE READ CAREFULLY: 1) Your program MUS
(C++) Help wil Rate! IMPORTANT NOTES, PLEASE READ CAREFULLY: 1) Your program MUST BE virus FREE (0 points will be given if the CPP file is infected). 2) Your program MUST BE FULLY…
(C++) Hey guys we just went over loops and it got me confused, it has me scrathc
(C++) Hey guys we just went over loops and it got me confused, it has me scrathcing my head for the past two days. I would appreciate any help you guys have to offer. Few places I…
(C++) How do I convert for statements to while statements? Everything runs smoot
(C++) How do I convert for statements to while statements? Everything runs smoothly and like I need it to; however, the for statements need to be while statements. This is my code…
(C++) I could use some help with this C++ program, I have some bugs in my code t
(C++) I could use some help with this C++ program, I have some bugs in my code that I can't quite figure out. Modify the bubble sort function (listed below) so that it sorts an ar…
(C++) I have a binary search tree class and i need to create a Constructor. Firs
(C++) I have a binary search tree class and i need to create a Constructor. First parameter is an ordered array of elements and the second parameter is the number of elements in t…
(C++) I wrote this program, and it should calculate the area and perimeter of a
(C++) I wrote this program, and it should calculate the area and perimeter of a plot. However, when I run the program, the values that show up for area/boundary are giant numbers …
(C++) Implement Genetic Algorithm to solve the 8-puzzle problem. Please display
(C++) Implement Genetic Algorithm to solve the 8-puzzle problem. Please display output and EXPLAIN how the code performs the Genetic Algorithm heuristic!!! 2) 8 Puzzle Problem: Th…
(C++) Implement Genetic Algorithm to solve the 8-puzzle problem. Please display
(C++) Implement Genetic Algorithm to solve the 8-puzzle problem. Please display output and EXPLAIN how the code performs the Genetic Algorithm heuristic!!! 2) 8 Puzzle Problem: Th…
(C++) Implement the linked list and test the functionality of it using tests. Wr
(C++) Implement the linked list and test the functionality of it using tests. Write your Test first and then implement your functions. EXPRESSIONSTREAM is given in the end. ++++++…
(C++) Implement the linked list and test the functionality of it using tests. Wr
(C++) Implement the linked list and test the functionality of it using tests. Write your Test first and then implement your functions. Don't use Templates. Please state all steps …
(C++) Implement the program, as outlined below in pseudocode, using singly linke
(C++) Implement the program, as outlined below in pseudocode, using singly linked list interface to store the data read from Words.txt (shown below). Demonstrate that the list of …
(C++) Plan and code a program utilizing one file for input and one file for outp
(C++)Plan and code a program utilizing one file for input and one file for output to solve the following problem: A. For adults, the deluxe meals will cost $25.80 per person and t…
(C++) Pleas create a tic tac toe game. Must write a Player class to store each p
(C++) Pleas create a tic tac toe game. Must write a Player class to store each players’ information (name and score) and to update their information (increase their score if appro…
(C++) Please create a tic tac toe game. Must write a Player class to store each
(C++) Please create a tic tac toe game. Must write a Player class to store each players’ information (name and score) and to update their information (increase their score if appr…
(C++) Please do this as fast as possible. Modify the 2 files below, turning them
(C++) Please do this as fast as possible. Modify the 2 files below, turning them into "Linked Lists" (Provide all copiable code in C++) The following is teacher.h #ifndef TEACHER_…
(C++) Please restructure this program so that the driver function/ int main() is
(C++) Please restructure this program so that the driver function/int main() is at the beginning of the program. #include #include using namespace std; // To create the odd and ev…
(C++) Rainfall Statistics Write a program that lets the user enter the total rai
(C++) Rainfall Statistics Write a program that lets the user enter the total rainfall for each of 12 months (starting with January) into an array of doubles . The program should c…
(C++) Rational Numbers It may come as a bit of a surprise when the C++ floating-
(C++) Rational Numbers It may come as a bit of a surprise when the C++ floating-point types (float, double), fail to capture a particular value accurately. Certainly double, which…
(C++) Rational Numbers It may come as a bit of a surprise when the C++ floating-
(C++) Rational Numbers It may come as a bit of a surprise when the C++ floating-point types (float, double), fail to capture a particular value accurately. Certainly double, which…
(C++) String manipulation - need to get number of words. Hello, I\'m writing a s
(C++) String manipulation - need to get number of words. Hello, I'm writing a string manipulation code and need to have an option to read the number of words typed by the user. I …
(C++) The following pseudocode describes the algorithm for a sort of n decimal i
(C++) The following pseudocode describes the algorithm for a sort of n decimal integers of d digits each: radixNumberSort(theArray: ItemArray, n: integer, d: integer): void for (j…
(C++) The program should execute in the following manner. You must make sure the
(C++) The program should execute in the following manner. You must make sure the output matches the format below. This is a Tic Tac Toe game! Please enter the name of player 1: [U…
(C++) The program should execute in the following manner. You must make sure the
(C++) The program should execute in the following manner. You must make sure the output matches the format below. This is a Tic Tac Toe game! Please enter the name of player 1: [U…
(C++) There are 8 slots in a plinko game. If I drop a chip into slot 1, output t
(C++) There are 8 slots in a plinko game. If I drop a chip into slot 1, output the path that the chip takes until it hits the bottom. The correct path should be [1.0 0.5 0.0 0.5 …
(C++) There are 8 slots in a plinko game. If I drop a chip into slot 1, output t
(C++) There are 8 slots in a plinko game. If I drop a chip into slot 1, output the path that the chip takes until it hits the bottom. The correct path should be [1.0 0.5 0.0 0.5 …
(C++) This question is about array. Encapsulate an array of doubles in a class F
(C++) This question is about array. Encapsulate an array of doubles in a class FloatArray. Make a .h file that has all the code for FloatArray. The idea is that arrays are evil an…
(C++) Tic-Tac-Toe (Extend the feature of your Tic-Tac-Toe program to have the co
(C++) Tic-Tac-Toe (Extend the feature of your Tic-Tac-Toe program to have the computer play against the user. The computer will always start as the first move. The computer should…
(C++) Tic-Tac-Toe (Extend the feature of your Tic-Tac-Toe program to have the co
(C++) Tic-Tac-Toe (Extend the feature of your Tic-Tac-Toe program to have the computer play against the user. The computer will always start as the first move. The computer should…
(C++) Tic-Tac-Toe (Extend the feature of your Tic-Tac-Toe program to have the co
(C++) Tic-Tac-Toe (Extend the feature of your Tic-Tac-Toe program to have the computer play against the user. The computer will always start as the first move. The computer should…
(C++) Tic-Tac-Toe (Extend the feature of your Tic-Tac-Toe program to have the co
(C++) Tic-Tac-Toe (Extend the feature of your Tic-Tac-Toe program to have the computer play against the user. The computer will always start as the first move. The computer should…
Subject
Web development and programming
Use Browse or pick another subject.