Java | JSP | JSF Answers

Questions answered by Experts: 3 611

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

Morse designed a coding system in which letters and other symbols are represented as coded sequences of short and long tones, traditionally called dots and dashes. The codes of the alphabet is easily found by searching "Morse Code". You can easily store these codes in a program by declaring an array with 26 elements and storing the sequence of characters corresponding to each letter in the appropriate array entry. Write a program that reads a string from the user and translates each letter in the string to its equivalent Morse code, using periods to represent dots and hyphens for dashes. Separate words in the output by calling println when there is a space in the input, but ignore punctuation.
Hello! Exercise: Write a class called RandomGeneratorImproved that expands RandomGenerator, which is able to generate random numbers coming from the sets of: a. first numbers, b. powers of 2(not negative int), c. Fibonacci numbers and d. square numbers. Create 2 new methods that are similar to "nextInt" method like (public int nextPrime(int n)) and public int nextPrime(int low, int high)). If there is no prime number in that range, it should show a message saying that and return -1. In the same way you should do all the methods for a., b., c., d. Write a program to test it where the user asks for what kind of random number he wants and within what range (low, high) and the result of it is a RANDOM number. Do not use ARRAYS or any method that saves the numbers in lists. Thank you in advance!
How to use regular expressions in java in order to format and cleaning the files...
Hello, I need help with writing a program in arrays using these following methods:
1- Sorting
2- Searching
3- Filling randomly
4- Min, Max, Sum, Avg
5- Remove Repeat
6- Count all,element
7- reverse
8-printing
9- return array
10-Menu
Hello there. I'm making a class called LibraryRecord, which has 2 constractors. The first one "manages" 6 attributes of an object and they are the following: 1. The title of the book 2. The writer/author 3. The "ISBN"- a serial number. 4. The publisher 5. The year it was published 6. If it's still being published or not. The 1st constructor "accepts" all 6 variables and creates an object Library Record with them. The 2nd constructor only contains the first 5 elements stating the book is still being released. In the program I should include get-methods for every element(all 6 elements), also I should include a set-method with a flag that shows if it's being released or not. And I should do an appropriate use of the method toString. Lastly,I need to make a simple program to test it out.
I get 2 errors when i try to compile the Main Program.
Write a JAVA program that will input Employee Name, Rate per hour, No. of hours worked
and will compute the daily wage of an employee. If the number of hours worked exceeds
eight hours add 30% to each excess hours as overtime rate.
Formula: Daily Wage = Rate per hour * No. of hours worked + OT pay
Write a program to calculate students average test scores and their grades. You may
assume the following data:

Johnson 85 83 77 91 76
Aniston 80 90 95 93 48
Cooper 78 81 11 90 73
Gupta 92 83 30 69 87
Blair 23 45 96 38 59
Clark 60 85 45 39 67
Kennedy 77 31 52 74 83
Bronson 93 94 89 77 97
Sunny 79 85 28 93 82
Smith 85 72 49 75 63


Use three arrays: a one-dimensional array to store the student names, a (parallel) twodimensional
array to store the test score, and a parallel one-dimensional array to store
grades. Your program must contain at least the following methods: a method to read
and store data into two arrays, a method to calculate the average test score and grade
and a method to output the results. Have your program also output the class average.
How do you create a do while loop within a static method?
3. Create a JAVA program that will input a value of measure in inches and output its equivalent in measure feet. Conversion Factor: 12 inches = 1 foot
2. Create a JAVA program that will input a student name, course, student grade in quiz, seatwork, laboratory exercises, assignment and prelim exam. Compute and output the Prelim Grade. Prelim Grade = Quiz * 25% + Seatwork * 10% + lab. Exercise * 20% +
Assignment * 5% + Prelim Exam * 40%
LATEST TUTORIALS
APPROVED BY CLIENTS