Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 1107 / 1333
Write a program that sorts a 50-element array using the selectionsort, the bubbl
Write a program that sorts a 50-element array using the selectionsort, the bubble sort, and the insertion sort. Each sort is to beexecuted twice. a) For the first sort, fill the a…
Write a program that sorts a range of integers typed into the console using the
Write a program that sorts a range of integers typed into the console using the counting sort algorithm2. Values typed that are not in the range 1-100 (inclusive) should be ignore…
Write a program that sorts a series of words entered by the user: Each word is n
Write a program that sorts a series of words entered by the user: Each word is no more than 20 characters long and the program stops reading when the user enters an empty word (i.…
Write a program that sorts a series of words entered by the user: Each word is n
Write a program that sorts a series of words entered by the user: Each word is no more than 20 characters long and the program stops reading when the user enters an empty word (i.…
Write a program that sorts a stack of integers in descending order with the smal
Write a program that sorts a stack of integers in descending order with the smallest item on top. You are allowed to use one stack to hold your data and another stack as an auxili…
Write a program that sorts an array of integers into ascending order or descendi
Write a program that sorts an array of integers into ascending order or descending order. Use command-line arguments to pass either argument -a for ascending order or -d for desce…
Write a program that sorts log transactions. The log includes the location where
Write a program that sorts log transactions. The log includes the location where a transaction originated and the time the transaction occurred and this information is stored such…
Write a program that sorts prices of 10 tacos in ascending order based on the pr
Write a program that sorts prices of 10 tacos in ascending order based on the price, using arrays. Requirements: The user enters the name of the taco and then the price of the tac…
Write a program that sorts the tori (multiple torus) by volume. The major radius
Write a program that sorts the tori (multiple torus) by volume. The major radius and minor radius will be read from file tori.txt. Write the sorted torus, including volumes to a t…
Write a program that specifies three one dimesional arraysnamed current , resist
Write a program that specifies three one dimesional arraysnamed current, resistance, and volts.Each array should be capableof holding 10 elements. Using a forloop, input values fo…
Write a program that stimulates a bouncing ball by computing its height in feet
Write a program that stimulates a bouncing ball by computing its height in feet at each second as time passes on a simulated clock. At time zero, the ball begins at height zero an…
Write a program that stimulates the mathematical experiment of rolling a pair of
Write a program that stimulates the mathematical experiment of rolling a pair of dice any number of times. Let user input this data. The program also lets user pick a choice of ou…
Write a program that stores and retrieves structures in a file on disk. The file
Write a program that stores and retrieves structures in a file on disk. The file of structures must remain on the disk once your program ends. You should be able to store struc…
Write a program that stores and retrieves structures in a file on disk. The file
Write a program that stores and retrieves structures in a file on disk. The file of structures must remain on the disk once your program ends. You should be able to store struc…
Write a program that stores answers to ten questions in a character array. Each
Write a program that stores answers to ten questions in a character array. Each question has one correct answer and four possible answers. (A,B,C,D). Prompt the user for ten guess…
Write a program that stores lists of names (the last name first) and ages in par
Write a program that stores lists of names (the last name first) and ages in parallel arrays and sorts the names into alphabetical order keeping the ages with the correct names. T…
Write a program that stores lists of names (the last name first) and ages in par
Write a program that stores lists of names (the last name first) and ages in parallel arrays and sorts the names into alphabetical order keeping the ages with the correct names. T…
Write a program that stores numbers from the range 0 - 1000 in an array. Your pr
Write a program that stores numbers from the range 0 - 1000 in an array. Your program should create an array of size 20 store random numbers into the array ask the user for a numb…
Write a program that stores the bundle options illustrated in this week’s lesson
Write a program that stores the bundle options illustrated in this week’s lesson: struct customerBundles { string name; double internet; double voice; double television; }; The pr…
Write a program that stores the following data about a soccer player in a struct
Write a program that stores the following data about a soccer player in a structure: Players name, players number, points scored by the player. The program should keep an array of…
Write a program that stores the following data about a soccer player in a struct
Write a program that stores the following data about a soccer player in a structure named Player. (c++ program) name: a string that stores player’s name number: an integer that st…
Write a program that stores the following data about a soccer player in a struct
Write a program that stores the following data about a soccer player in a structure named Player. (c++ program) name: a string that stores player’s name number: an integer that st…
Write a program that stores the following data about a soccer player in a struct
Write a program that stores the following data about a soccer player in a structure: Player’s Name as String Player’s Number as Short Int (or char) Points Scored by Player as Shor…
Write a program that stores the following information of a soccer player in a st
Write a program that stores the following information of a soccer player in a structure. Players name (make it one string) Players number (make it an integer) Points scored by the…
Write a program that stores the following prices in a global array: 9.92, 6.32,
Write a program that stores the following prices in a global array: 9.92, 6.32, 12.63, 5.95, 10.29. The program should also create two automatic arrays names units and amounts, ea…
Write a program that stores the following prices in an arraynamed resistance : 1
Write a program that stores the following prices in an arraynamed resistance: 16, 27, 39, 56, and 81. your programshould also create two arrays named current andpower, each capabl…
Write a program that stores the name of each month in an array of Strings, and t
Write a program that stores the name of each month in an array of Strings, and the rainfall for each month of the year into an array of doubles. The program should determine the t…
Write a program that stores the string C plus plus is a simple programming langu
Write a program that stores the string C plus plus is a simple programming language into an array named str. Use the declaration str[]=”C plus plus is a simple programming languag…
Write a program that stores the weekly (Monday thru Sunday) daily temperatures f
Write a program that stores the weekly (Monday thru Sunday) daily temperatures for four weeks. Your program should allow the user to enter the temperatures and print a report with…
Write a program that stores the weekly (Monday thru Sunday) daily temperatures f
Write a program that stores the weekly (Monday thru Sunday) daily temperatures for four weeks. Your program should allow the user to enter the temperatures and print a report with…
Write a program that stores the weekly (Monday thru Sunday) daily temperatures f
Write a program that stores the weekly (Monday thru Sunday) daily temperatures for four weeks. Your program should allow the user to enter the temperatures and print a report with…
Write a program that stores the weekly (Monday thru Sunday) daily temperatures f
Write a program that stores the weekly (Monday thru Sunday) daily temperatures for four weeks. Your program should allow the user to enter the temperatures and print a report with…
Write a program that stores the weekly (Monday thru Sunday) daily temperatures f
Write a program that stores the weekly (Monday thru Sunday) daily temperatures for four weeks. Your program should allow the user to enter the temperatures and print a report with…
Write a program that stores the weekly (Monday thru Sunday) daily temperatures f
Write a program that stores the weekly (Monday thru Sunday) daily temperatures for four weeks. Your program should allow the user to enter the temperatures and print a report with…
Write a program that stores the weekly (Monday thru Sunday) daily temperatures f
Write a program that stores the weekly (Monday thru Sunday) daily temperatures for four weeks. Your program should allow the user to enter the temperatures and print a report with…
Write a program that stores the weekly (Monday thru Sunday) daily temperatures f
Write a program that stores the weekly (Monday thru Sunday) daily temperatures for four weeks. Your program should allow the user to enter the temperatures and print a report with…
Write a program that stores, retrieves, adds, and updates addresses as shown in
Write a program that stores, retrieves, adds, and updates addresses as shown in Figure. Use a fixed-length string for storing each attribute in the address. Use random access file…
Write a program that sums a sequence of integers. Assume that the first integer
Write a program that sums a sequence of integers. Assume that the first integer read with scanf () specifies the number of values remaining to be entered. Your program should read…
Write a program that sums the area of all lands and displays the total volume in
Write a program that sums the area of all lands and displays the total volume in acres. There are 0.404687261 hectares in an acre and 4 roods in an acre. Display the acreage with …
Write a program that sums the area of all lands and displays the total volume in
Write a program that sums the area of all lands and displays the total volume in acres. There are 0.404687261 hectares in an acre and 4 roods in an acre. Display the acreage with…
Write a program that surveys a set of people and tallies their beverage choices
Write a program that surveys a set of people and tallies their beverage choices from the following options: 1.Coffee 2.Tea 3.Coke …
Write a program that swaps the elements of an array pairwise. Start from the lef
Write a program that swaps the elements of an array pairwise. Start from the left of the array, take 2 elements at a time and swap the two elements. Continue in this fashion until…
Write a program that swaps the elements of an array pairwise. Start from the lef
Write a program that swaps the elements of an array pairwise. Start from the left of the array, take 2 elements at a time and swap the two elements. Continue in this fashion until…
Write a program that swaps the elements of an array pairwise. Start from the lef
Write a program that swaps the elements of an array pairwise. Start from the left of the array, take 2 elements at a time and swap the two elements. Continue in this fashion until…
Write a program that swaps the elements of an array pairwise. Start from the lef
Write a program that swaps the elements of an array pairwise. Start from the left of the array, take 2 elements at a time and swap the two elements. Continue in this fashion until…
Write a program that take 10 64-bit variables and adds them using the 64-bit gen
Write a program that take 10 64-bit variables and adds them using the 64-bit general purpose registers to get a sum that is equal to0xffffffffffffffff. The sum itself should be a …
Write a program that takes 10 integer inputs from the user via keyboard and puts
Write a program that takes 10 integer inputs from the user via keyboard and puts them in one array called myNums[], then prints them back out one at a time in this format: Number …
Write a program that takes a dollar amount (...XXX.XX) as a string input and ins
Write a program that takes a dollar amount (...XXX.XX) as a string input and inserts commas every three digits if the number is large. You should search for the "." and then count…
Write a program that takes a file containing integers and adds an integer to eac
Write a program that takes a file containing integers and adds an integer to each of them. The program takes two input arguments, the name of the file containing the integers and …
Write a program that takes a list of final scores for a class and determines: 1)
Write a program that takes a list of final scores for a class and determines: 1) the mean (Greek letter mu), 2) the standard deviation (Greek letter sigma), and 3) the number of g…