Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 1130 / 1333
Write a program to read from the text file phonebook.txt and then do the followi
Write a program to read from the text file phonebook.txt and then do the following: (1) Ask for inputting an area code from keyboard, and print on screen how many phone numbers in…
Write a program to read from the text file phonebook.txt and then do the followi
Write a program to read from the text file phonebook.txt and then do the following: (1) Ask for inputting an area code from keyboard, and print on screen how many phone numbers in…
Write a program to read from two input files (StudentFile1.txt and StudentFile2.
Write a program to read from two input files (StudentFile1.txt and StudentFile2.txt under lab10-2) to process students’ reports. One file (StudentFile2.txt) is about the current s…
Write a program to read in 3 integer values and then print them out in ascending
Write a program to read in 3 integer values and then print them out in ascending order. In each case, the main function should read the values, call helper function(s) to determin…
Write a program to read in a collection of exam scores ranging in value from 0 t
Write a program to read in a collection of exam scores ranging in value from 0 to 100. Your program should display the category of each score. It should also count and display the…
Write a program to read in a collection of exam scores ranging in value from 0 t
Write a program to read in a collection of exam scores ranging in value from 0 to 100. Your program should display the category of each score. It should also count and display the…
Write a program to read in a collection of exam scores ranging in value from 0 t
Write a program to read in a collection of exam scores ranging in value from 0 to 100. Your program should display the category of each score. It should also …
Write a program to read in a collection of exam scores ranging in value from 0 t
Write a program to read in a collection of exam scores ranging in value from 0 to 100. Your program should display the category of each score. It should also count and display the…
Write a program to read in a possible palindrome and then state whether or not i
Write a program to read in a possible palindrome and then state whether or not it is a palindrome. There are several ways to do see if a string is a palindrome. First you will pro…
Write a program to read in a string of characters that represent a Roman numeral
Write a program to read in a string of characters that represent a Roman numeral and then convert it to Arabic form (an integer). The character values for Roman numerals are as fo…
Write a program to read in a string of characters that represent a Roman numeral
Write a program to read in a string of characters that represent a Roman numeral and then convert it to Arabic form (an integer). The character values for Roman numerals are as fo…
Write a program to read in a string of characters that represent a Roman numeral
Write a program to read in a string of characters that represent a Roman numeral and then convert it to Arabic form (an integer). The character values for Roman numerals are as fo…
Write a program to read in a string of characters that represent a Roman numeral
Write a program to read in a string of characters that represent a Roman numeral and then convert it to Arabic form (an integer). The character values for Roman numerals are as fo…
Write a program to read in a text file consisting of a last name and a hobby, on
Write a program to read in a text file consisting of a last name and a hobby, one per line. Names and hobbies are single word, and space delimited. The file is sorted by name. The…
Write a program to read in a text file consisting of a last name and a hobby, on
Write a program to read in a text file consisting of a last name and a hobby, one per line. Names and hobbies are single word, and space delimited. The file is sorted by name. The…
Write a program to read in a two dimensional array from a file, creates a copy o
Write a program to read in a two dimensional array from a file, creates a copy of the input array, and write the copy to a file “out.data”. Compute array values by computing the a…
Write a program to read in a two dimensional array from a file, creates a “smoot
Write a program to read in a two dimensional array from a file, creates a “smoothed” copy of the input array, and write the “smoothed” copy to a file “out.data”. Compute smoothed …
Write a program to read in as set of numbers and build an ordered binary tree. F
Write a program to read in as set of numbers and build an ordered binary tree. For the given the tree compute and print the following a. Print out the tree in inorder b. Print…
Write a program to read in the data from the Grades.txt file using an array of s
Write a program to read in the data from the Grades.txt file using an array of struct. All the grades for a particular student should be stored in a single element of the array. D…
Write a program to read integers into an array and then sort the array using sel
Write a program to read integers into an array and then sort the array using selection sort, where you find the small est element in the array and exchange it with the first eleme…
Write a program to read lines of uppercase text from a file and to produce a sim
Write a program to read lines of uppercase text from a file and to produce a simplified text concordance, which is a list of distinct words in the text, with their frequency (numb…
Write a program to read protein sequences from a file, count them, and allow for
Write a program to read protein sequences from a file, count them, and allow for retrieval of any single protein sequence. Read in proteins and store them in a hash table. You do …
Write a program to read several lines from a file called H.in. For each line, ch
Write a program to read several lines from a file called H.in. For each line, check whether it is a palindrome. For each line read from the file, print only the lines that are pal…
Write a program to read several lines from a file called H.in. For each line, ch
Write a program to read several lines from a file called H.in. For each line, check whether it is a palindrome. For each line read from the file, print only the lines that are pal…
Write a program to read several lines from a file called H12.in. For each line,
Write a program to read several lines from a file called H12.in. For each line, check whether it is a palindrome. For each line read from the file, print only the lines that are p…
Write a program to read student data from the standard input, sort it by last na
Write a program to read student data from the standard input, sort it by last name / first name, and print out the result to standard output (one row per student). The student dat…
Write a program to read test scores, process scores, and display a final report
Write a program to read test scores, process scores, and display a final report or save the report into a text file. A report is generated for a class of 4 students Note: It is no…
Write a program to read the content of a file and: (1) identify how many words a
Write a program to read the content of a file and: (1) identify how many words are in the file. (2) print the first and the last words within the file. A Word is defined as a grou…
Write a program to read the input file, shown below and write out the output fil
Write a program to read the input file, shown below and write out the output file shown below. Use only string objects and string functions to process the data. Do not use c-strin…
Write a program to read the number and elements of an array entered by a user. S
Write a program to read the number and elements of an array entered by a user. Sort the elements using 1-Bubble Sort Function 2-Shell Sort Function 3-Selection Sort Function 4- In…
Write a program to read the number and elements of an array entered by a user. S
Write a program to read the number and elements of an array entered by a user. Sort the elements using 1. Bubble Sort Function 2. Shell Sort Function 3. Selection Sort Function 4.…
Write a program to read the parts.txt file and display the cost of inventory for
Write a program to read the parts.txt file and display the cost of inventory for each of the part classes. The file contains parts of class A, B, C and D. An example of a typical …
Write a program to read two 3x3 matrices, compute the sum, the product of the tw
Write a program to read two 3x3 matrices, compute the sum, the product of the two matrices. Then, compute the transpose, cofactor matrix and the determinant of the resultant matri…
Write a program to read two 3x3 matrices, compute the sum, the product of the tw
Write a program to read two 3x3 matrices, compute the sum, the product of the two matrices. Then, compute the transpose, cofactor matrix and the determinant of the resultant matri…
Write a program to read two points on a line, then two points on another line, a
Write a program to read two points on a line, then two points on another line, and determine whether the lines are parallel or whether they are intersect, and if they intersect, w…
Write a program to recognize port scanning on a specific host. Recognize the sca
Write a program to recognize port scanning on a specific host. Recognize the scan by analyzing the host’s trace file and/or the TCP dump file. Output the range of ports scanned an…
Write a program to register students for a college. Students have names, address
Write a program to register students for a college. Students have names, addresses and courses. Implement the interface class Register Student. Register Student has one method, pu…
Write a program to register students for a college. Students have names, address
Write a program to register students for a college. Students have names, addresses and courses. Implement the interface class Register Student. Register Student has one method, pu…
Write a program to register students for a college. Students have names, address
Write a program to register students for a college. Students have names, addresses and courses. Implement the interface class Register Student. Register Student has one method, pu…
Write a program to repeat the following tasks continuously. Turn all four LED li
Write a program to repeat the following tasks continuously. Turn all four LED lights OFF. Wait in a loop until one of the push buttons is pressed. After that, all LEDs must start …
Write a program to represent you in the 7th Annual Prisoner’s Dilemma Tournament
Write a program to represent you in the 7th Annual Prisoner’s Dilemma Tournament. Each player (each program) will compete in an iterated PD against each other player. Assuming all…
Write a program to reverse the contents of a character array. -- Use the followi
Write a program to reverse the contents of a character array. -- Use the following method signature: public static char[ ] reverseArray(char[ ] anArray) -Only have one return stat…
Write a program to reverse the words of a string. Implement a function reverse (
Write a program to reverse the words of a string. Implement a function reverse () that reverses the string between indexes i and j inclusively. Prototype of the function is given …
Write a program to rotate the elements of an array a specified number of places
Write a program to rotate the elements of an array a specified number of places input by the user, with these specifications: 1. A positive number indicates a rotation to the righ…
Write a program to run any 4 of the following methods; problem #6 OR #7 is requi
Write a program to run any 4 of the following methods; problem #6 OR #7 is required (included as part of the four). Pay close attention to the requirements of the problem (i.e., r…
Write a program to satisfy the following programming problem: One can obtain a t
Write a program to satisfy the following programming problem: One can obtain a table of moon phases for a specified year at the URL http://aa.usno.navy.mil/cgi-bin/aa_moonphases.p…
Write a program to save the following sequence of numbers in a file named number
Write a program to save the following sequence of numbers in a file named number.dat. Then, read the data in this file and display the numbers on the screen. 13579 11 4. Write a p…
Write a program to search for a number in a sequence of numbers. Your program sh
Write a program to search for a number in a sequence of numbers. Your program should first ask the user to input ten real numbers (You can use double or float data type). You shou…
Write a program to selection sort, the program needs to repeatedlyprompt for inp
Write a program to selection sort, the program needs to repeatedlyprompt for input. Hint: // precondition: n >= 0, and a has at least n elements // postcondition: a[0] .. a[n-1…
Write a program to send the following listed data stored at memory locations $21
Write a program to send the following listed data stored at memory locations $2100-$210F to a subroutine that adds them up. Store the result at memory location $21FF. Use “md” to …