Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Browse C

Alphabetical listing with fast deep pagination.
81169 items • Page 85 / 1624

All 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
C++ Write a program which: 1. Asks the user to enter his/her name AND validates
C++ Write a program which: 1. Asks the user to enter his/her name AND validates it 2. Once the name is validated, then the program prompts the user to enter anything (s)he wants u…
C++ Write a random number generator function “ rand_integer” that returns a rand
C++ Write a random number generator function “ rand_integer” that returns a random integer between -10 and 10. To test this function, declare a function Array named “rand_array wi…
C++ Write a recursive function called product that takes a pointer to a linked l
C++ Write a recursive function called product that takes a pointer to a linked list node (with integer data), and returns the product of the integers in the linked list nodes. You…
C++ Write a recursive function that takes in a 2 character string and a number o
C++ Write a recursive function that takes in a 2 character string and a number of times to repeat the pattern. The function should return a string that has the rst character repea…
C++ Write a recursive function to compute the value of the following series for
C++ Write a recursive function to compute the value of the following series for a given n: f(n) = 1 + 1/4 + 1/9 + 1/16 + ... + 1/n^2 for n >= 1 Write the base cases and recurre…
C++ Write a simple \"translator\" program using a map where the keys are English
C++ Write a simple "translator" program using a map where the keys are English words and the values are corresponding words in another language. (Pick a language you know, if poss…
C++ Write a simple \"translator\" program using a map where the keys are English
C++ Write a simple "translator" program using a map where the keys are English words and the values are corresponding words in another language. (Pick a language you know, if poss…
C++ Write a string class. To avoid conflicts with other similarly named classes,
C++ Write a string class. To avoid conflicts with other similarly named classes, we will call our version MyString. This object is designed to make working with sequences of chara…
C++ Write a template version of a class that implements a priority queue. To sum
C++ Write a template version of a class that implements a priority queue. To summarize, a priority queue is essentially a list of items that is always ordered by priority. Each it…
C++ Write an Append() function that takes two lists, \'a\' and \'b\', appends \'
C++ Write an Append() function that takes two lists, 'a' and 'b', appends 'b' onto the end of 'a'
C++ Write an overloaded function max() that takes either two or three parameters
C++ Write an overloaded function max() that takes either two or three parameters of type double and returns the largest value Specifications: Use two functions called max) that ar…
C++ Write and test a function void sort2num(int *p1, int *p2), the result is tha
C++ Write and test a function void sort2num(int *p1, int *p2), the result is that p1 points to the larger number of the two, and p2 points to the smaller number of the two. C++ Wr…
C++ Write functions to do the following. Do not change the function signature. P
C++ Write functions to do the following. Do not change the function signature. Please write the functions, using the given function signature and specifications. Write a function …
C++ Write functions to do the following. Do not change the function signature. P
C++ Write functions to do the following. Do not change the function signature. Please write the functions, using the given function signature and specifications. The main function…
C++ Write one line of code for each line below. What is the template type in eac
C++ Write one line of code for each line below. What is the template type in each case? - Create a vector to store student IDs - Create a vector to store student names - Create a …
C++ Write the body for a function that replaces each copy of an item in a stack
C++ Write the body for a function that replaces each copy of an item in a stack with another item. Use the following specifications. (This function is in the client program.) Repl…
C++ Write the circular queue class (you may use the linked list version or dynam
C++ Write the circular queue class (you may use the linked list version or dynamic array/vector implementation). Call it cqueue. Use your circular queue class to simulate a real w…
C++ Write the declarations for an array of structs that can be used to store all
C++ Write the declarations for an array of structs that can be used to store all the top 10 hits for every week of the year. The data for the first six weeks of 2012 is stored in …
C++ Write the definition for a class where you could be an object in the class.
C++ Write the definition for a class where you could be an object in the class. So your name would end up being a variable name if someone were to use this class. Your class must …
C++ Write the definition for a class where you could be an object in the class.
C++ Write the definition for a class where you could be an object in the class. So your name would end up being a variable name if someone were to use this class. Your class must …
C++ Write the definition of a function named fscopy that does a line-by-line cop
C++ Write the definition of a function named  fscopy that does a line-by-line copy from one stream to another. This function can be safely passed two fstream objects , one opened …
C++ Write the definition of a function named fscopy that does a line-by-line cop
C++ Write the definition of a function named fscopy that does a line-by-line copy from one stream to another. This function can be safely passed two fstream objects , one opened f…
C++ Write the function isEven() that receives an integer type parameter and retu
C++ Write the function isEven() that receives an integer type parameter and returns a boolean type. The function returns true if the parameter is an even integer and false otherwi…
C++ Write the function isEven() that receives an integer type parameter and retu
C++ Write the function isEven() that receives an integer type parameter and returns a boolean type. The function returns true if the parameter is an even integer and false otherwi…
C++ Write the function sum() that receives two parameters; a double type array a
C++ Write the function sum() that receives two parameters; a double type array and an integer type parameter representing the size of the array. The function returns the sum of th…
C++ Write the implementation (.cpp file) of the GasTank class of the previous ex
C++ Write the implementation (.cpp file) of the GasTank class of the previous exercise. The full specification of the class is: A data member named  amount of type  double . A con…
C++ Write two programs which will work with a structure. a) The first program wi
C++ Write two programs which will work with a structure. a) The first program will use a structure to store the following inventory data in a file: Item Description Quantity on Ha…
C++ Write your own version of a class template that will create a binary tree th
C++ Write your own version of a class template that will create a binary tree that can hold values of any data type. Include a member function in the template you designed that co…
C++ Writer program has a declaration in main () to store the string \"The most i
C++ Writer program has a declaration in main () to store the string "The most incomprehensible thing about the world is that it is incomprehensible. - Albert Einstein" into an arr…
C++ Writing Functions 1) Write a function i sValidDNAchar that returns true if a
C++ Writing Functions 1) Write a function isValidDNAchar that returns true if a char argument is one of 'a', 'c', 'g', 't'. Otherwise the function returns false. 2) Then using tha…
C++ Writing Functions 1) Write a function, gc . gc : The GC content of a single
C++ Writing Functions 1) Write a function, gc . gc : The GC content of a single DNA sequence is the ratio of the total number of c’s and g’s to the length of the strand. For examp…
C++ You are a programming intern at a bank and your boss has come to ask for you
C++ You are a programming intern at a bank and your boss has come to ask for your help. When adding all the values in the accounts to compute a total, the result is often totally …
C++ You are not allowed to use #include and #include All variabl
C++ You are not allowed to use #include<map> and #include<algorithm> All variable must be documented . Please!!!! You can create many function as you want You should c…
C++ You are the owner of a pawnshop. Each and everyday you sell a number of item
C++ You are the owner of a pawnshop. Each and everyday you sell a number of items. At the end of the day you wish to know what your net profits are during the day. The gross profi…
C++ You are to design and implement bank account usage. A typical bank account w
C++ You are to design and implement bank account usage. A typical bank account will include: account number, name (first, last), checking balance/interest rate/last updated date, …
C++ You are to design and implement bank account usage. It is up to you to inclu
C++ You are to design and implement bank account usage. It is up to you to include more or less bank account activities. A typical bank account will include: account number, name …
C++ You are to write a program that provides for simple line editing. You progra
C++ You are to write a program that provides for simple line editing. You program is to do the following: * allow the user to enter one line of text * display a menu of user choic…
C++ You are to write the first program(Fraction one) and then you modify it (Fra
C++ You are to write the first program(Fraction one) and then you modify it (Fraction2). so we have 2 programms in total. Fraction 1 1. Imagine that the company you work for is go…
C++ You are writing a customer contact application. • Each customer has two addr
C++ You are writing a customer contact application. • Each customer has two addresses, a home address and a business address. • Each customer address has a customer name, a street…
C++ You have 3 monsters – each monster has a health (starts at 100) and a damage
C++ You have 3 monsters – each monster has a health (starts at 100) and a damage potential (starts as a random number between 1 and 3, multiplied by 2.) 2 monsters are randomly ch…
C++ You have 8 universities under contract. These labs contain computer stations
C++ You have 8 universities under contract. These labs contain computer stations that are hold the work stations numbered as shown in the table below: We are also going to continu…
C++ You have been given a flat cardboard of area, say, 70 square inches to make
C++ You have been given a flat cardboard of area, say, 70 square inches to make an open box by cutting a square from each corner and folding the sides. Your objective is to determ…
C++ You have learned that functions are a very powerful tool in programming and
C++ You have learned that functions are a very powerful tool in programming and would like to start using them in your programs. You plan to write a simple program LongestSequence…
C++ You job is write the selection sort function and print the array “before sor
C++ You job is write the selection sort function and print the array “before sorting” and “after sorting” so we can see the differences. A partially done program is given to you. …
C++ You main program should be menu driven, prompting the user with the followin
C++ You main program should be menu driven, prompting the user with the following list of options: 1 - Insert 2- remove 3- insertAt 4- insertEnd 5- ReplaceAt 6- SeqSearch 7- Print…
C++ You main program should be menu driven, prompting the user with the followin
C++ You main program should be menu driven, prompting the user with the following list of options: 1 - Insert 2- remove 3- insertAt 4- insertEnd 5- ReplaceAt 6- SeqSearch 7- Print…
C++ You need to design, implement, and test a grocery shopping list program. The
C++ You need to design, implement, and test a grocery shopping list program. The program should maintain and display a list of items. You will use a class for the Items. The class…
C++ You operate several hot dog stands distributed throughout town and need to t
C++ You operate several hot dog stands distributed throughout town and need to track sales. Define a class named HotDogStand has a member variable for the hot dog stand's ID numbe…
C++ You operate several hot dog stands distributed throughout town and need to t
C++ You operate several hot dog stands distributed throughout town and need to track sales. Define a class named HotDogStand has a member variable for the hot dog stand's ID numbe…
C++ You should attempt this assignment after we cover using pointers with arrays
C++ You should attempt this assignment after we cover using pointers with arrays and dynamic memory allocation. There is a tutorial for this assignment since it is the first time …