Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 1012 / 1333
Write a function that takes an array and its size as inputs, and then sorts the
Write a function that takes an array and its size as inputs, and then sorts the elements of the array in ascending order. For example, if the array contains the values (12, -3, 5,…
Write a function that takes an array as an input, and returns an array as an out
Write a function that takes an array as an input, and returns an array as an output. Your function should check to make sure that the array has more than one element. If it does n…
Write a function that takes an array of integers and its size as parameters and
Write a function that takes an array of integers and its size as parameters and changes all the duplicate values to -1. As the sample below shows, the first occurrence of each val…
Write a function that takes an array of integers, its size and the key as parame
Write a function that takes an array of integers, its size and the key as parameters and prints the indices of the first and last occurrences of the key. The function also prints …
Write a function that takes an integer value and returns the number with its dig
Write a function that takes an integer value and returns the number with its digits reversed. For example, given the number 7631, the function should return 1367. see the template…
Write a function that takes as input the same input parameters as isValidMove()
Write a function that takes as input the same input parameters as isValidMove() and returns a "1* if it is a valid jump move (30pts). The function prototype is as follows: int isV…
Write a function that takes as input two arrays of type Double say A and B of th
Write a function that takes as input two arrays of type Double say A and B of the same size. The function will find all the min values in A and save their indices in B in that ord…
Write a function that takes as parameter a character array, which may contains l
Write a function that takes as parameter a character array, which may contains lowercase, uppercase, digits, and other special symbols (e.g, *, $, ...), and outputs the number of …
Write a function that takes as parameter a character array, which may contains l
Write a function that takes as parameter a character array, which may contains lowercase, uppercase, digits, and other special symbols (e.g, *, $, ...), and outputs the number of …
Write a function that takes as parameters two vectors of strings, the first popu
Write a function that takes as parameters two vectors of strings, the first populated, the second being initially empty. In the first parameter, some elements of the vector will b…
Write a function that takes five inputs: a minimum x value, a maximum x value, a
Write a function that takes five inputs: a minimum x value, a maximum x value, and three frequencies. It should not return any outputs. Instead, it should create a plot the sine f…
Write a function that takes in a c++ string of pig latin. This function should f
Write a function that takes in a c++ string of pig latin. This function should first calculate how many “words” are in the sentence (words being substrings separated by whitespace…
Write a function that takes in a list of integers and returns a list containing
Write a function that takes in a list of integers and returns a list containing either all the odd numbers or all the even numbers in the list. The function should have two parame…
Write a function that takes in a list of integers and returns a list containing
Write a function that takes in a list of integers and returns a list containing either all the odd numbers or all the even numbers in the list. The function should have two parame…
Write a function that takes in a number, n. as an input and has one output, an a
Write a function that takes in a number, n. as an input and has one output, an array of length n that alternates 1's and 0's. If the length of the array is odd, start the array wi…
Write a function that takes in three parameters: The function should go through
Write a function that takes in three parameters: The function should go through the array one element at a time,checking each element to see if it's the search key. The functionsh…
Write a function that takes inputs int a, int b, and int c, and double: returns
Write a function that takes inputs int a, int b, and int c, and double: returns the value of ax^2 + bx + c. (Think of the most appropriate return data type.) Then the main functio…
Write a function that takes inputs of a number of quarters, dimes, and nickels (
Write a function that takes inputs of a number of quarters, dimes, and nickels (whole numbers), then calculates and returns an output of the value of the total amount of money in …
Write a function that takes inputs of a number of quarters, dimes, and nickels (
Write a function that takes inputs of a number of quarters, dimes, and nickels (whole numbers), then calculates and returns an output of the value of the total amount of money in …
Write a function that takes inputs of a number of quarters, dimes, and nickels (
Write a function that takes inputs of a number of quarters, dimes, and nickels (whole numbers), then calculates and returns an output of the value of the total amount of money in …
Write a function that takes inputs of a number of quarters, dimes, and nickels (
Write a function that takes inputs of a number of quarters, dimes, and nickels (whole numbers), then calculates and returns an output of the value of the total amount of money in …
Write a function that takes inputs of a number of quarters, dimes, and nickels (
Write a function that takes inputs of a number of quarters, dimes, and nickels (whole numbers), then calculates and returns an output of the value of the total amount of money in …
Write a function that takes inputs of a number of quarters, dimes, and nickels (
Write a function that takes inputs of a number of quarters, dimes, and nickels (whole numbers), then calculates and returns an output of the value of the total amount of money in …
Write a function that takes one argument, a positive integer n. The function the
Write a function that takes one argument, a positive integer n. The function then generates and returns the Collatz sequence starting at n (and ending at 1). The Collatz sequence …
Write a function that takes one parameter that represents an id and changes the
Write a function that takes one parameter that represents an id and changes the element with that id to have the text change to 24 point in size. (JavaScript) <script> </…
Write a function that takes temperature in Fahrenheit (T) and wind speed in mile
Write a function that takes temperature in Fahrenheit (T) and wind speed in miles per hour (W) and returns a wind chill factor WCF 35.7 0.6T -35.7w016 + 0.43TW0.16 Write a functio…
Write a function that takes the coefficients of the quadratic equation and retur
Write a function that takes the coefficients of the quadratic equation and returns the real roots if exist. Write a function that takes the coefficients of the quadratic equation …
Write a function that takes the loan terms as input and prints the monthly payme
Write a function that takes the loan terms as input and prints the monthly payment and the information shown below. Below is the header of the function and the output for our exam…
Write a function that takes three inputs: a, b and c of the standard polynomial
Write a function that takes three inputs: a, b and c of the standard polynomial form ax^2 + bx + c = 0 And returns two outputs, the two solutions of the quadratic equation. You ne…
Write a function that takes three random integers and prints out their sum, prod
Write a function that takes three random integers and prints out their sum, product, average, maximum, and minimum values. Create a prompt asking the user to input the range the r…
Write a function that takes three strings as input, redFile, greenFile and blueF
Write a function that takes three strings as input, redFile, greenFile and blueFile, and returns a single output, compImg, an m times n times 3 unit 8 as an output. It should do t…
Write a function that takes three strings as input, redFile, greenFile and blueF
Write a function that takes three strings as input, redFile, greenFile and blueFile, and returns a single output, compImg, an m times n times 3 unit 8 as an output. It should do t…
Write a function that takes three strings as input, redFile, greenFile and blueF
Write a function that takes three strings as input, redFile, greenFile and blueFile, and returns a single output, compImg, an m times n times 3 uint8 as an output. It should do th…
Write a function that takes two arrays and their size as inputs, and calculates
Write a function that takes two arrays and their size as inputs, and calculates their inner product (note that both arrays must have the same size so only one argument is needed t…
Write a function that takes two arrays and their size as inputs, and calculates
Write a function that takes two arrays and their size as inputs, and calculates their inner product (note that both arrays must have the same size so only one argument is needed t…
Write a function that takes two pointers to char and copies the content of one a
Write a function that takes two pointers to char and copies the content of one array in reverse order into the other and returns the number of charaters in data1. The function sho…
Write a function that takes two string as inputs and returns the number of occur
Write a function that takes two string as inputs and returns the number of occurrences of the permutations of the second string in the first string. The function should also be CA…
Write a function that takes two strings as arguments. The function should return
Write a function that takes two strings as arguments. The function should return the number of times the second argument appears in the first. Write a function that takes a list a…
Write a function that takes, as an argument, a list, and an integer, n. If the i
Write a function that takes, as an argument, a list, and an integer, n. If the integer is negative, the function should return a list containing two lists: the original list AND a…
Write a function that takes, as an argument, a list, identified by the variable
Write a function that takes, as an argument, a list, identified by the variable aList. If the list only contains elements containing digits (either as strings as integers), return…
Write a function that tests whether a binary tree is a binary . c++ Note: in a b
Write a function that tests whether a binary tree is a binary . c++ Note: in a binary search tree, for each node, the values of all nodes in the right subtree are greater than the…
Write a function that uses Euclid\'s algorithm to calculate the greate common di
Write a function that uses Euclid's algorithm to calculate the greate common divisor of its two integer arguments where both arguments are positive and the first argument should b…
Write a function that uses string key to produce and return a list of integer sh
Write a function that uses string key to produce and return a list of integer shifts, keyShift, based on the index of key's characters within shufAlph. To do this, you will need t…
Write a function that verifies if a given number exists in an array of floats. T
Write a function that verifies if a given number exists in an array of floats. The function is supposed to return the first position in which the number is encountered. If the giv…
Write a function that will calculate either the area of a square or the volume o
Write a function that will calculate either the area of a square or the volume of a cube based on the parameters passed to it. If only length and width are passed, the height shou…
Write a function that will calculate either the area of a square or the volume o
Write a function that will calculate either the area of a square or the volume of a cube based on the parameters passed to it. If only length and width are passed, the height shou…
Write a function that will calculate the either the area of a square or the volu
Write a function that will calculate the either the area of a square or the volume of a cube based on the parameters passed to it. If only length and width are passed, the height …
Write a function that will compute the average of a specific grade type. This fu
Write a function that will compute the average of a specific grade type. This function will have five parameters passed by value and return the average. Array of scores Array of g…
Write a function that will copy an arbitrary range of one array of integers into
Write a function that will copy an arbitrary range of one array of integers into another array. Your procedure will 1. The source array of integers 2: The length of the source arr…
Write a function that will generate a single sinusoid, x(t) = Acos(2p i f t + ph
Write a function that will generate a single sinusoid, x(t) = Acos(2p i f t + phi), by using input arguments for frequency (f) in Hz (freq), complex amplitude X = Ae^j phi(camp), …