Browse C
Alphabetical listing with fast deep pagination.
81169 items • Page 43 / 1624
C++ A point to be drawn on a graphical window can be represented by a pair of in
C++ A point to be drawn on a graphical window can be represented by a pair of integer coordinates (x, y). For this lab exercise, you shall implement a C++ class named Point which …
C++ A prime number is an integer greater than 1 that is evenly divisible by only
C++ A prime number is an integer greater than 1 that is evenly divisible by only 1 and itself. For example, the number 5 is prime because it can only be evenly divided by 1 and 5.…
C++ A rational number is of the form a/b where a and b are integers with b not e
C++ A rational number is of the form a/b where a and b are integers with b not equal to zero. Develop a class for processing rational numbers. The class should have a numerator da…
C++ A single variable polynomial is represented as an arithmetic expression show
C++ A single variable polynomial is represented as an arithmetic expression show below: A0 + A1 * x + A2* x2 + … + Ak* xk The highest exponent, k, is called the deg…
C++ A software company sells a package that retails for $99. Quantity discounts
C++ A software company sells a package that retails for $99. Quantity discounts are given according to the following table. Quantity Discount 10-19 20% 20-49 30% 50-99 40% 100 or …
C++ A user wants to store a set of N number - value of N is input by the user su
C++ A user wants to store a set of N number - value of N is input by the user such that N >= 10 [Validate Input]. The system first reads the value of “N”, prompts the user to e…
C++ A) Design a class called MovieData to store the following information about
C++ A) Design a class called MovieData to store the following information about a movie: Title (a string ) Director (a string ) Year Released (an integer ) Running time (in minute…
C++ ADT Bag Union Help. I need to write the following program but I\'m having tr
C++ ADT Bag Union Help. I need to write the following program but I'm having trouble with implementation files methods and calling these methods from main(). The following 3 metho…
C++ ADT Bag Union Help. I need to write the following program but I\'m having tr
C++ ADT Bag Union Help. I need to write the following program but I'm having trouble with implementation files methods and calling these methods from main(). The following 3 metho…
C++ ADT Bag Union Help. I need to write the following program but I\'m having tr
C++ ADT Bag Union Help. I need to write the following program but I'm having trouble with implementation files methods and calling these methods from main(). The following 3 metho…
C++ ADT Bag Union Help. I need to write the following program but I\'m having tr
C++ ADT Bag Union Help. I need to write the following program but I'm having trouble with implementation files methods and calling these methods from main(). The following 3 metho…
C++ ADT Bag Union Help. I need to write the following program but I\'m having tr
C++ ADT Bag Union Help. I need to write the following program but I'm having trouble with implementation files methods and calling these methods from main(). The following 3 metho…
C++ ARRAY Enter in the name for salesman 1: Leo[Enter] Now enter in the sales fo
C++ ARRAY Enter in the name for salesman 1: Leo[Enter] Now enter in the sales for each quarter for Leo Enter in data for quarter 1: 23001[Enter] Enter in data for quarter 2: 82002…
C++ ASSIGNMENT. PLEASE HELP Instructions - Assignment 15a [required in order to
C++ ASSIGNMENT. PLEASE HELP Instructions - Assignment 15a [required in order to complete assignment 15b] Note: you may omit documentation on all parts of this assignment. Suppose …
C++ ASSIGNMENT. PLEASE HELP Instructions - Assignment 15a [required in order to
C++ ASSIGNMENT. PLEASE HELP Instructions - Assignment 15a [required in order to complete assignment 15b] Note: you may omit documentation on all parts of this assignment. Suppose …
C++ ASSIGNMENT: Area of a Circle The following formula gives the distance betwee
C++ ASSIGNMENT: Area of a Circle The following formula gives the distance between two points, (x1, y1) and (x2, y2) in the Cartesian plane: Given the center and a point on the ci…
C++ ASSIGNMENT: Grades Write a program that uses enum types to assign letter gra
C++ ASSIGNMENT: Grades Write a program that uses enum types to assign letter grades that can be automatically converted to numerical grades. For this assignment, you'll create an …
C++ ASSIGNMENT:Your employer has determined a market for a simple airline ticket
C++ ASSIGNMENT:Your employer has determined a market for a simple airline ticketing system for a very simple airline (Tree Top Airways -TTA). The airline only has two aircraft, na…
C++ ATM; recoding help. (Visual Studio) I have already posted this question on C
C++ ATM; recoding help. (Visual Studio) I have already posted this question on Chegg, but it seems like the code is too complicated than it supposed to be. ( This is just a beginn…
C++ Accurately adding large numbers using stacks You can use stacks to add very
C++ Accurately adding large numbers using stacks You can use stacks to add very large numbers. You may use the stack template to implement stacks. Read in from a file two very lar…
C++ Accurately adding large numbers using stacks You can use stacks to add very
C++ Accurately adding large numbers using stacks You can use stacks to add very large numbers. You may use the stack template to implement stacks. Read in from a file two very lar…
C++ Add aditional functions and convert a class into a class template. Take the
C++ Add aditional functions and convert a class into a class template. Take the included .h file and add some additional functions and conver to a class template. .h #include <…
C++ Add another static variable to the counted value class (CountedValue) that i
C++ Add another static variable to the counted value class (CountedValue) that is always equal to the number of counted values in existence in the program. Recall that destructors…
C++ Add the following functionality in the code given below: 1) Support ToDo Lis
C++ Add the following functionality in the code given below: 1) Support ToDo List items that take a space (i.e. "Got to Store") 2) Save any existing list items to a file using the…
C++ AddTwo Program (Use the AddTwo Program (from page 63 (3.2 Example: Adding an
C++ AddTwo Program (Use the AddTwo Program (from page 63 (3.2 Example: Adding and Subtracting Integers)) to do the following: Change the program so it can subtract two numbers ins…
C++ Address book the program should allow user to search by name, address or pho
C++ Address book the program should allow user to search by name, address or phone number. Add entry and delete an entry. Prompts user for filename and reads it into an array. Thi…
C++ After a program finishes executing, intermediate results are lost unless we
C++ After a program finishes executing, intermediate results are lost unless we save them somewhere. Frequently, this can be accomplished by writing the results to a file. For thi…
C++ After a program finishes executing, intermediate results are lost unless we
C++ After a program finishes executing, intermediate results are lost unless we save them somewhere. Frequently, this can be accomplished by writing the results to a file. For thi…
C++ Airplane Seating Code Design and implement a program that assigns seats on a
C++ Airplane Seating Code Design and implement a program that assigns seats on an airplane. Assume the airplane has 20 seats in the first class (5 rows of 4 seats each, separated …
C++ Airplane Seating Code Design and implement a program that assigns seats on a
C++ Airplane Seating Code Design and implement a program that assigns seats on an airplane. Assume the airplane has 20 seats in the first class (5 rows of 4 seats each, separated …
C++ All in same program Use cin instead of scanf Use cout instead of printf 2. l
C++ All in same program Use cin instead of scanf Use cout instead of printf 2. l . Create a struct called Complex to Represent complex numbers that include two pieces of informati…
C++ Although we know the structure of the relationship, we do not know the param
C++ Although we know the structure of the relationship, we do not know the parameters a, b and c. To find these parameters, we do 11 measurements and for different values of X, re…
C++ Answer questions 1, 2 & 4 (4 is on the right of the picture) Consider the fo
C++ Answer questions 1, 2 & 4 (4 is on the right of the picture) Consider the following declaration: Answer the following questions: What is the value of static_cast (STRAWBER…
C++ Answers Only You are to write a simple calculator that will perform basic ar
C++ Answers Only You are to write a simple calculator that will perform basic arithmetic operations on two doubles. 1. Your calculator should handle arithmetic operation of two do…
C++ Array Help. I need help on the second picture not the first. Problem descrip
C++ Array Help. I need help on the second picture not the first. Problem description Write a program that asks the user to enter the names of three salesmen. The program should th…
C++ Array Insertion question. I have a tester header and one main.cpp file. I ca
C++ Array Insertion question. I have a tester header and one main.cpp file. I can't seem to find the problem with this insertion. Can someone help please. The tester should automa…
C++ Array Searching Game You must use a single-dimensional array for this progra
C++ Array Searching Game You must use a single-dimensional array for this program. You must write a sequential search method to search for the number requested by the user. The fo…
C++ Array shifter using pointers Write a function that accepts an int array and
C++ Array shifter using pointers Write a function that accepts an int array and the array’s size as arguments. The function should create a new array that is one element larger th…
C++ Arrays True or False? a. All elements of an array are of the same type. (tru
C++ Arrays True or False? a. All elements of an array are of the same type. (true/false) b. Arrays cannot contain strings as elements. (true/false) c. Two-dimensional arrays alway…
C++ Arrays and Design Assignment For this program, you will read in and analyze
C++ Arrays and Design Assignment For this program, you will read in and analyze temperatures around the nation on a particular day. The input data will be in a text file called te…
C++ Arrays help. I am trying to solve this problem using arrays and functions, n
C++ Arrays help. I am trying to solve this problem using arrays and functions, not just functions. Please don't copy and past a program found online as i've seen them. I'd aprecia…
C++ Ask for B2 ONLY Problem B1 The volume of a cone is given by the formula: V =
C++ Ask for B2 ONLY Problem B1 The volume of a cone is given by the formula: V = r2 h / 3 For the value of use: const double PI = 3.14159265358979323846; Declare a structure named…
C++ Ask the user for a number between 3 and 100 (inclusive). USING LOOPS, figure
C++ Ask the user for a number between 3 and 100 (inclusive). USING LOOPS, figure out what is the largest power of 2 that is less than or equal to the number entered. For example, …
C++ Ask the user to input a character. You will draw your right triangle with th
C++ Ask the user to input a character. You will draw your right triangle with this character. Ask the user to input the number of rows (integer). This will also signify the number…
C++ Assignemnt Your goal is to create a structure to store information about a m
C++ Assignemnt Your goal is to create a structure to store information about a movie. Your program should have the following: ? The name of the program should be Assignment8. ? 3 …
C++ Assignment (Please post the solution and output) /* Please submit this progr
C++ Assignment (Please post the solution and output) /* Please submit this program in pseudocode */ Requires: Variables, data types, and numerical operators, basic input/output, l…
C++ Assignment 1. Write the function described below: The function is named calc
C++ Assignment 1. Write the function described below: The function is named calculateTip It takes in two parameters: one double reference parameter for the price, one double value…
C++ Assignment 12.1 [15 points] This assignment will not be graded for style iss
C++ Assignment 12.1 [15 points] This assignment will not be graded for style issues. If your code works correctly, you'll get 15 points. Style will be graded next week. Note: No d…
C++ Assignment 13.1 [95 points] This is part 2 of a two part assignment. Your sc
C++ Assignment 13.1 [95 points] This is part 2 of a two part assignment. Your score on this assignment will take into consideration your work on both the previous assignment and t…
C++ Assignment : Create a program which can maintain binary numbers, being able
C++ Assignment: Create a program which can maintain binary numbers, being able to add them, as well as being able to convert them from binary to decimal, and decimal to binary. To…