Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 922 / 1333
Write a C++ program that simulates a game where a player throws 5 dice and can r
Write a C++ program that simulates a game where a player throws 5 dice and can reroll all of the dice (all or none) if the player wants. A player can only reroll all the dice once…
Write a C++ program that simulates a one-player game of battleship. The user sho
Write a C++ program that simulates a one-player game of battleship. The user should be able to specify the board size and the number of ships that will be placed on the board. (Sh…
Write a C++ program that simulates an ATM For this assignment, you are required
Write a C++ program that simulates an ATM For this assignment, you are required to write a C++ program that simulates an ATM. A customer should be able to • deposit to the account…
Write a C++ program that simulates banking transactions for a checking account.
Write a C++ program that simulates banking transactions for a checking account. The main program should read from the data file account.txt the initial balance in the checking acc…
Write a C++ program that simulates the behavior of a bank. A queue of arrival ev
Write a C++ program that simulates the behavior of a bank. A queue of arrival events will represent the line of customers. Maintain arrival departure events in a priority queue, s…
Write a C++ program that simulates the rolling of two six sided die. The program
Write a C++ program that simulates the rolling of two six sided die. The program should call a function called roll that returns the value of the die. This function should use the…
Write a C++ program that simulates the throw of a dice. The program allows the u
Write a C++ program that simulates the throw of a dice. The program allows the user to enter the number of throws he/she would like to do. The program then, will calculate the sta…
Write a C++ program that simulatesa lexical/syntax analyzer (parser) system for
Write a C++ program that simulatesa lexical/syntax analyzer (parser) system for the following simple if ..else..statement. The BNF is: <ifstmt>-> if (<boolexpr>) &l…
Write a C++ program that stimulates a questionnaire to find a roommate from your
Write a C++ program that stimulates a questionnaire to find a roommate from your computer class. You will ask the user various questions that might determine a suitable match, at …
Write a C++ program that sums the content of two 3 times 3 matrices array A and
Write a C++ program that sums the content of two 3 times 3 matrices array A and arrayB and store the output in arrayC. I or example, cell 0.0 in arrayC should hold the sum of cell…
Write a C++ program that takes 2 numbers of int type from the user and determine
Write a C++ program that takes 2 numbers of int type from the user and determines the larger one between them using the pointer type shown in class. The two numbers MUST be passed…
Write a C++ program that takes a number in the range of 0 to 6 and a second numb
Write a C++ program that takes a number in the range of 0 to 6 and a second number in the range 1 to 365 as input. We are only considering non-leap years. The first number represe…
Write a C++ program that takes as input an arithmetic expression. The program ou
Write a C++ program that takes as input an arithmetic expression. The program outputs whether the expression contains matching grouping symbols. For example, the arithmetic expres…
Write a C++ program that takes in three arguments, a start temperature (in Celsi
Write a C++ program that takes in three arguments, a start temperature (in Celsius), an end temperature (in Celsius) and a step size. Print out a table that goes from the start te…
Write a C++ program that tests the function main and the functions discussed in
Write a C++ program that tests the function main and the functions discussed in steps1 through 7. 1. Declare two global variables: const int MAX_COL = 60; const int MAX_ROW = 30; …
Write a C++ program that that plays the rock paper scissors game A rock should b
Write a C++ program that that plays the rock paper scissors game A rock should beat scissors, scissors beats paper and paper beats rock. If both players choose the same choice, it…
Write a C++ program that that reads 10 values from an input file “data.txt” and
Write a C++ program that that reads 10 values from an input file “data.txt” and store them in an array. Your program asks the user to enter a positive number ‘n’ and then shifts ‘…
Write a C++ program that use\'s a recursion function to issue instructions to so
Write a C++ program that use's a recursion function to issue instructions to solve the Towers of Hanoi puzzle and also write comments to explain how your code works and answer the…
Write a C++ program that use\'s a recursive function that writes out prime facto
Write a C++ program that use's a recursive function that writes out prime factorization of an input integer and comment to explain how the function works. Recursion is a programmi…
Write a C++ program that uses STACK to achieve the following: Complete the main
Write a C++ program that uses STACK to achieve the following: Complete the main program (below) and determine if the user has provided an expression with a balanced set of parenth…
Write a C++ program that uses a function named countNum2s that takes as input an
Write a C++ program that uses a function named countNum2s that takes as input an array of integers and an integer that specifies how many entries are in the array. The function sh…
Write a C++ program that uses a function to search a 2D vector of floats. The fu
Write a C++ program that uses a function to search a 2D vector of floats. The function will have 2 parameters: 1. A 2 dimensional vector of floats, v 2. The floating point number …
Write a C++ program that uses a header file. Write a class definition for a clas
Write a C++ program that uses a header file. Write a class definition for a class named Employee. It should include data members for a String type social security number, a String…
Write a C++ program that uses a single stack that will read postfix expressions
Write a C++ program that uses a single stack that will read postfix expressions and prints their values. Each input expression will be on its own line as shown in the postfix.txt …
Write a C++ program that uses a structure to store the following data for each s
Write a C++ program that uses a structure to store the following data for each student: Member Name Description ----------------------------------------------------------------…
Write a C++ program that uses a two dimensional array to store the highest and l
Write a C++ program that uses a two dimensional array to store the highest and lowest temperature for each month of the year. The program should output the average high, average l…
Write a C++ program that uses four functions. The first function should load an
Write a C++ program that uses four functions. The first function should load an array of 100 elements using a random number generator. You can use a range of your choosing. Unders…
Write a C++ program that uses genetic algorithms to solve sudoku puzzles. The pr
Write a C++ program that uses genetic algorithms to solve sudoku puzzles. The program must accept input files in the following format(.txt-notepad) when you initialize the board, …
Write a C++ program that uses genetic algorithms to solve sudoku puzzles. The pr
Write a C++ program that uses genetic algorithms to solve sudoku puzzles. The program must accept input files in the following format(.txt-notepad) when you initialize the board, …
Write a C++ program that uses genetic algorithms to solve sudoku puzzles. The pr
Write a C++ program that uses genetic algorithms to solve sudoku puzzles. The program must accept input files in the following format(.txt-notepad) when you initialize the board, …
Write a C++ program that uses genetic algorithms to solve sudoku puzzles. The pr
Write a C++ program that uses genetic algorithms to solve sudoku puzzles. The program must accept input files in the following format(.txt-notepad) when you initialize the board, …
Write a C++ program that uses genetic algorithms to solve sudoku puzzles. The pr
Write a C++ program that uses genetic algorithms to solve sudoku puzzles. The program must accept input files in the following format(.txt-notepad) when you initialize the board, …
Write a C++ program that uses looping structures and arrays to (1) Display your
Write a C++ program that uses looping structures and arrays to (1) Display your ID line on the console AND write it to the output file. (2) Read and display the contents of an inp…
Write a C++ program that uses the class SalariedEmployee. The program is to defi
Write a C++ program that uses the class SalariedEmployee. The program is to define a derived class called Administrator, which is to be deried from SalariedEmployee. You are to su…
Write a C++ program that uses the class SalariedEmployee. Your program is to def
Write a C++ program that uses the class SalariedEmployee. Your program is to define a derived class called Administrator, which is to be derived from SalariedEmployee. You are to …
Write a C++ program that uses the following two functions with comments on funct
Write a C++ program that uses the following two functions with comments on functions: T min (vector v) T max (vector v) that will accept a vector v that is passed to it and return…
Write a C++ program that uses the following two functions with comments on funct
Write a C++ program that uses the following two functions with comments on functions: T min (vector v) T max (vector v) that will accept a vector v that is passed to it and return…
Write a C++ program that uses the queue and stack containers to read string of c
Write a C++ program that uses the queue and stack containers to read string of characters, pushing each character onto a stack as it is read and simultaneously adding it to a queu…
Write a C++ program that uses user-defined functions to read three integer numbe
Write a C++ program that uses user-defined functions to read three integer numbers from the user, compute the summation, difference, and product of these numbers, and print the re…
Write a C++ program that utilizes functions and uses a structure to store the fo
Write a C++ program that utilizes functions and uses a structure to store the following data on a company division: Division Name (such as East, West, North, or South) First-Quart…
Write a C++ program that will Declare a struct stock a. Name b. Price on Day 1 c
Write a C++ program that will Declare a struct stock a. Name b. Price on Day 1 c. PriceonDay2 d. Percent change Ask the user to input how many stocks he’ll enter Input that number…
Write a C++ program that will Declare a struct stock a. Name b. Price on Day 1 c
Write a C++ program that will Declare a struct stock a. Name b. Price on Day 1 c. PriceonDay2 d. Percent change Ask the user to input how many stocks he’ll enter Input that number…
Write a C++ program that will add three matrices of any size from an input data
Write a C++ program that will add three matrices of any size from an input data file and write the result to an output data file. The input file should have the dimensions of the …
Write a C++ program that will add two or more binary numbers. These binary numbe
Write a C++ program that will add two or more binary numbers. These binary numbers appear as command-line arguments. The resulting sum is output to standard output (stdout). You m…
Write a C++ program that will allow a user to manage the inventory of a small st
Write a C++ program that will allow a user to manage the inventory of a small store that sells various products of any type. The inventory for the store will contain the following…
Write a C++ program that will allow a user to manage the inventory of a store (y
Write a C++ program that will allow a user to manage the inventory of a store (you may sell anything you want).The inventory for a small electronics store for example will contain…
Write a C++ program that will allow a user to manage the storage portion of a di
Write a C++ program that will allow a user to manage the storage portion of a digital music player. Also write a test driver (a main() function) that tests the functionality of yo…
Write a C++ program that will allow the user to manage the storage portion of a
Write a C++ program that will allow the user to manage the storage portion of a digital music player. The music player will store the following information about each song: • Song…
Write a C++ program that will announce the number of real roots of the equation
Write a C++ program that will announce the number of real roots of the equation for various user-provided values of a, b, and c, and then computes and announces the real roots (if…
Write a C++ program that will ask the user for the name of a data file. This dat
Write a C++ program that will ask the user for the name of a data file. This data file contains a list of students in some class. The names are listed, one per line, in the follow…