Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 1068 / 1333
Write a program that asks the user to enter an integer between 1 and 15. If the
Write a program that asks the user to enter an integer between 1 and 15. If the number entered is outside that range, your program should print out an error message and re-prompt …
Write a program that asks the user to enter an integer between 1 and 15. If the
Write a program that asks the user to enter an integer between 1 and 15. If the number entered is outside that range, your program should print out an error message and re-prompt …
Write a program that asks the user to enter an integer n then display the follow
Write a program that asks the user to enter an integer n then display the following menu: a. Display n^2.5. b. Display sin(n). c. Is n divisible by 10? If the user select a or b, …
Write a program that asks the user to enter an integer with magnitude less than
Write a program that asks the user to enter an integer with magnitude less than 1000. The digits (and sign) of the number should then be divided and stored in a structure that con…
Write a program that asks the user to enter an integer x. The program looks at t
Write a program that asks the user to enter an integer x. The program looks at the number and does the following: - If it is negative, treat it as a positive value and continue wi…
Write a program that asks the user to enter an item\'s wholesale cost and its ma
Write a program that asks the user to enter an item's wholesale cost and its markup percentage. It should then display the items retail price. For example: If an item's wholesale …
Write a program that asks the user to enter an item’s wholesale cost and its mar
Write a program that asks the user to enter an item’s wholesale cost and its markup percentage. It should then display the item’s retail price. For example: • If an item’s wholesa…
Write a program that asks the user to enter an item’s wholesale cost and its mar
Write a program that asks the user to enter an item’s wholesale cost and its markup percentage.(I NEED JAVA CODE) It should then display the item’s retail price. For example: • If…
Write a program that asks the user to enter an object’s mass, and then calculate
Write a program that asks the user to enter an object’s mass, and then calculates its weight in newtons. If the object weighs more than 500 newtons, display a message indicating t…
Write a program that asks the user to enter an odd integer between 1 and 15 (bot
Write a program that asks the user to enter an odd integer between 1 and 15 (both inclusive). If the integer value was 3, then print out the following diamond pattern on screen. (…
Write a program that asks the user to enter five test scores. Assume valid score
Write a program that asks the user to enter five test scores. Assume valid scores will be entered, each number followed by a comma. The program should display a letter grade for e…
Write a program that asks the user to enter five test scores. The program should
Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Write the following methods in t…
Write a program that asks the user to enter one of the following state abbreviat
Write a program that asks the user to enter one of the following state abbreviations: NC, SC, GA, FL, AL. The program should then display the name of the state that corresponds wi…
Write a program that asks the user to enter the amount he or she has budgeted fo
Write a program that asks the user to enter the amount he or she has budgeted for a month. Your program should then prompt the user to enter the name of an input file where his or…
Write a program that asks the user to enter the amount he or she has budgeted fo
Write a program that asks the user to enter the amount he or she has budgeted for a month. Your program should then prompt the user to enter the name of an input file where his or…
Write a program that asks the user to enter the amount of the users paycheck for
Write a program that asks the user to enter the amount of the users paycheck for the month. A loop should then prompt the user to enter each of his or her expenses for the month, …
Write a program that asks the user to enter the coordinates of two points (x_1,
Write a program that asks the user to enter the coordinates of two points (x_1, y_2) and (x_2, y_2), calculates the distance between the points using the formula = square root (x_…
Write a program that asks the user to enter the initial velocity (u) in miles/ho
Write a program that asks the user to enter the initial velocity (u) in miles/hour, final velocity (v) in miles/hour and the time taken to achieve final velocity (t) in hours when…
Write a program that asks the user to enter the month (letting the user enter an
Write a program that asks the user to enter the month (letting the user enter an integer in the range of 1 through12) and the yer. The program should then display the number of da…
Write a program that asks the user to enter the names of three salesmen. The pro
Write a program that asks the user to enter the names of three salesmen. The program should then accept the sales produced for each quarter of the year. Display the name, and the …
Write a program that asks the user to enter the names of three salesmen. The pro
Write a program that asks the user to enter the names of three salesmen. The program should then accept the sales produced for each quarter of the year. Display the name, and th…
Write a program that asks the user to enter the names of three salesmen. The pro
Write a program that asks the user to enter the names of three salesmen. The program should then accept the sales produced for salesman for each quarter of the year. Display the n…
Write a program that asks the user to enter the names of three salesmen. The pro
Write a program that asks the user to enter the names of three salesmen. The program should then accept the sales produced for salesman for each quarter of the year. Display the n…
Write a program that asks the user to enter the number of calories and fat grams
Write a program that asks the user to enter the number of calories and fat grams in a food item. The program should display the percentage of the calories that come from fat. One …
Write a program that asks the user to enter the number of miles traveled and the
Write a program that asks the user to enter the number of miles traveled and the number of gallons of gasoline consumed. It should then calculate and display the miles-per-gallon …
Write a program that asks the user to enter the numbers 1 to 16 (in any order) a
Write a program that asks the user to enter the numbers 1 to 16 (in any order) and then displays the numbers in a 4 x 4 aligned arrangement, followed by the sums of the rows, colu…
Write a program that asks the user to enter the numbers from 1 to 16 (in any ord
Write a program that asks the user to enter the numbers from 1 to 16 (in any order) and then displays the numbers in a 4 by 4 arrangement, followed by the sums of the rows, column…
Write a program that asks the user to enter the size of a triangle ( an integer
Write a program that asks the user to enter the size of a triangle ( an integer from 1 to 50 ) . Display the triangle by writing lines of asterisk. The first line will have one as…
Write a program that asks the user to enter the size of a triangle (an integer f
Write a program that asks the user to enter the size of a triangle (an integer from 1 to 50). Display the triangle by writing lines of asterisks. The first line will have one aste…
Write a program that asks the user to enter the time in seconds, and will displa
Write a program that asks the user to enter the time in seconds, and will display the time entered in hour-minute-second format(30 points): - There are 3,600 seconds in an hour. I…
Write a program that asks the user to enter three names, andthen displays the na
Write a program that asks the user to enter three names, andthen displays the names sorted in alphabetical order. Assume thatnone of the names are the same. For example, if the us…
Write a program that asks the user to enter time of day. The program will conver
Write a program that asks the user to enter time of day. The program will convert from 12-hour format to the 24-hour format, or vice-versa. First write out your strategy as pseudo…
Write a program that asks the user to enter today\'s sales for five stores. The
Write a program that asks the user to enter today's sales for five stores. The program should then display a bar graph comparing each store's sales. Create each bar in the bar gra…
Write a program that asks the user to enter today\'s sales rounded to the neares
Write a program that asks the user to enter today's sales rounded to the nearest $100 for each of three stores. The program should then display a bar graph comparing each store's …
Write a program that asks the user to enter todays sales for five stores. The pr
Write a program that asks the user to enter todays sales for five stores. The program should display a bar chart comparing each stores sales. Create each bar in the chart by displ…
Write a program that asks the user to enter todays sales for five stores. The pr
Write a program that asks the user to enter todays sales for five stores. The program should display a bar chart comparing each stores sales. Create each bar in the chart by displ…
Write a program that asks the user to enter up to 20 integers.Store the integers
Write a program that asks the user to enter up to 20 integers.Store the integers in an array of longs.Then, the program should ask the user to enter an integer.The program should …
Write a program that asks the user to input 10 positive integers and stores them
Write a program that asks the user to input 10 positive integers and stores them in an array. Be sure to specify if they are to hit return or a space after each number. Count th…
Write a program that asks the user to input 5 Strings and store them in an ARRAY
Write a program that asks the user to input 5 Strings and store them in an ARRAY. Be sure to specify if they are to hit return or a space after each String. Print out the array.…
Write a program that asks the user to input a 3 X 3 matrix of integers, a row at
Write a program that asks the user to input a 3 X 3 matrix of integers, a row at a time Be sure to identify which row is being requested: Values: Row #1: 8 7 9 Row #2: 6 3 12 Row …
Write a program that asks the user to input a date in the form MM/DD/YYYY and ou
Write a program that asks the user to input a date in the form MM/DD/YYYY and outputs the day number (1 to 366) of that day within the year. Write a program that asks the user to …
Write a program that asks the user to input a grade that he or she received on a
Write a program that asks the user to input a grade that he or she received on an exam. The grade is an integer from 0-100 inclusive. The program should convert the numeric grade …
Write a program that asks the user to input a grade that he or she received on a
Write a program that asks the user to input a grade that he or she received on an exam. The grade is an integer from 0-100 inclusive. The program should convert the numeric grade …
Write a program that asks the user to input a grade that he or she received on a
Write a program that asks the user to input a grade that he or she received on an exam. The grade is an integer from 0-100 inclusive. The program should convert the numeric grade …
Write a program that asks the user to input a single positive integer (use input
Write a program that asks the user to input a single positive integer (use input validation), then determines whether or not the number is prime. If the integer is prime, print a …
Write a program that asks the user to input a string and then prints this string
Write a program that asks the user to input a string and then prints this string out in 70 characters according to the above justification rules. You may assume that the user alwa…
Write a program that asks the user to input his saving account\'s balance, and t
Write a program that asks the user to input his saving account's balance, and the program calculates the balance at the end of each year for three years. The program calculates a …
Write a program that asks the user to input the height and radius of a cone (bot
Write a program that asks the user to input the height and radius of a cone (both of type double) and calls 4 individual functions to calculate the base area of the cone, the surf…
Write a program that asks the user to input the radius and height of a cylinder
Write a program that asks the user to input the radius and height of a cylinder and the unit weight of the material (in pounds per square feet). The program computes the surface a…
Write a program that asks the user to input three different integers. Write a fu
Write a program that asks the user to input three different integers. Write a function called numberStyle for this program that will accept each integer (one at a time) and return…