Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 1094 / 1333
Write a program that prompts the user for their quarterly water bill for the las
Write a program that prompts the user for their quarterly water bill for the last four quarters. The program should find and output their average monthly water bill. If the averag…
Write a program that prompts the user for two integer numbers (called number1_in
Write a program that prompts the user for two integer numbers (called number1_int and number2_int) and two floating-point numbers (called number1_float and number2_float). Perform…
Write a program that prompts the user for two numbers, begin and end. then reads
Write a program that prompts the user for two numbers, begin and end. then reads the file data.txt. writing to a new file those values whose indexes arc between begin and end (inc…
Write a program that prompts the user to enter 10 numbers, and displays the mean
Write a program that prompts the user to enter 10 numbers, and displays the mean and standard deviations of these numbers. In business applications, you are often asked to compute…
Write a program that prompts the user to enter a 3 x 3 matrix of double values a
Write a program that prompts the user to enter a 3 x 3 matrix of double values and tests whether it is a positive Markov matrix. - An n x n matrix is a positive Markov matrix if t…
Write a program that prompts the user to enter a directory and displays the numb
Write a program that prompts the user to enter a directory and displays the number of the files in the directory. (String permutation) Write a recursive method to print all the pe…
Write a program that prompts the user to enter a filename (assume no more than 2
Write a program that prompts the user to enter a filename (assume no more than 24 characters). Use the scanf function to read the file name. Then prompt the user to enter a senten…
Write a program that prompts the user to enter a filename (assume no more than 2
Write a program that prompts the user to enter a filename (assume no more than 24 characters). Use the scanf function to read the file name. Then prompt the user to enter a senten…
Write a program that prompts the user to enter a filename (use a Scanner to get
Write a program that prompts the user to enter a filename (use a Scanner to get the filename). The program then outputs to the screen the number of lines, words and characters in …
Write a program that prompts the user to enter a floating point number. Then ask
Write a program that prompts the user to enter a floating point number. Then ask them if they want to print the value using 1 digit of precision or 4. Add some error checking that…
Write a program that prompts the user to enter a month and a year. Generate a ni
Write a program that prompts the user to enter a month and a year. Generate a nicely formatted calendar for this month e.g. (user input is shown underlined here) Enter month: 5 En…
Write a program that prompts the user to enter a number within the range of 1 th
Write a program that prompts the user to enter a number within the range of 1 through 10. The program should then display that number in German. If the number is outside the range…
Write a program that prompts the user to enter a person\'s date of birth in numb
Write a program that prompts the user to enter a person's date of birth in numberi form such as 8-27Write a program that prompts the user to enter a person's date of birth in nume…
Write a program that prompts the user to enter a person’s date of birth in numer
Write a program that prompts the user to enter a person’s date of birth in numeric form such as 8-27-1980. The program then outputs the date of birth in the form: August 27, 1980.…
Write a program that prompts the user to enter a person’s date of birth in numer
Write a program that prompts the user to enter a person’s date of birth in numeric form such as 8-27-1980. The program then outputs the date of birth in the form: August 27, 1980.…
Write a program that prompts the user to enter a person’s date of birth in numer
Write a program that prompts the user to enter a person’s date of birth in numeric form such as 8-27-1980. The program then outputs the date of birth in the form: August 27, 1980.…
Write a program that prompts the user to enter a positive integer number and a c
Write a program that prompts the user to enter a positive integer number and a character. The program prints three triangles of stars separated by the entered character. Each tria…
Write a program that prompts the user to enter a telephone number in the format
Write a program that prompts the user to enter a telephone number in the format ddd-ddd-dddd, where d is a digit [0-9]. This is the format for telephone numbers in North America. …
Write a program that prompts the user to enter a year in the range [2001, 2010],
Write a program that prompts the user to enter a year in the range [2001, 2010], a gender and a name, then displays the ranking of the name for the selected year and gender. Techn…
Write a program that prompts the user to enter a year, gender and name, then dis
Write a program that prompts the user to enter a year, gender and name, then displays the ranking of the name for the selected year and gender. The data is to be stored in two arr…
Write a program that prompts the user to enter an amount, the annual interest ra
Write a program that prompts the user to enter an amount, the annual interest rate, and the number of months then displays the balance after the given month. 20 2.L 15 16 17 18 19…
Write a program that prompts the user to enter an arbitrary number of positive d
Write a program that prompts the user to enter an arbitrary number of positive double numbers. When the user enters a negative number the input is complete. At this point the prog…
Write a program that prompts the user to enter an arbitrary number of positive d
Write a program that prompts the user to enter an arbitrary number of positive double numbers. When the user enters a negative number the input is complete. At this point the prog…
Write a program that prompts the user to enter an input filename and an output f
Write a program that prompts the user to enter an input filename and an output filename. The program considers the input file to be a Java file (just assume it is) and writes to t…
Write a program that prompts the user to enter an integer andthen prints the int
Write a program that prompts the user to enter an integer andthen prints the integer first as a character, then as a decimal,and finally as a float. Use separate print statements.…
Write a program that prompts the user to enter an integer in a text field. When
Write a program that prompts the user to enter an integer in a text field. When a Draw button is clicked, draw as many rectangles at random positions in a compo- nent as the user …
Write a program that prompts the user to enter an interger m and find the smalle
Write a program that prompts the user to enter an interger m and find the smallest integer n such that m * n is a perfect square. (Hint: Store all smallest factors of m into an ar…
Write a program that prompts the user to enter an oligonucleotide sequence, such
Write a program that prompts the user to enter an oligonucleotide sequence, such as TATGAGCCCGTA. If the user entered a valid oligo sequence consisting only of the characters A, C…
Write a program that prompts the user to enter five names. You should store thes
Write a program that prompts the user to enter five names. You should store these names in an array or an arraylist. Once the fifth name is entered, the program will automatically…
Write a program that prompts the user to enter five test scores and then print t
Write a program that prompts the user to enter five test scores and then print the average test score to the screen. (Assume that the test scores are decimal numbers). Use the fol…
Write a program that prompts the user to enter four integers and reads the four
Write a program that prompts the user to enter four integers and reads the four values with separate scanf statements. Write statements to find the squareroot and cube of each val…
Write a program that prompts the user to enter in an integer number representing
Write a program that prompts the user to enter in an integer number representing the number of elements in an integer array. Create the array and prompt the user to enter in value…
Write a program that prompts the user to enter in an integer number representing
Write a program that prompts the user to enter in an integer number representing the number of elements in an integer array. Create the array and prompt the user to enter in value…
Write a program that prompts the user to enter in an integer number representing
Write a program that prompts the user to enter in an integer number representing the number of elements in an integer array. Create the array and prompt the user to enter in value…
Write a program that prompts the user to enter in an integer number representing
Write a program that prompts the user to enter in an integer number representing the number of elements in an integer array. Create the array and prompt the user to enter in value…
Write a program that prompts the user to enter some number of positive integers,
Write a program that prompts the user to enter some number of positive integers, one at a time, and to enter a -1 to signal an end to the data. The exact number of entries is unkn…
Write a program that prompts the user to enter some numbers ofpennies (1-cent co
Write a program that prompts the user to enter some numbers ofpennies (1-cent coins), nickles (5-cent coins), dimes (10-centcoins), quarters (25-cent coins), half dollars (50-cent…
Write a program that prompts the user to enter the exchange rate from currency i
Write a program that prompts the user to enter the exchange rate from currency in U.S. dollars to Chinese RMB (in other words, how many RMB are equivalent to 1 U.S. dollar?). Prom…
Write a program that prompts the user to enter the length from the center of a p
Write a program that prompts the user to enter the length from the center of a pentagon to a vertex and computes the area of the pentagon, as shown in the following figure. The fo…
Write a program that prompts the user to enter the length of the star and draw a
Write a program that prompts the user to enter the length of the star and draw a star, as shown in Figure 3.5a. (Turtle: display a STOP_sign) write a program that displays a STOP …
Write a program that prompts the user to enter the lengths of the side of a tria
Write a program that prompts the user to enter the lengths of the side of a triangle and prints its three angles. The calculation of the angle values should take place in a separa…
Write a program that prompts the user to enter the mass of a person in kilograms
Write a program that prompts the user to enter the mass of a person in kilograms and outputs the equivalent weight in pounds. Output both the mass and the weight rounded to two de…
Write a program that prompts the user to enter the month and year and displays t
Write a program that prompts the user to enter the month and year and displays the number of days in the month. For example, if the user entered month 2 and year 2000, the program…
Write a program that prompts the user to enter the name of a file for the conten
Write a program that prompts the user to enter the name of a file for the content to be shifted: 1. The program reads the content of the file and shifts the content by the shift a…
Write a program that prompts the user to enter the number of books that they are
Write a program that prompts the user to enter the number of books that they are purchasing. Prompt the user to enter their budgeted amount (real number) for their book purchase. …
Write a program that prompts the user to enter the number of elements and the nu
Write a program that prompts the user to enter the number of elements and the numbers themselves to be placed in an integer array that holds a maximum of 50 elements. The program …
Write a program that prompts the user to enter the number of elements and the nu
Write a program that prompts the user to enter the number of elements and the numbers themselves to be placed in an integer array that holds a maximum of 50 elements. The program …
Write a program that prompts the user to enter the number of elements and the nu
Write a program that prompts the user to enter the number of elements and the numbers themselves to be placed in an integer array that holds a maximum of 50 elements. The program …
Write a program that prompts the user to enter the number of elements and the nu
Write a program that prompts the user to enter the number of elements and the numbers themselves to be placed in an integer array that holds a maximum of 50 elements. The program …
Write a program that prompts the user to enter the number of elements and the nu
Write a program that prompts the user to enter the number of elements and the numbers themselves to be placed in an integer array that holds a maximum of 50 elements. Next include…