65 759
Assignments Done
99,3%
Successfully Done
In October 2018

Java | JSP | JSF Answers

Questions: 1 147

Free Answers by our Experts: 895

Ask Your question

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

Create a program that satisfy the following requirements:
1. Ask user to enter integer numbers, one at a time.
2. If the number is -1, stop entering number.
3. Print out the total number that is greater than 18.


For example:
The following is screen shot when user enters the sentence “computer science is great”.

enter an integer:
13
enter an integer:
2
enter an integer:
21
enter an integer:
40
enter an integer:
-1
Total number that is greater than 18: 2
1a.Implement maketree, setleft, and setright for right in-threaded binary trees using the sequential array representation. 1b. Implement inorder traversal for this right in-thread tree.
Write an application that displays the factorial for every integer value from 1 to 10. A factorial of a number is the product of that number multiplied by each positive integer lower than it. For example, 4 factorial is 4 * 3 * 2 * 1, or 24. The output would then be The factorial of 4 is 24.
A genetic engineer is in need of a program to generate all the
Write a program that implements the student class. The student objects will have name, age, average and town of residence. The program will create an array of at least 5 student class objects and offer the following options to the user.

1. print the information of a particular student as the user enters the student's name

2.Print the names of all students that have an average greater than a value that the user entered

3.Print the name of all students for a specific town that the user indicates



Using Java Fx and OOPS concepts code the Assignment 2 in Java FX. Style the 3 scenes in this app using separate stylesheets.
The application Pizzashop will have all the choices for regular and feast pizza.
1. In the first scene, ask name, type (radiobutton) and size of pizza (radiobutton) and let the user add toppings (CheckBox, check for max toppings for each of the pizza )Show a logo on top left corner with all the title for your shop.
2. Once the user clicks a button in scene1, it takes him to scene 2 where the user sees his order details and a choice to choose his payment.(use radiobutton here). Once the user clicks a payment button in scene 2, it takes him to scene 3.

3. In scene 3, For debit and credit payment show a hyperlink window which takes the user to the respective payment sites, ex interac for debit., paypal for credit. and an image of cash for cash option.

write a program that asks for the % averages for labs, midterm, final, the project, etc, and calculates the final grade.

Activity Weight
Labs 20 %
Reading Quizzes 10 %
Video Grading 10 %
Midterm 20 %
Project 15 %
Final 20 %
Instructor Discretion 5 %

Enter Labs average in percent: 90
Enter Reading average in percent: 75
Enter Video average in percent: 100
Enter Midterm average in percent: 83
Enter Project average in percent: 95
Enter Final average in percent: 80
Enter Instructor Discretion average in percent: 100
Your average is 87.35%
Text messaging is a popular means of communication. Many abbreviations are in common use but are not appropriate for formal communication. Suppose the abbreviations are stored, one to a line, in a text file named abbreviations.txt. For example, the file might contain these three lines:

lol
:)
Iirc
4
u
ttfn

Write a program that will read a message from another text file and surround each occurrence of an abbreviation with <> brackets. Write the marked message to a new text file.

For example, the message to be scanned is

How are u today? Iirc, this is your first free day. Hope you are having fun! :)

the new text file should contain

How are <u> today? <Iirc>, this is your first free day. Hope you are having fun! <:)>

Write a program that checks a text file for several formatting and punctuation matters. The program asks for the names of both an input file and an output file. It then copies all the text from the input file to the output file, but with the following two changes: (1) Any string of two or more blank characters is replaced by a single blank; (2) all sentences start with an uppercase letter. All sentences after the first one begin after either a period, a question mark, or an exclamation mark that is followed by one or more whitespace characters.
Write a program that reads a file of numbers of type int and writes all the numbers to another file, but without any duplicate numbers. Assume that the numbers in the input file are already ordered from smallest to largest. After the program is run, the new file will contain all the numbers in the original file, but no number will appear more than once in the file. The numbers in the output file should also be sorted from smallest to largest. Your program should obtain both file names from the user. Use either a text file or a binary file. For the text-file version, assume one number per line. For the binary-file version, use numbers of type int that are written using writeInt.
Submit
Privacy policy Terms and Conditions