Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 1101 / 1333
Write a program that reads in a sentence of up to 100 characters and outputs the
Write a program that reads in a sentence of up to 100 characters and outputs the sentence with spacing corrected and with letters corrected for capitilization. In other words, in …
Write a program that reads in a series of positive integers terminted by a -1, e
Write a program that reads in a series of positive integers terminted by a -1, e.g. 73 95 61 21 90 85 14 78 -1 The values should be stored in an array. The program the…
Write a program that reads in a series of positive integers terminted by a -1, e
Write a program that reads in a series of positive integers terminted by a -1, e.g. 73 95 61 21 90 85 14 78 -1 The values should be stored in an array. The program the…
Write a program that reads in a set of positive integers and outputs how many ti
Write a program that reads in a set of positive integers and outputs how many times a particular number appears in the list. Assume that the data set has at most 100 numbers and -…
Write a program that reads in a set of positive integers and outputs the set in
Write a program that reads in a set of positive integers and outputs the set in a descending order based on the following specifications: (1)You may assume that the data set has a…
Write a program that reads in a set of positive integers, representing test scor
Write a program that reads in a set of positive integers, representing test scores for a class, and outputs how many times a particular number appears in the list. You may assume …
Write a program that reads in a set of positive integers, representing test scor
Write a program that reads in a set of positive integers, representing test scores for a class, and outputs how many times a particular number appears in the list. You may assume …
Write a program that reads in a set of positive integers,representing test score
Write a program that reads in a set of positive integers,representing test scores for a class, and outputs how many times aparticular number appears in the list. You may assume th…
Write a program that reads in a student file and creates Student.java objects wi
Write a program that reads in a student file and creates Student.java objects with the following fields: first name, last name, GPA, and student ID. The objects will be stored in …
Write a program that reads in a table of integers as a two-dimensional array, th
Write a program that reads in a table of integers as a two-dimensional array, then calculates the sum of each row and column. Notes The input file will begin with a single integer…
Write a program that reads in a target and finds the first n such that 1 + 1/2 +
Write a program that reads in a target and finds the first n such that 1 + 1/2 + 1/3 + ... + 1/n > target. Please provide an explanation for why you choose to initialize each v…
Write a program that reads in a text file named \"input.txt.\" As you read in th
Write a program that reads in a text file named "input.txt." As you read in this text file display its contents on the screen. Furthermore, you will maintain a …
Write a program that reads in a text file one word at a time. Store a word into
Write a program that reads in a text file one word at a time. Store a word into a dynamically created array when it is first encountered. Create a parallel integer array to hold a…
Write a program that reads in a time of the form hour:minute, validates the inpu
Write a program that reads in a time of the form hour:minute, validates the input and prints the time in the form hh:mm AM or hh:mm PM. You may assume that hour and minute are num…
Write a program that reads in a weight in pounds and ounces and outputs the equi
Write a program that reads in a weight in pounds and ounces and outputs the equivalent weight in kilograms and grams. Use at least three func- tions: one for input, one or more fo…
Write a program that reads in an array of type int . It provides facility to eit
Write a program that reads in an array of type int. It provides facility to either read an array from the keyboard or from a file, at the user's choice. If the user chooses file i…
Write a program that reads in an array of type int. You may assume that there ar
Write a program that reads in an array of type int. You may assume that there are fewer than 50 entries in the array. Your program determines how many entries are used. The output…
Write a program that reads in an array of type int. You may assume that there ar
Write a program that reads in an array of type int. You may assume that there are fewer than 50 entries in the array. Your program determines how many entries are used. The output…
Write a program that reads in an input file with one or more binary numbers sepa
Write a program that reads in an input file with one or more binary numbers separated by spaces or newline characters and outputs a conversion to decimal, hexadecimal, and octal n…
Write a program that reads in an integer N and prints out all the prime numbers
Write a program that reads in an integer N and prints out all the prime numbers strictly less than N. These should be printed one per line. sample input = 10 sample output= 2 3 5 …
Write a program that reads in an integer N and prints out all the prime numbers
Write a program that reads in an integer N and prints out all the prime numbers strictly less than N. These should be printed one per line. Sample Input 10: Sample OutPut: 2,3,5,1…
Write a program that reads in an integer and breaks it into a sequence of indivi
Write a program that reads in an integer and breaks it into a sequence of individual digits in reverse order. For example, the input 16384 is displayed as 4 8 3 6 1 You may assume…
Write a program that reads in an integer and breaks it into a sequence of indivi
Write a program that reads in an integer and breaks it into a sequence of individual digits in reverse order. For example, the input 16384 is displayed as 4 8 3 6 1 You may assume…
Write a program that reads in an integer and breaks it into a sequence of indivi
Write a program that reads in an integer and breaks it into a sequence of individual digits in reverse order. For example, the input 16384 is displayed as 4 8 3 6 1 You may assume…
Write a program that reads in an integer and displays a diamond pattern as descr
Write a program that reads in an integer and displays a diamond pattern as described below. The integer determines the the number of plus characters in the widest (center) part of…
Write a program that reads in an integer from a user. The program checks whether
Write a program that reads in an integer from a user. The program checks whether the integer is a positive 3-digit integer If the integer is a positive 3-digi 3-digit palindromic …
Write a program that reads in an integer from a user. The program checks whether
Write a program that reads in an integer from a user. The program checks whether the integer is a positive 3-digit integer If the integer is a positive 3-digi 3-digit palindromic …
Write a program that reads in an integer number and checks whether any of the di
Write a program that reads in an integer number and checks whether any of the digits in the number appear more than once. Allow the user to repeat the process as many times as he …
Write a program that reads in an integer that is greater than 1,000 and less tha
Write a program that reads in an integer that is greater than 1,000 and less than 1,000,000 . Recall that the number must be entered without a comma . Display the number with a co…
Write a program that reads in an operator and two operands, performs the operati
Write a program that reads in an operator and two operands, performs the operation, and then prints out the result. Input: The input will be one or more lines of numbers that have…
Write a program that reads in an operator and two operands, performs the operati
Write a program that reads in an operator and two operands, performs the operation, and then prints out the result. Input The input will be one or more lines of numbers that have …
Write a program that reads in an unknown number of whole numbers (integers) from
Write a program that reads in an unknown number of whole numbers (integers) from a file (A3Q3.dat) and that outputs to the screen - the numbers read 10 per lin…
Write a program that reads in and prints a text, line by line, and calls a serie
Write a program that reads in and prints a text, line by line, and calls a series of functions. The main program calls a function diffwords() to count the number of different word…
Write a program that reads in book information into a Book structure for the loc
Write a program that reads in book information into a Book structure for the local library and then calculate some Information for them (See Sample Output below). Each Book should…
Write a program that reads in from a %uFB01le a starting month name, an ending m
Write a program that reads in from a %uFB01le a starting month name, an ending month name, and then the monthly rainfall for each month during that period. As it does this, it sho…
Write a program that reads in investment amount, annual interest rate, and numbe
Write a program that reads in investment amount, annual interest rate, and number of years, and displays the future investment value using the following formula: futureInvestmentV…
Write a program that reads in lines from the input. (HorseRace) For every line,
Write a program that reads in lines from the input. (HorseRace) For every line, it creates a Horse object according to the instructions on the line. Then, it prints out the winner…
Write a program that reads in lines from the input. Each line has two integer va
Write a program that reads in lines from the input. Each line has two integer values followed by a single character. The objective is to print a rectangle pattern using the input …
Write a program that reads in lines from the input. For every line, it counts ea
Write a program that reads in lines from the input. For every line, it counts each letter of the English alphabet. It also counts the number of vowels, consonants, and others. It …
Write a program that reads in lines from the input. For every line, it counts ea
Write a program that reads in lines from the input. For every line, it counts each letter of the English alphabet. It also counts the number of vowels, consonants, and others. It …
Write a program that reads in lines from the input. For every pair of line, it c
Write a program that reads in lines from the input. For every pair of line, it creates Lamp objects and operates on them as per instructions in the lines. Then, it prints out info…
Write a program that reads in n floating-point numbers and prints the largest of
Write a program that reads in n floating-point numbers and prints the largest of them. (Largest means most positive. So 5.1 is larger than -12.44.) The input and output should be …
Write a program that reads in non-negative integers and stores and displays dist
Write a program that reads in non-negative integers and stores and displays distinct numbers (i.e., if a number appears multiple times, it is stored and displayed only once). Your…
Write a program that reads in numbers from the user. Your program should be capa
Write a program that reads in numbers from the user. Your program should be capable of tracking/calculating the minimum, maximum, total sum, and average of the numbers entered. Wh…
Write a program that reads in pairs of integers and computes the average for eac
Write a program that reads in pairs of integers and computes the average for each pair. The program should first prompt the user to input the number of pairs of integers to be rea…
Write a program that reads in rainfall over a period of years, then calculates a
Write a program that reads in rainfall over a period of years, then calculates average rainfall for each year and average rainfall over the entire period. First the program should…
Write a program that reads in the average monthly rainfall for a city for each m
Write a program that reads in the average monthly rainfall for a city for each month of the year and then reads in the actual monthly rainfall for each of the previous 12 months. …
Write a program that reads in the average monthly rainfall for a city for each m
Write a program that reads in the average monthly rainfall for a city for each month of the year and then reads in the actual monthly rainfall for each of the previous 12 months. …
Write a program that reads in the average monthly rainfall for a city for each m
Write a program that reads in the average monthly rainfall for a city for each month of the year, and then reads in the actual monthly rainfall for each of the previous 12 months.…
Write a program that reads in the file called data.in that contains integers, ea
Write a program that reads in the file called data.in that contains integers, each on separate line. The first line of the input file will contain the number of integers in the fi…