Find Jobs
Hire Freelancers

THE ARAB ACADEMY FOR BANKING & FINANCIAL SCIENCES

$30-5000 USD

Inställt
Publicerad över 16 år sedan

$30-5000 USD

Betalning vid leverans
Introduction:Please Read and Implement the following problems using Java as your language and using Eclipse IDE as your tool. ## Deliverables Problem 1: Write a for statement that print the following numbers: E.g.: 1,2,3,4,5,…,100 for (int i=1 ; i<=100 ; i++) [login to view URL] (i); a-** ** 100 , 99 , 98 , …,1 b-** ** 7 , 14 , 21 ,.., 77 c-** ** 2 , 5 , 8 , 11 ,.., 20 d-** ** 99 , 77 , 55,.., 11 e-** ** 1/5 ,1 ,2 , 3,4 ,.., 8 Problem 2: Write a JAVA program that read student marks until the user inputs (-1) Then the program will print the summation and the average of these marks Problem 3:Write a Java application that read the month temperatures in Celsius format from the user then store them back into a Fahrenheit format. To convert form Celsius to Fahrenheit use the following formula: | TF= (9/5)* TC + 32 | TC: temperature in Celsius degree TF: temperature in Fahrenheit degree Problem 4:Design a Java program that: a) Read _10 floating point numbers_ from the keyboard and store these numbers in array named _X _b) Define a new array named Inverse_Result , _floating point type, and size 10_. Copy the elements of array Results in reverse order in the new array Inverse_X. Problem 5:In the following scenarios design a suitable method and provide it’s implementation also show do you call it in your Java program. a) Sum method that receive two integers and return their summation. b) Average method that receive Four floats and return their Average. c) Odd check method that receive a number and return true if it’s odd. d) Odd/Even check method that receive a number and return if it’s odd or Even. [Home Work]. e) Update method that receive an array of integers and return it’s elements doubled. f) Dummy method that return the summation of numbers from 1 to 5000. g) Instruction method that tells the user how to shutdown their computer. Problem 6:A palindrome is a number or a text phrase that reads the same backwards as forwards. For example, each of the following five-digit integers are palindromes: 12321, 55555, 45554 and [login to view URL] an application that reads in a five-digit integer and determines whether it is a palindrome. If the number is not five digits, display an error message dialog indicating the problem to the user. When the user dismisses the error dialog, allow the user to enter a new value. Problem 7:A company wants to transmit data over the telephone, but they are concerned that theirphones may be tapped. All their data are transmitted as four-digit integers. They have asked you to write a program that will encrypt their data so that it may be transmitted more securely. Your application should read a four-digit integer entered by the user in an input dialog and encrypt it as follows:Replace each digit by *(the sum of that digit plus 7) modulus 10*. Then swap the first digit with the third, and swap the second digit with the fourth. Print the encrypted integer. Write a separate application that inputs an encrypted four-digit integer and decrypts it to form the original number. Problem 8:The factorial of a nonnegative integer *n* is written *n*! (pronounced “*n* factorial??) and is definedas follows:*n*! = *n* * (*n* - 1)* (*n* - 2) *... *1 (for values of *n* greater than or equal to 1)and*n*! = 1 (for *n* = 0).For example, 5! = 5 * 4 * 3 * 2 * 1, which is 120. a) Write an application that reads a nonnegative integer from an input dialog and computes and prints its factorial. b) Write an application that estimates the value of the mathematical constant *e* by using the formula Problem 9:Use a single-subscripted array to solve the following problem: Read in 20 numbers, each of which is between 10 and 100, inclusive. As each number is read, print it only if it is not a duplicate of a number already read. Provide for the “worst case?? (in which all 20 numbers are different). Use the smallest possible array to solve this problem. ## Platform Java
Project ID: 3182066

Om projektet

Distansprojekt
Senaste aktivitet 17 år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag

Om kunden

Flagga för JORDAN
Jordan
0,0
0
Medlem sedan juli 14, 2002

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.