Java | JSP | JSF Answers

Questions: 4 418

Answers by our Experts: 3 943

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

write a program to accept the name of a student and 10 subject marks of the student.calculate the total and the average.
Write an application that prompts an employee for an hourly pay rate and hours worked. If any of the fields is empty, prompt the user to key in all details completely. Compute gross pay (hours times rate), withholding tax and net pay (gross pay minus withholding tax). Withholding tax is computed as a percentage of gross pay based on the following:

Gross pay ($) Withholding Percentage
0 to 300.00 10
300.01 to 400.00 12
400.01 to 500.00 15
500.01 and over 20
XYZ Supermarket wants a program that will prompt for the product code, pricing code, price and quantity of an article. Your program is then to calculate a discount rate according to the pricing code. The program will also ask the address and if the user wants overnight shipping. Regular shipping for items total under $100 is $20.00; for items total $100 or more shipping is $30.00. For overnight delivery add $50.00. Print to the screen all the entered data of the article, the discount amount and the new discounted price
Design a class named MyInteger. The class contains:

• An int data field named value that stores the int value represented by this object.

• A constructor that creates a MyInteger object for the specified int value.

• A get method that returns the int value.

• The methods isEven(), isOdd(), and isPrime() that return true if the value in this object is even,

odd, or prime, respectively.

• The static methods isEven(int), isOdd(int), and isPrime(int) that return true if the specified

value is even, odd, or prime, respectively.

• The static methods isEven(MyInteger), isOdd(MyInteger), and isPrime(MyInteger) that return

true if the specified value is even, odd, or prime, respectively.

• The methods equals(int) and equals(MyInteger) that return true if the value in this object is

equal to the specified value.

• A static method parseInt(char[]) that converts an array of numeric characters to an int value.

• A static method parseInt(String) that converts a string into an int value.
Given a square matrix with the elements 0 or 1, write a program to find a maximum square

submatrix whose elements are all 1s. Your program should prompt the user to enter the number

of rows in the matrix. The program then displays the location of the first element in the

maximum square submatrix and the number of the rows in the submatrix.
Here is a sample run:

Enter the number of rows in the matrix: 5

Enter the matrix row by row:

The maximum square submatrix is at (2, 2) with size 3

Your program should implement and use the following method to find the maxi- mum square

public static int[] findLargestBlock(int[][] m)

The return value is an array that consists of three values. The first two values are the row and

column indices for the first element in the submatrix, and the third value is the number of the

rows in the submatrix.
Hi
I'm programming in Neatbeans making a game solitaire card
but i have probelm i dont know how to make a list that save card in row and then can move to other row and card behind shows up...
A good movie is defined if it fulfills the following conditions.

Movie name must be longer than 10 characters not counting the spaces in it.
Rating should be greater than or equal to 5 and less than 8 inclusive. (But see condition 5)
The movie should be for all age groups.
If there are no actresses in the movie, there should be atleast 3 actors.
If rating is less than 5 but greater than 3 then it must have an actor named "Rahul" and actress named "Kareena".
If it is not for all age group then rating should be greater than 6.
1) Validation screen for the application

2) Main screen

3) User can insert the items , with its name , quantity , expired date and so on

4) Can get report about the stock quantity

5) Include simple calculator

6) Request for items when it close to be finished

7) Simple finance screen to show the account transactions


using netbeans or Visual C++
i need help in this java homework this is the file you will find my information
http://wikisend.com/download/584196/hw1.pdf
how to program this using two for loops in java
*
**
***
****
LATEST TUTORIALS
APPROVED BY CLIENTS