Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
Write down the pseudocode for a program which accepts the number of passengers and zones crossed as input until a sentinel value is entered for passengers. The output is the ticket charge.
Write a method minCat that takes two strings s and t, and returns a new string. The returned string contains the concatenation of s and t; however, if one of the strings is longer than the other, om
Write down an application with three labeled text ?elds, one each for the initial amount of a savings account, the annual interest rate, and the number of years.
Your goal in this program is to write down an address book. Your program must present the user with three menu options:
Write a program that will allow a user to enter in a sentence of up to 100 characters. Then, take that sentence and print to screen the number of capital letters and lower case letters.
Write down a Java Program that implements a Stack of Integers. An Integer must only be pushed into the stack if it is even or contains the number 7. Now pop all integers that contain 5 or 9.
Write down a Java Program which prints out all 92 solutions of the 8-Queen Problem, howevr modify the program to display only those solutions which are not on the 4th row or 5th column of the 8x8 ma
Write down a Java Program which prints out Division by Zero and Array Out of Bounds Exceptions when a User attempts to find all integers from 1 to 1000 whose last digit is 3, but which are not divis
Write down a Java program which reads a text file called mydata.txt containing the given numbers: 23 18 78 64 28 39 92 93 69 and calculates the minimum, maximum and sum of the numbers and puts the ou
Write down a program to request the user to input a numeric value. If the input is even, the program will display all the even numbers from 2 until the input.
Write down a program which asks user to type of series of positive integers. When the user kinds a negative value, the program must display error message and ask for another value.
Write down a program that will randomly generate a number from 1 to 100. The user will then guess the number via several attempts.
Write down a program that will loop continuously to get user input of positive numbers and total them out. The loop will only stop when the user enters non-positive numbers (including zero).
Create a GUI client side application that is a java version of Notepad, giving the ability to open, modify, and save the text files.
State a Java class named Accumulator. The class comprises the given elements:
You can always add a compareTo() method to a class without making it implement the Comparable interface, so why do you need the Comparable interface?
Design a solution to the problem by using the five steps to design the object-oriented solution.
Write a program which generates 100 three-digit random numbers and calls isArmstrongNum method to find out all Armstrong numbers among these 100 random numbers.
Write down a program which determines the bonus that must be paid to employees. Bonuses are determined based on the year's production. The bonus is $25 for 1000 units or fewer.
Prepare an application by using the User Interface and item/price below to compute the price of a pizza based on its size and toppings.
Write down a program which reads an integer between 0 and 10000 by choosing the integer at random; then sum the digits. For illustration if the number is 7462, use the remainder operator (%) and the
The bookstore wants you to make an object-oriented model for a new bookstore information management system.
Explain the main purpose of using JavaScript on a website? What is a specific illustration of a JavaScript application which will be beneficial on the site you are creating?
What is an illustration of a JavaScript® framework? In the framework you have described, what is an illustration of an application which would work well on the site you are building for the clas
Determine the purpose of using JavaScript® on a website? What is a specific illustration of a JavaScript® application that will be beneficial on the site you are creating? Use an illustratio