Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 1010 / 1333
Write a function that compares two stacks for equality. The function takes two s
Write a function that compares two stacks for equality. The function takes two stacks as parameters and returns true if they are identical. The stacks should remain unchanged afte…
Write a function that compares two stacks for equality. The function takes two s
Write a function that compares two stacks for equality. The function takes two stacks as parameters and returns true if they are identical. The stacks should remain unchanged afte…
Write a function that compares two stacks for equality. The function takes two s
Write a function that compares two stacks for equality. The function takes two stacks as parameters and returns true if they are identical. The stacks should remain unchanged afte…
Write a function that computes interest on a credit card account balance. The fu
Write a function that computes interest on a credit card account balance. The function takes arguments for the initial balance, the monthly interest rate, and the number of months…
Write a function that computes the M matrix for a given set of games. Note that
Write a function that computes the M matrix for a given set of games. Note that the paper refers to this matrix as the incidence matrix, but the more typical term for this mat ix …
Write a function that computes the equivalent resistance of a simple resistive c
Write a function that computes the equivalent resistance of a simple resistive circuit consisting of only series-connected or parallel- connected resistors. You function should ac…
Write a function that converts a heap into a balanced binary search tree. The he
Write a function that converts a heap into a balanced binary search tree. The heap is in array of integers and the binary search tree is created by following structure typedef str…
Write a function that converts a single English word to its pig Latin equivalent
Write a function that converts a single English word to its pig Latin equivalent. That function should have a header as follows: string convertToPigLatin (string inStr) Your progr…
Write a function that converts an input of some integer number of inches into ou
Write a function that converts an input of some integer number of inches into outputs of integer numbers of yards, feet, and inches. Do not write a main function. Your function d…
Write a function that converts an input of some integer number of nickels into o
Write a function that converts an input of some integer number of nickels into outputs of integer numbers of dollars, quarters, and nickels. Do not write a main function. Your fun…
Write a function that converts an input of some integer number of nickels into o
Write a function that converts an input of some integer number of nickels into outputs of integer numbers of dollars, quarters, and nickels. Do not write a main function. Your f…
Write a function that converts an input of some integer number of nickels into o
Write a function that converts an input of some integer number of nickels into outputs of integer numbers of dollars, quarters, and nickels. Do not write a main function. Your fun…
Write a function that converts an input of some integer number of nickels into o
Write a function that converts an input of some integer number of nickels into outputs of integer numbers of dollars, quarters, and nickels. Do not write a main function. Your fun…
Write a function that converts an input of some integer number of nickels into o
Write a function that converts an input of some integer number of nickels into outputs of integer numbers of dollars, quarters, and nickels. Do not write a main function. Your fun…
Write a function that converts an input of some integer number of nickels into o
Write a function that converts an input of some integer number of nickels into outputs of integer numbers of dollars, quarters, and nickels. Do not write a main function. Your fun…
Write a function that converts an input of some integer number of nickels into o
Write a function that converts an input of some integer number of nickels into outputs of integer numbers of dollars, quarters, and nickels. Do not write a main function. Your fun…
Write a function that converts an input of some integer number of ounces into ou
Write a function that converts an input of some integer number of ounces into outputs of integer numbers of quarts, pints, and ounces. Do not write a main function. Your function …
Write a function that converts an input of some integer number of ounces into ou
Write a function that converts an input of some integer number of ounces into outputs of integer numbers of quarts, pints, and ounces. Do not write a main function. Your function …
Write a function that copies a 1D array into a 2D array. void copy1DTo2D(int a[]
Write a function that copies a 1D array into a 2D array. void copy1DTo2D(int a[], int size, int b[][COLS], int n_rows, int n_cols, int& not_copied_or_not_filled); Write a func…
Write a function that count the number of vowels, the number of consonants and t
Write a function that count the number of vowels, the number of consonants and the average number of letters in each word. The function accept a C-String (char array) or a string …
Write a function that creates a GUI with push-buttons which allows the user to d
Write a function that creates a GUI with push-buttons which allows the user to display a specific true color image in four different ways: true color, red channel only, green chan…
Write a function that deletes a node from a singly-linked list holding integers.
Write a function that deletes a node from a singly-linked list holding integers. The function takes one parameter which is the integer of the node that's supposed to be deleted. P…
Write a function that deletes the n th element from a linked list. If the linked
Write a function that deletes the nth element from a linked list. If the linked list doesn't even have n nodes, don't delete any of them. The function signature is: node *deleteNt…
Write a function that dequeues a node from a singly linked list. Printing the de
Write a function that dequeues a node from a singly linked list. Printing the dequeued value and returning the modified head. node* Queue::dequeue() The function is a member of a …
Write a function that determines whether a string is a palindrome. ?? Same lette
Write a function that determines whether a string is a palindrome. ?? Same letters backward as forward. ?? Ignore characters that are not letters. Use pointers to compare characte…
Write a function that determines whether anumber is prime. Use this function in
Write a function that determines whether anumber is prime. Use this function in a program that determinesand prints all the prime numbers between 2 and 10,000. How many ofthese nu…
Write a function that displays a menu that allows the user to do the following:
Write a function that displays a menu that allows the user to do the following: Convert a temperature from Celsius to Fahrenheit using the formula F = 9/5 C + 32. Convert a temper…
Write a function that displays at the left margin of the screen a solid square o
Write a function that displays at the left margin of the screen a solid square of any character enter by user whose side is specified in integer parameter side. Input: Take side v…
Write a function that displays the following the menu Make a choice Solve a quad
Write a function that displays the following the menu Make a choice Solve a quadratic equation Find Factorial of a number Check whether the numbers form a pythagorean triplet Pres…
Write a function that dynamically allocates an array of integers. The function s
Write a function that dynamically allocates an array of integers. The function should accept an argument indicating the number of elements to allocate. Populate the array with 50 …
Write a function that dynamically allocates an array of integers. The function s
Write a function that dynamically allocates an array of integers. The function should accept an argument indicating the number of elements to allocate. Populate the array with 50 …
Write a function that enqueues a node in a circular queue. void Queue: enqueue(i
Write a function that enqueues a node in a circular queue. void Queue: enqueue(int value); If the queue is full print out "Queue Full" and return; The function is a member of a cl…
Write a function that evaluates the \"hotness\" level of water leaving a faucet.
Write a function that evaluates the "hotness" level of water leaving a faucet. Prior to exiting the faucet, cold and hot water are mixed together to adjust from 0 to 100%. The out…
Write a function that expects two parameters, one will be the amount of the dinn
Write a function that expects two parameters, one will be the amount of the dinner check(a float) and the other will be the percentage of tip expressed as an integer(I.e. 20 for 2…
Write a function that fills a dynamic, n x n array with integers from 1 to n x n
Write a function that fills a dynamic, n x n array with integers from 1 to n x n exactly. The array contains no duplicates. Use the array you created in problem 1 to create the ar…
Write a function that fills a dynamic, n x n array with integers from 1 to n x n
Write a function that fills a dynamic, n x n array with integers from 1 to n x n exactly. The array contains no duplicates. Use the array you created in problem 1 to create the ar…
Write a function that finds the kth largest number in a vector of n numbers. Wri
Write a function that finds the kth largest number in a vector of n numbers. Write functions similar to the build heap and heapify methods to find the kth largest number in the ve…
Write a function that finds the minimum value of an array of integers. Test your
Write a function that finds the minimum value of an array of integers. Test your function with two arrays and print the resulting minimums. // example output The minimum of {2, 6,…
Write a function that findsreturns the index of the maximum element in the array
Write a function that findsreturns the index of the maximum element in the array. int MaxIndex(int arr[], intsize) Use the above function toimplement selectionSort, i.e., void sel…
Write a function that given a list of emails, writes the emails to a file called
Write a function that given a list of emails, writes the emails to a file called "emails.csv" Add a header of your choosing to your file as the first line. Your file, emails.csv, …
Write a function that given a number determines if the number is near prime. To
Write a function that given a number determines if the number is near prime. To understand what is near prime let us first understand what a prime number is. A number is prime is …
Write a function that has a 2D array as a parameter(ie myfunction(int theArray[]
Write a function that has a 2D array as a parameter(ie myfunction(int theArray[][]) ). The function has to ask the user to enter each row of the array as well as store the value. …
Write a function that has three input arguments deposit, interest, and years. It
Write a function that has three input arguments deposit, interest, and years. It has one output variable balance. At the end of each year, the balance in the account is (1+interes…
Write a function that has two integer parameters and returns an integer that equ
Write a function that has two integer parameters and returns an integer that equals the argument that is smaller in absolute value. If the two arguments have the same absolute val…
Write a function that has two linked-list head pointers as parameters. Assume th
Write a function that has two linked-list head pointers as parameters. Assume that the linked lists items are ordered by the < operator. On each list, every item is less than t…
Write a function that has two parameters - an integer that is a test score and a
Write a function that has two parameters - an integer that is a test score and a second parameter that is the letter grade. Use the standard grading scale for A, B, C, D, F. If th…
Write a function that has two parameters: - an integer that is a test score - an
Write a function that has two parameters: - an integer that is a test score - and a second parameter that is the letter grade. The function will place a value in the second parame…
Write a function that implements Lagrange interpolation, with the following inpu
Write a function that implements Lagrange interpolation, with the following input/output. function y = Lagrange(data ptX, data ptY, x) end In the input bracket, where data X and d…
Write a function that inputs a hexadecimal value, computes the equivalent binary
Write a function that inputs a hexadecimal value, computes the equivalent binary number by the replacement method, and prints the equivalent binary number. (All numbers should be …
Write a function that inputs a positive decimal value and a base between 2 and 1
Write a function that inputs a positive decimal value and a base between 2 and 16 (inclusive) from the user, and prints the decimal number expressed in that base. I can't use the …