Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 1002 / 1333
Write a function called \"odd\" that takes a linked list and returns the odd-num
Write a function called "odd" that takes a linked list and returns the odd-numbered elements. Actually, write two functions called "odd" and "even". odd(L) returns a list of the 1…
Write a function called \"odd\" that takes a linked list and returns the odd-num
Write a function called "odd" that takes a linked list and returns the odd-numbered elements. Actually, write two functions called "odd" and "even". odd(L) returns a list of the 1…
Write a function called \"passingAverage\" using function expression notation wi
Write a function called "passingAverage" using function expression notation with the following parameters & return value: Parameters: This function takes an unknown number of …
Write a function called \'findHighest() \' that will find and return the highest
Write a function called 'findHighest() ' that will find and return the highest grade in the list called 'grades' in the following program. You can assume that the list has already…
Write a function called `is_valid_isbn(astring)` that takes the string entitled
Write a function called `is_valid_isbn(astring)` that takes the string entitled “astring” and returns the Boolean result of checking if astring is a valid ISBN (International Stan…
Write a function called add. The function should be passed two parameters. I wil
Write a function called add. The function should be passed two parameters. I will leave it to you to decide the types of these parameters. The function's return type should be voi…
Write a function called approxiinatelntegral that uses a loop to compute a numer
Write a function called approxiinatelntegral that uses a loop to compute a numerical approximation that adaptively changes Ax to smaller and smaller step sizes, until the approxim…
Write a function called area_000 which will find the area in acres and the perim
Write a function called area_000 which will find the area in acres and the perimeter in feet of a plot of land, given the x-y coordinates for points P1, P2, P3, P4, comprising the…
Write a function called assert_within_tolerance() which has three float paramete
Write a function called assert_within_tolerance() which has three float parameters. The function assert_within_tolerance () returns True if the first two parameters are close in v…
Write a function called average1 that takes two integers as parameters and print
Write a function called average1 that takes two integers as parameters and prints their average. Write another function called average2 that takes two integers as parameters and r…
Write a function called bodyMass Index that expects no parameters, asks the user
Write a function called bodyMass Index that expects no parameters, asks the user for information needed to compute a subject's body mass index, then prints the body mass index alo…
Write a function called bubble_sort() that accepts an array of pointers to strin
Write a function called bubble_sort() that accepts an array of pointers to strings and the number of strings as arguments, and returns nothing. The function sorts the strings acco…
Write a function called bubble_sort() that accepts an array of pointers to strin
Write a function called bubble_sort() that accepts an array of pointers to strings and the number of strings as arguments, and returns nothing. The function sorts the strings acco…
Write a function called calcSum that will calculate and return the sum of a spec
Write a function called calcSum that will calculate and return the sum of a specific number of values in an array of integers. The function takes two arguments: an array of intege…
Write a function called card namer that takes two single character strings, repr
Write a function called card namer that takes two single character strings, representing the value and suit of a card following the shorthand below, and returns the full name of t…
Write a function called centuries that takes a positive integer smaller than or
Write a function called centuries that takes a positive integer smaller than or equal to 3000 representing a year as its input and returns a char vector with the century the given…
Write a function called checkFactor that takes two arrays of positive numbers, f
Write a function called checkFactor that takes two arrays of positive numbers, firstNumberRow and secondNumberRow. checkFactor checks if the first entry in firstNumberRow is divis…
Write a function called class Average that takes in an array of numbers and, aft
Write a function called class Average that takes in an array of numbers and, after normalizing the grades in such a way that the highest corresponds to 100, returns the letter gra…
Write a function called column_summer that flexibly works with 2-D arrays. Its p
Write a function called column_summer that flexibly works with 2-D arrays. Its purpose is to sum any desired column in a passed array. Four parameters are passed to the function: …
Write a function called combineArray that takes three arrays (a, b,and c) of int
Write a function called combineArray that takes three arrays (a, b,and c) of int values as its arguments (parameters). Thefunction goes through the first two arrays element by ele…
Write a function called copy Stack to copy the elements of an integer type stack
Write a function called copy Stack to copy the elements of an integer type stack, s1, into another stack, s2, where both s1 and s2 are reference parameters, and s2 is initially em…
Write a function called countElements that counts the number of times two elemen
Write a function called countElements that counts the number of times two elements appear in a list. Your task is to ask the user to enter a list and two elements which they need …
Write a function called countElements that counts the number of times two elemen
Write a function called countElements that counts the number of times two elements appear in a list. Your task is to ask the user to enter a list and two elements which they need …
Write a function called createList that will create and fill a list of any size
Write a function called createList that will create and fill a list of any size with random numbers in the range of 1 - 100. This function should take the size of the list as a pa…
Write a function called createList that will fill, create, and return a 10 x 10
Write a function called createList that will fill, create, and return a 10 x 10 2d list (list of lists) with random numbers in the range of 1 to 100. This function should take as …
Write a function called deleteRepeats that has a partially filled array of chara
Write a function called deleteRepeats that has a partially filled array of characters as a formal parameter and that deletes all repeated letters from the array. Since a partially…
Write a function called deleteRepeats that has a partially filled array of chara
Write a function called deleteRepeats that has a partially filled array of characters as a formal parameter and that deletes all repeated letters from the array. Since a partially…
Write a function called deleteRepeats that has a partially filled array of chara
Write a function called deleteRepeats that has a partially filled array of characters as a formal parameter and that deletes all repeated letters from the array. Since a partially…
Write a function called delete_repeats that has a partially filled array of char
Write a function called delete_repeats that has a partially filled array of characters as a formal parameter and that deletes all repeated letters from the array. Since a partiall…
Write a function called delete_repeats that has a partially filled characters as
Write a function called delete_repeats that has a partially filled characters as a formal parameter and that deletes all repeated letters Q array. Since a partially filled array r…
Write a function called delete_repeats that has a partially filledarray of chara
Write a function called delete_repeats that has a partially filledarray of characters as a formal parameter and that deletes allrepeated letters from the array. Since a partially …
Write a function called delete_repeatss that has a partially filled array of cha
Write a function called delete_repeatss that has a partially filled array of characters as a formal parameter and that deletes all repeated letters from the array . Since a partia…
Write a function called dieRoll that takes a single argument, an integer (>0) nu
Write a function called dieRoll that takes a single argument, an integer (>0) number of times to roll a die. The function uses randi to randomly generate integers representing …
Write a function called drawSquare that has two parameters and a void return typ
Write a function called drawSquare that has two parameters and a void return type. The function's first parameter is an int value that specifies the dimension of the square (in as…
Write a function called evaluate_postfix(), with the following signature: int ev
Write a function called evaluate_postfix(), with the following signature: int evaluate_postfix(string sExp) This function takes a postfix notation string as input parameter (sExp)…
Write a function called exp_average that computes the “exponentially weighted mo
Write a function called exp_average that computes the “exponentially weighted moving average,” or “exponential average” for short, of a sequence of scalars. The input sequence is …
Write a function called fare that computes the bus fare one must pay in a given
Write a function called fare that computes the bus fare one must pay in a given city based on the distance travelled. Here is how the fare is calculated: the first mile is $2. Eac…
Write a function called fence that takes two scalar inputs: lng, the length of a
Write a function called fence that takes two scalar inputs: lng, the length of a straight fence we need to build and seg, the length of one segment of fencing material. A segment …
Write a function called filter_even_string that takes one parameter: a list and
Write a function called filter_even_string that takes one parameter: a list and returns a list of all strings of even length in the original list. You may NOT assume that everythi…
Write a function called findMax that prints the maximum value in a linked list.
Write a function called findMax that prints the maximum value in a linked list. To achieve this you will have to rely on the struct Node and class LinkedList defined below struct …
Write a function called find_dups that takes a list of integers as its input arg
Write a function called find_dups that takes a list of integers as its input argument and returns a list of those integers that occur two or more times in the list.
Write a function called find_min_max() that accepts an array of doubles and the
Write a function called find_min_max() that accepts an array of doubles and the number of items in the array as input parameters, and returns the minimum and maximum values in the…
Write a function called getCustomerInfo that reads from the keyboard the account
Write a function called getCustomerInfo that reads from the keyboard the account number, the date of sale (month, day, and year as 3 integers), the county code ('S' for San Diego …
Write a function called getCylinderVolume to return the volume of one cylinder.
Write a function called getCylinderVolume to return the volume of one cylinder. This function has two parameters to specify the cylinder's radius and height. Requirement: The valu…
Write a function called get_sentence() that gets the initial input string/senten
Write a function called get_sentence() that gets the initial input string/sentence. Create a string object to read the string from the user, #include . Since, a user can enter a s…
Write a function called getstring() that accepts a prompt stored as a string (pa
Write a function called getstring() that accepts a prompt stored as a string (passed by reference into the function), prints that prompt to the screen, gets a string from the user…
Write a function called h mean that takes as input the data set or vector x and
Write a function called h mean that takes as input the data set or vector x and returns the harmonic mean value as the output. Your code should be vectorized using MATLAB’s built-…
Write a function called howManyWordsAndSentences that takes in a string. Your fu
Write a function called howManyWordsAndSentences that takes in a string. Your function should return a dictionary where the keys are the order position of each SENTENCE (you may a…
Write a function called input_tuple that reads from the terminal a sequence of o
Write a function called input_tuple that reads from the terminal a sequence of objects with types provided by a tuple given as parameter and that returns the sequence of objects r…
Write a function called integerize that takes as its input a matrix A of integer
Write a function called integerize that takes as its input a matrix A of integers of type double, and returns the name of the “smallest” signed integer class to which A can be con…