Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Browse W

Alphabetical listing with fast deep pagination.
66619 items • Page 1014 / 1333

All 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Write a function to flatten a list. The list contains other lists, strings, or i
Write a function to flatten a list. The list contains other lists, strings, or ints. For example, [[i, ' a', ['cat'], 2], [[[3]], 'dog'], 4, 5] is flattened into [i, 'a', 'cat', 2…
Write a function to have a user enter some number of integers into an array. The
Write a function to have a user enter some number of integers into an array. The integer values must be between -100 and +100 inclusive (+100 and -100 should be accepted as valid …
Write a function to have a user enter some number of integers into an array. The
Write a function to have a user enter some number of integers into an array. The integer values must be between -100 and +100 inclusive (+100 and -100 should be accepted as valid …
Write a function to have a user enter some number of integers into an array. The
Write a function to have a user enter some number of integers into an array. The integer values must be between -100 and +100 inclusive (+100 and -100 should be accepted as valid …
Write a function to have a user enter some number of integers into an array. The
Write a function to have a user enter some number of integers into an array. The integer values must be between -100 and +100 inclusive (+100 and -100 should be accepted as valid …
Write a function to have a user enter some number of integers into an array. The
Write a function to have a user enter some number of integers into an array. The integer values must be between -100 and +100 inclusive (+100 and -100 should be accepted as valid …
Write a function to implement a letter substitution algorithm. Use the following
Write a function to implement a letter substitution algorithm. Use the following prototype for your function: char *substitute( char *input, char *key, char *value ); Where input,…
Write a function to implement regularization based training procedure for 1D reg
Write a function to implement regularization based training procedure for 1D regression. The function should have the following form: function a = mytrain(train_x, train_y,n, lamb…
Write a function to included in s short linked class called delete At position t
Write a function to included in s short linked class called delete At position that will receive an int parameter and delete a node at the position specified by the parameter of t…
Write a function to input a sound, then create a canvas sound of the same length
Write a function to input a sound, then create a canvas sound of the same length. Copy samples from the input into the canvas every third position, i.e., copy from index 0 in the …
Write a function to insert a given item before a specified node known as key nod
Write a function to insert a given item before a specified node known as key node
Write a function to insert a value into an array of 5 integers. The function sho
Write a function to insert a value into an array of 5 integers. The function should have a function header like: void arrayInsert(int theValue, int theOffset, int theArray[], int …
Write a function to merge two sorted arrays. (in the comments below, @pre refers
Write a function to merge two sorted arrays. (in the comments below, @pre refers to a condition true to thefunction call, whereas @post refers to a condition true immediatelyfollo…
Write a function to multiply integers i and j using int pointers as input. Write
Write a function to multiply integers i and j using int pointers as input. Write a function that returns the positive of the largest element of a global integer array a of length …
Write a function to multiply integers i and j using int pointers as input. Write
Write a function to multiply integers i and j using int pointers as input. Write a function that returns the positive of the largest element of a global integer array a of length …
Write a function to multiply two matrices a and b and save the result in c. The
Write a function to multiply two matrices a and b and save the result in c. The header for the function is const int N = 3; void multiplyMatrix(const double a[][N], const double b…
Write a function to perform binary shift right operation . Your function will ac
Write a function to perform binary shift right operation . Your function will accept a binary vector (a sequence of 0s and 1s), and will shift the digits in your binary vector one…
Write a function to print the contents of a map from string to ints, with one li
Write a function to print the contents of a map from string to ints, with one line for each entry formatted as follows: (C++) Key1: value1 Key2: value2 ... Void printMap(const map…
Write a function to read a sequence of character digits and convert it to decima
Write a function to read a sequence of character digits and convert it to decimal (i.e; integer) and return the value to main program and print it! For example, look at the printf…
Write a function to read in numbers and put them into thearray. #include
Write a function to read in numbers and put them into thearray. #include <iostream> using namespace std; int Function1(double []); void PrintArray(const double [], int); con…
Write a function to read the list of email addresses from a file. Each line of t
Write a function to read the list of email addresses from a file. Each line of the file contains a single email address with user and host separated by an at sign('@') character. …
Write a function to read the list of email addresses from a file. Each line of t
Write a function to read the list of email addresses from a file. Each line of the file contains a single email address with user and host separated by an at sign('@') character T…
Write a function to read the list of email addresses from a file. Each line of t
Write a function to read the list of email addresses from a file. Each line of the file contains a single email address with user and host separated by an at sign('@') character. …
Write a function to read/display/process the state historic economic data. A sam
Write a function to read/display/process the state historic economic data. A sample data is attached. The format of the data is: The 1st line contains the state name, for example,…
Write a function to read/display/process the state historic economic data. A sam
Write a function to read/display/process the state historic economic data. A sample data is attached. The format of the data is: The 1st line contains the state name, for example,…
Write a function to return the value at nth position in a linked list. Start ind
Write a function to return the value at nth position in a linked list. Start indexing at zero. The function takes two arguments: the linked list head and the position to search fo…
Write a function to reverse the order of an input vector using a for-loop. There
Write a function to reverse the order of an input vector using a for-loop. There are at least two ways to do this. You will learn both: Out of place solution a. Within the body of…
Write a function to update the address of a person by using call be reference fu
Write a function to update the address of a person by using call be reference function. Initialize the values of Name (user name), st_num (street number), st_name (street name),Ci…
Write a function total_numbers(number_list,weights) that takes a list of numbers
Write a function total_numbers(number_list,weights) that takes a list of numbers and their weights and returns the weighted total of the numbers. Think about what needs to happen …
Write a function vector sum that has two arguments: vector1 and vector2 that are
Write a function vector sum that has two arguments: vector1 and vector2 that are lists of numbers. If vector1 and vector2 have different lengths, the function should return the nu…
Write a function void bar_chart(double values[], int size) that displays a bar c
Write a function void bar_chart(double values[], int size) that displays a bar chart of the values in values, using asterisks, like this: ********************** ******************…
Write a function void btoh(unsigned char byte, char digit1, char digit0) that co
Write a function void btoh(unsigned char byte, char digit1, char digit0) that converts an unsigned char argument into 2 hexadecimal digits and prints the hex digits as ASCII chara…
Write a function void print_int_list that is given a single argument that is a p
Write a function void print_int_list that is given a single argument that is a pointer to a struct int_node. The function should print the values in the linked of integers indicat…
Write a function void print_int_vector(int *ptr, int length) that prints the val
Write a function void print_int_vector(int *ptr, int length) that prints the values in the vector of integers indicated by ptr of length length to the standard output. A vector is…
Write a function void rbbalance(Tree* t,TreeNode* n) which take the Tree and Tre
Write a function void rbbalance(Tree* t,TreeNode* n) which take the Tree and Tree node as arguments and balance the tree. For pseudocode on rbbalance refer the writeup. The struct…
Write a function void sort(int* numbers, int n) to sort a given array of n integ
Write a function void sort(int* numbers, int n) to sort a given array of n integers in ascending order. In the main function, declare an integer n and assign it a value of 20. All…
Write a function vote() that takes as a parameter a list of names of candidates
Write a function vote() that takes as a parameter a list of names of candidates up for election and repeatedly asks the user to enter a name of one of the candidates. When the use…
Write a function vowel_indices() that takes a string as a parameter and returns
Write a function vowel_indices() that takes a string as a parameter and returns a list of all the indices of all the vowels in the string. A vowel is one of a, e, i, o, or u. Capi…
Write a function where the name of the function is foo which has three input par
Write a function where the name of the function is foo which has three input parameters called index, parm1, and parm2. The body of foo uses document write to print out the values…
Write a function where the user inputs two lists, with the argument of list1, li
Write a function where the user inputs two lists, with the argument of list1, list2, range1 (r1), range2 (r2). This function takes as arguments list1, list2, r1, and r2 that remov…
Write a function which calculates leap years. The function prototype is as follo
Write a function which calculates leap years. The function prototype is as follows: bool leap_year(int year); Write the function body which returns true if the year is a leap year…
Write a function which gets three numbers and return the summation and average o
Write a function which gets three numbers and return the summation and average of them. Write a function which let us know between two numbers which one is greater. Write a functi…
Write a function which gets three numbers and return the summation and average o
Write a function which gets three numbers and return the summation and average of them. Write a function which let us know between two numbers which one is greater. Write a functi…
Write a function which gets three numbers and return the summation and average o
Write a function which gets three numbers and return the summation and average of them. Write a function which let us know between two numbers which one is greater. Write a functi…
Write a function which has 3 integer input values parameters which are 3 distinc
Write a function which has 3 integer input values parameters which are 3 distinct integers unsorted. The function determines which number is the smallest the middle value and the …
Write a function which has a prototype: int myfind(char s[], char c, int start);
Write a function which has a prototype: int myfind(char s[], char c, int start); The function should begin searching the string allocation start for the character c. The function …
Write a function which has a prototype: int nonletter(char s[]); s[] is a charac
Write a function which has a prototype: int nonletter(char s[]); s[] is a character string which may be of any length. The function is to parse (check character by character) the …
Write a function which prints the first vowel of each of the words in the list.
Write a function which prints the first vowel of each of the words in the list. For example: Write a function which returns all the vowels which do not appear in the word that is …
Write a function which reads in a csv file, and then returns a list of emails in
Write a function which reads in a csv file, and then returns a list of emails in the file. dictionary where keys are (standardized) titles and values are their frequencies in the …
Write a function which returns the outer product between two vectors. The functi
Write a function which returns the outer product between two vectors. The function should accept two input arguments: the vectors to be multiplied. The function will return the ma…