Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 1016 / 1333
Write a function with three parameters. The first parameter is a head pointer fo
Write a function with three parameters. The first parameter is a head pointer for a linked list of items, and the next two parameters are x and y. The function should write to the…
Write a function with two inputs: a vector and a scalar; and outputs a vector of
Write a function with two inputs: a vector and a scalar; and outputs a vector of the same size as the input vector. Depending on the value of the scalar, different operations are …
Write a function written in Java and constructs a control flow graph (with a min
Write a function written in Java and constructs a control flow graph (with a minimum or reduced number of nodes) of the input java code. The function must handle at least the fol…
Write a function “void loadPeople(char fileName[],Person people[],int * length)”
Write a function “void loadPeople(char fileName[],Person people[],int * length)” that reads a file with the format described below. “fileName” is the name of the file. “people” is…
Write a function(incrementList 1st) that adds 1 to each element of a list ofnumb
Write a function(incrementList 1st) that adds 1 to each element of a list ofnumbers. Example: (incrementList ' (5 10 17) ) = (6 11 18) (incrementList ' (-5 7) ) = (-4 8) (incr…
Write a function, addTag(s, tag) that takes a string, s, and another string, tag
Write a function, addTag(s, tag) that takes a string, s, and another string, tag, and returns a new string the surrounds the string s with an html style tag. An HTML tag consists …
Write a function, call it mySine that calculates the value of sine by using the
Write a function, call it mySine that calculates the value of sine by using the Maclaurin series to a specific number of significant figures of accuracy, n. Estimate the accuracy …
Write a function, called ToPigLatin, which is described below: 1-This function r
Write a function, called ToPigLatin, which is described below: 1-This function receives a string object (word) as a parameter, passed by const reference (so that the original won'…
Write a function, called ToPigLatin, which is described below: 1-This function r
Write a function, called ToPigLatin, which is described below: 1-This function receives a string object (word) as a parameter, passed by const reference (so that the original won'…
Write a function, called congress(). that takes two formal parameters: a person\
Write a function, called congress(). that takes two formal parameters: a person's age (int) and years of citizenship (int) as input and returns their eligibility for the Senate an…
Write a function, called dots, that prints a number of dots to the console using
Write a function, called dots, that prints a number of dots to the console using a for loop that counts down. The number of dots to print should be passed as an input parameter in…
Write a function, called update_dictionary that has two parameters: a filename a
Write a function, called update_dictionary that has two parameters: a filename and a dictionary. The function should: 1. Open the given file 1. If the file open succeeds print "fi…
Write a function, changename, which takes a filename as input and produces a fil
Write a function, changename, which takes a filename as input and produces a filename with a different extension as output in a second string. That is, the input filename string i…
Write a function, contains(x,y), which determines if x appears anywhere within y
Write a function, contains(x,y), which determines if x appears anywhere within y. If they are of the same size, then x and y must be equivalent. Otherwise, x may start at any plac…
Write a function, contains(x,y), which determines if x appears anywhere within y
Write a function, contains(x,y), which determines if x appears anywhere within y. If they are of the same size, then x and y must be equivalent. Otherwise, x may start at any plac…
Write a function, contains(x,y), which determines if x appears anywhere within y
Write a function, contains(x,y), which determines if x appears anywhere within y. If they are of the same size, then x and y must be equivalent. Otherwise, x may start at any plac…
Write a function, contains(x,y), which determines if x appears anywhere within y
Write a function, contains(x,y), which determines if x appears anywhere within y. If they are of the same size, then x and y must be equivalent. Otherwise, x may start at any plac…
Write a function, firstCount() which takes a file and uses a dictionary to track
Write a function, firstCount() which takes a file and uses a dictionary to track, for each letter in the alphabet, the number of times a word occurs that begins with that letter. …
Write a function, float pos_power(float base, int exponent); which returns the v
Write a function, float pos_power(float base, int exponent); which returns the value of base raised to a positive exponent. For example, if base is 2.0 and exponent is 3, the func…
Write a function, named SoccerPoints. which takes as argument a vector of game r
Write a function, named SoccerPoints. which takes as argument a vector of game results, where I indicates a win. 0 indicates a tic, and - 1 indicates a loss. The function should t…
Write a function, named Three, which takes an argument a 3x3 matrix of integers
Write a function, named Three, which takes an argument a 3x3 matrix of integers and returns 1 iff the matrix has a row, a column, or a diagonal that has the same integer value in …
Write a function, named Three, which takes an argument a 3x3 matrix of integers
Write a function, named Three, which takes an argument a 3x3 matrix of integers and returns 1 iff the matrix has a row, a column, or a diagonal that has the same integer value in …
Write a function, named avg, that receives an array of integer values and return
Write a function, named avg, that receives an array of integer values and returns the average of those values in that array. Since this function is computing the average, it shoul…
Write a function, named sums(), that has two input parameters; an array, called
Write a function, named sums(), that has two input parameters; an array, called Input of floats; and an integer which is the number of values stored in the array. Compute the sum …
Write a function, named swap, to swap two rows in a matrix. You will pass the ma
Write a function, named swap, to swap two rows in a matrix. You will pass the matrix and two row numbers to exchange. Write a function that takes a matrix, a row number and a scal…
Write a function, perfect bazinga), that takes in a integer num and returns a fu
Write a function, perfect bazinga), that takes in a integer num and returns a function that takes in a number top of _range which will return a list of all integers from O, top_of…
Write a function, playDealer.m, that takes as an input argument a vector contain
Write a function, playDealer.m, that takes as an input argument a vector containing a valid Blackjack hand for the dealer, and returns a vector of the completed hand for the deale…
Write a function, removeAt, that takes three parameters: an array of integers, t
Write a function, removeAt, that takes three parameters: an array of integers, the number of elements in the array, and an integer (say, index). The function should delete the arr…
Write a function, removeAt, that takes three parameters: an array of integers, t
Write a function, removeAt, that takes three parameters: an array of integers, the number of elements in the array, and an integer (say, index). The function should delete the arr…
Write a function, removeAt, that takes three parameters: an array of integers, t
Write a function, removeAt, that takes three parameters: an array of integers, the number of elements in the array, and an integer (say, index). The function should delete the arr…
Write a function, repeat_letters_in_each_word_in(sentence), which takes a Senten
Write a function, repeat_letters_in_each_word_in(sentence), which takes a Sentence of words consisting entirely of letter separated by a single space and ending with a period, and…
Write a function, reverseDigit , that takes an integer as a parameter and return
Write a function, reverseDigit , that takes an integer as a parameter and returns the number with its digits reversed. For example, the value of reverseDigit(12345) is 54321 the v…
Write a function, sortedSales(ifile) which takes the OfficeSupplies.csv file and
Write a function, sortedSales(ifile) which takes the OfficeSupplies.csv file and uses a dictionar... Write a function, sortedSales(ifile) which takes the OfficeSupplies.csv file a…
Write a function, substr_count , that counts the occurrences of the subString “c
Write a function, substr_count, that counts the occurrences of the subString “class” in an input string, srcString. #include <stdio.h> #include <string.h> //YOU CAN US…
Write a function, substr_count, that counts the occurrences of the subString \"c
Write a function, substr_count, that counts the occurrences of the subString "cpre288" in an input string, srcString. #include #include//YOU CAN USESTRING LIBRARY Functions here//…
Write a function, swapSubtrees, that swaps all of the left and right subtrees of
Write a function, swapSubtrees, that swaps all of the left and right subtrees of a binary tree. Add this function to the class binaryTreeType and create a program to test this fun…
Write a function, swapSubtrees, that swaps all of the left and right subtrees of
Write a function, swapSubtrees, that swaps all of the left and right subtrees of a binary tree. Add this function to the class binaryTreeType and create a program to test this fun…
Write a function, swapSubtrees, that swaps all of the left and right subtrees of
Write a function, swapSubtrees, that swaps all of the left and right subtrees of a binary tree. Add this function to the class binaryTreeType and create a program to test this fun…
Write a function, swapSubtrees, that swaps all of the left and right subtrees of
Write a function, swapSubtrees, that swaps all of the left and right subtrees of a binary tree. Add this function to the class binaryTreeType and create a program to test this fun…
Write a function, swapSubtrees, that swaps all of the left and right subtrees of
Write a function, swapSubtrees, that swaps all of the left and right subtrees of a binary tree. Add this function to the class binaryTreeType and create a program to test this fun…
Write a function, swapSubtrees, that swaps all of the left and right subtrees of
Write a function, swapSubtrees, that swaps all of the left and right subtrees of a binary tree. Add this function to the class binaryTreeType and create a program to test this fun…
Write a function, swapSubtrees, that swaps all of the left and right subtrees of
Write a function, swapSubtrees, that swaps all of the left and right subtrees of a binary tree for postorder, preorder and inorder. Add this function to the class binaryTreeType a…
Write a function, together with an appropriate test program (function or script)
Write a function, together with an appropriate test program (function or script), which will take a string as input and additional arguments which specify the changes to be made t…
Write a function, valueOfNames(listOfNames), which Computes and returns the valu
Write a function, valueOfNames(listOfNames), which Computes and returns the value of your full name. Make sure you do this for YOUR full name. listOfNames is a list of each of you…
Write a function, which takes an array and two other paramters of int type, that
Write a function, which takes an array and two other paramters of int type, that can move the previous (n-m) elements in a n-element array towards the end in sequence, and the las…
Write a function. This function takes a node that is a root of a tree, traverses
Write a function. This function takes a node that is a root of a tree, traverses the tree and returns the number of leaves in the tree. Write a function int countLeaves (Node node…
Write a function: void introduction(istream &is, ostream &os, string target, str
Write a function: void introduction(istream &is, ostream &os, string target, stringreplacement); That provides instructions for the user. Note that a user who has played t…
Write a function: void introduction(istream &is, ostream &os, string target, str
Write a function: void introduction(istream &is, ostream &os, string target, string replacement); That provides instructions for the user. Note that a user who has played …
Write a function: which is given a month and year and returns the number of days
Write a function: which is given a month and year and returns the number of days in that month. You should use your is_leap() function as needed to determine the number of days in…
Write a game Program in C++ called \"Word Laddar\". For example, we can go from
Write a game Program in C++ called "Word Laddar". For example, we can go from HATE to LOVE in four steps, HATE - LATE -LAVE - LOVE, ext... Each intermediate word must exist in the…