Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
Create a program that takes a value x as input and outputs this sum for n taken to be each of the values 1 to 10, 50, and 100.
Create a product class that holds the item number, the name of the product, the number of units in stock, and the price of each unit.
Modify the Payroll Program application so it continues to request employee information until the user enters stop as the employee name.
A compound document within Microsoft Office usually consists of a Word document with another office-type document (i.e. Excel, PowerPoint slideshow, etc.)
Modify the Inventory Program so the application can handle multiple items. Use an array to store the items.
What is the output from the following section of FORTRAN code?
Design and code a Swing GUI for a two-player tic-tac-toe game on a 3 by 3 game board. The JFrame should use a BorderLayout with a JLabel in the NORTH region
Mortgage Calculator Modification.Modify the mortgage program to display 3 mortgage loans:
Some programming languages are typeless. What are a few of the obvious advantages and disadvantages of having no types in a language.
Why do you think that Java is currently a popular programming language? Do you think Java will continue to be as widely received as it has been
Create an interactive Java GUI program (using JOptionPane's showOptionDialog) that converts miles to kilometers and vice versa
Program must include a method for each element. Write one method containing String manipulations, one that includes if-else statements
The Westfield Carpet Company has asked you to write an application that calculates the price of carpeting for rectangular rooms.
Show what is printed by each of the following statements. If a statement is incorrect, indicate why.
Create a Java program that meets the following requirements:Declare a method to determine whether an integer is a prime number
Create a Java program that will read integers and find the total and average of the input values, not counting zeros.
Create a program that will search a text file of strings representing numbers of type int and will write the largest and the smallest numbers to the screen
Create a Java program that displays the non-zero denominations only. Display singular words for single units like 1 dollar and 1 penny, and display plural words
Create a Java program that reads an integer and checks whether it is even.
In the sport of diving, seven judges award a score between 0 and 10, where each score may be a floating point value
Create and run a Java program that, given a distance in metres, outputs that distance in kilometres rounded to the nearest whole kilometre.
Explain how methods with multiple parameters are declared.
You operate several hot dog stands distributed throughout town. Define a class named HotDogStand that has a member variable for the hot dog stand's ID number
Choose a product that lends itself to an inventory (for example, products at your workplace, office supplies, music CDs, DVD movies, or software)
Define a class called Counter whose objects count things. An object of this class records a count that is a nonnegative integer