Write a java program that: • Declares two corresponding arrays with size 5, one for employee's name and the other for total salary. • Read employee information: name and working hours. Store the name in name array and calculate the salary as below and store it in salary array. Salary= working hours* 5. • Print on screen the name of employee with minimum salary.
Q: As part of the DBA's end-user support services, explain how to resolve disputes and difficulties to ...
A: Introduction: Increasing End-User Confidence: The only method for DBA to increase end-user confidenc...
Q: Select for what applies to the following Power off - Sleep Restart Hibernate Power on Designed for n...
A: here we have given the options for the given queries, you can find them in step 2.
Q: Computer science question: Draw a circle representing one platter surface of a hard disk. On ...
A: The Answer is in given below steps
Q: Describe the container of the active directory system in your own words. Any four elements of the co...
A: Introduction: Every network component is treated as an object in Active Directory. Objects may also ...
Q: What are the advantages of using cloud computing services? What are the risks and issues associated ...
A: Introduction: Here we are asked multiple questions that are interlinked so only first three will be ...
Q: Program for swift language by using operator precedence and associativity
A: The program is
Q: In time 7 after trace computation for string * :aabbbcccdd machine in state q3 q5 O q6 O q4 O Answer...
A: - We have to trace the state in which the machine will be after 7 times for the string aabbbcccdd. ...
Q: Thirukkural is a popular literary work in Tamil. It consists of 1330 verses, each verse having 2 lin...
A: # Apply same idea if you want in other programming language import mathdef main(): # get the input...
Q: none of them
A: We need to answer:
Q: Unlike most other PC operating systems, the Mac OS stores a large portion of the operating system in...
A: The answer is given in the below step
Q: Computer science What are some of the benefits of data modelling?
A: Introduction: The act of generating a visual representation of an entire information system or secti...
Q: the several types of cybercrime and the consequences of each Determine the most efficient cybercrim...
A: Introduction: a) Cybercrime may be divided into two categories.Type I is the most common. Advance Cy...
Q: The design commonly used in one residential community is of majestic doors and windows. In this comm...
A: It is defined as the rate of change of a quantity y with respect to another quantity x. A derivative...
Q: Can you create a flowgorithm for this below?
A: #include<stdio.h> #include<stdlib.h> #include<stdbool.h> #include<string.h&g...
Q: s it feasible to accomplish any of our goals with the aid of authentication? In this part, we'll loo...
A: Intro To-Do: Make a list of the advantages and disadvantages of different authentication techniques...
Q: Given a fixed number of nodes to construct a binary tree (BT), which of the following types may prod...
A: For a given fixed number of nodes to construct a binary tree (BT), all the given options ie. trees m...
Q: What is a proxy server and how does it work?
A: Introduction: A proxy server connects your computer to the rest of the internet. When you surf the i...
Q: Define your ports.
A: Port is a virtual point where the computer network connections start and end. It is software based a...
Q: What is the significance of the order in which the parameters are provided to a function when it tak...
A: Parameters: The information is passed to a function in the form of parameters. Any number of paramet...
Q: EXERCISE 18 Generate a random integer between 1 and 10. Ask user to guess the number. If user's gues...
A: MATLAB Code:- %random number generation from 1 to 10 inclusive number = randi([1 10],1); %asking n...
Q: * :Vertex in a derivation tree labeled by start symbol O all the mentioned above terminal symbols no...
A: Formal Definitions of Derivation TreeWe can characterize a determination tree of setting free punctu...
Q: understand the use of registers.which displays 9 stars
A: Below Assembly program to understand the use of registers. and display 9 star on the screen along wi...
Q: Define the terms in brief. 1.Data pre processing 2.Data visualization 3. Machine learning
A: Data preprocessing: It is a data mining approach that is utilised to convert the raw data in a prope...
Q: What are the two forms of file access that exist in the world? What exactly is the difference betwee...
A: The question is what are the two forms of file access that exist in the world and what exactly is th...
Q: Discuss about Database Schema and Database State with example? Why Relational Database Model is bett...
A: 1) Database Schema: The database schema is a visual representation of the database. A database sch...
Q: What measures should be followed to assure the stability and availability of a local area network?
A: Introduction: In computing, a local area network (LAN) collects small computers or other workstation...
Q: Computer science Compare and contrast the use of a normalised histogram to other data display techn...
A: Introduction: The advantages of adopting a normalized histogram are as follows: The probability scor...
Q: With the use of HTML and CSS, create an overlay effect whenever you hover over an image. (a) The ove...
A: In this HTML CSS Development, We have to create a HTML, CSS code which will create a overlay effect ...
Q: the chemical changes that occur within the earth and on its surface. Geochemistry Petrology Physical...
A: I have answered both the questions and will understand their studies.
Q: In what ways does object-oriented programming differ from other programming styles
A: Object-oriented programming (or OOP) is a programming worldview, or way of programming. It adopts a ...
Q: be written as
A: given - 100×99×98×...×10 can be written as
Q: What are the benefits of interrupts? What is the difference between an interrupt and a trap? Is it p...
A: An interrupt is a signal which the hardware or software gives when it requires immediate attention.
Q: Online insurance claim forms will experience different states as they go through the approval proces...
A: State Transition diagram is shown below with entire flowchart.
Q: Fill in the blanks. Provide the number immediately before and after the given number in the given ba...
A: here we have given value of before and the after of present values.
Q: What are the commercial implications of the cloud computing movement? Do you know how to work well w...
A: Intro Cloud computing might be a general term that involves delivering hosted services over the web...
Q: What happens if the ios:out function is invoked by itself to open a non-existent file?
A: Introduction: Here we are required to explain what happens if the ios:out function is invoked by its...
Q: The difference between a static data member and a non-static data member of a class is as follows: I...
A: The question is in the real world, describe a situation in which a static data member might be benef...
Q: An acronym is a word formed from the initial letters of words in a s an acronym of the input. Append...
A: In this question, we are asked to write a python code as given . Explained with comments
Q: Find out the value of R7 P[i] is a price of item whose lenght is i meters and array of prices Array ...
A:
Q: How can you ensure that the current working directory's pathname is always presented as part of the ...
A: What is a tcsh command and what it does do? tcsh is a more advanced but completely-compatible versio...
Q: Write an algorithm explanation for switch statement of programming languge. Use swift languge.
A: The answer is
Q: In comparison to statically linked programmes, dynamically linked programmes take up less space on t...
A: Please upvote/like me. I am providing you the correct answer below.
Q: In what ways does object-oriented programming differ from other programming styles
A: I have provided brief answer , in Step 2.
Q: Write a C++ program to calculate a rectangle's area. The program consists of the following function:...
A: It ask user to enter length and width Then it return the area of rectangle along with length and wi...
Q: Write the following java code: Declare an array of int int myArray [] = { 4, 3, 2, 4, 8, 7, 5, 6...
A: As given, we need to write a Java program that declares an array of int and initialize it with given...
Q: he first pla
A: given - What exactly was the purpose of a "fat binary" in the first place?
Q: When implementing an interface, why do you need to implement every single method in the interfac
A: Introduction: Through an interface, a class may become more explicit about the behavior it promises ...
Q: Ali wants to use IPSec and needs to be able to determine the IPSEC policy for traffic based on the p...
A: IPSec Tranport mode allows to select the different policies for its port. IPSec Tunnel mode will not...
Q: What is the POP protocol's purpose?
A: POP stands for Post Office Protocol. It is an internet standard protocol in the application layer of...
Q: The following is correct application of Hypothetical Syllogism: [R Ɔ (QƆ S)] Ɔ (C V D) (C V D) Ɔ (QƆ...
A: A legitimate argument form in classical logic is a hypothetical syllogism, which is a syllogism with...
java
Step by step
Solved in 4 steps with 2 images
- Write a java program that: • Declares two corresponding arrays with size 5, one for employee's name and the other for total salary. • Read employee information: name and working hours. Store the name in name array and calculate the salary as below and store it in salary array. Salary= working hours* 5. • Print on screen the name of employee with minimum salary. Enter Emp 1 name and working hour >> Ahmed 60 Enter Emp 2 name and working hour >> Jaffer 62 Enter Emp 3 name and working hour » Huda 33 Enter Emp 4 name and working hour >> Fatima 44 Enter Emp 5 name and working hour >> Mustafa 50 Huda has the minimum salary 165.0in Java please This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team. (1) Prompt the user to input five pairs of numbers: A player's jersey number (0 - 99, but this is NOT enforced by the program nor tested) and the player's rating (1 - 9, not enforced like jersey numbers). Store the jersey numbers in one int array and the ratings in another int array. Output these arrays (i.e., output the roster) as shown below after inputting the data. Ex Enter player 1's jersey number: 84 Enter player 1's rating: 7 Enter player 2's jersey number: 23 Enter player 2's rating: 4 Enter player 3's jersey number: 4 Enter player 3's rating: 5 Enter player 4's jersey number: 30 Enter player 4's rating: 2 Enter player 5's jersey number: 66 Enter player 5's rating: 9 ROSTER Player 1 -- Jersey number: 84, Rating: 7 Player 2 -- Jersey number: 23, Rating: 4 . . . (2) Implement a menu of options for a user to modify the roster. Each…Write a java program to create prices of Shopping Cart items that provides a menu: 1: Create a new price for each item in the Cart list 2: Print the price of a particular item 0: Exit Enter your choice: Define an array: ShoppingCart which stores prices of items. Define another array: ItemsNames of the same size that stores names of such items. Assume that there are 10 items. When the user presses 1, the program call a method that creates a new price for each item in the array using random numbers between 1 and 1000 AED [not inclusive]. If the user presses 2, the program call a method that prints the name of the requested item and its price. Use switch case statement for choosing among the menu options. Make a method to display the menu to give the user the possibility to use the menu as much as he/she wants.
- Write a java program to create prices of Shopping Cart items that provides a menu: 1: Create a new price for each item in the Cart list 2: Print the price of a particular item 0: Exit Enter your choice: Define an array: ShoppingCart which stores prices of items. Define another array: ItemsNames of the same size that stores names of such items. Assume that there are 10 items. When the user presses 1, the program call a method that creates a new price for each item in the array using random numbersbetween 1 and 1000 AED [not inclusive]. If the user presses 2, the program call a method that prints the name of the requested item and its price. Use switch case statement for choosing among the menu options. Make a method to display the menu to give the user the possibility to use the menu as much as he/she wants.Write a Java program named Findletter that asks the user to enter 10 letters and store them in an array. Then it should ask the user to enter a letter (char value) to search for it. Then, if the entered letter is found, the program should display the message "The letter is in the array", otherwise it should display the message "The letter is not in the array".Write a java program: Question 1 Write a program that allows the user to enter name and grade until "QUIT" is entered for name. The grade should be a number between 0 and 100. If the user input of a grade is not in this range, you should ask the user to re-input the grade. Store all the names in an array called names, and all the grades in an array called grades. Print out all the names and the corresponding grades. For Example, Input Enter name: Alice Enter grade: 90 Enter name: Bob Enter grade: 80 QUIT Expected output Name: Alice, Grade: 90 Name: Bob, Grade: 80
- in java create a two-dimensional array of type double to contain the three different SD Marks (JD521, PRG521, and IP521) for six different students. A single array of type String must be used to store the student names (Maxwell, Carl, Gerhard, Paul, James, and Cena). Allow a user to enter in a number, ranging from 1 to 6, which will represent the student position in the table MCSD max and present the marks for each respecting module. The program can only stop when the user enter a number greater than 6. Printout the student name including the JD521, PRG521, and IP521 max, the total of marks and the average of all marks. Use a condition statement to decide that the student has passed or not (Pass rate is 70).QUESTION 2 Write a Java program to input a single dimensional integer array of size 8. Pass the array to a method named countBigNumbers that return integer. In this method, count the array elements that are bigger than 50 and place them in another array. Display the returned count in main method. Display the two arrays by invoking a method named displayArray. 2 Sample inputs and their outputs are shown below: Input 8 numbers: 5 60 8 99 1 100 7 51 Count of numbers bigger than 50 is 4 Array1 is 5 60 100 51 66 Array2 is 60 99 100 51 Input 8 numbers: 80 19 91 150 37 23 50 49 Count of numbers bigger than 50 is 3 Arrayl is 80 19 91 100 37 23 50 49 Array2 is 80 91 100In java Write a program that uses a 2-D array to store the highest and lowest temperatures for each month of the year. The program should output the average high, average low, and highest and lowest temperatures of the year. Your program must consist of the following methods with their appropriate parameters:a.) getData: This method reads and stores the data in the 2-D array.b.) averageHigh: This method calculates and returns the average high temperature of the year.c.) averageLow: This method calculates and returns the average low temperature of the year.d.) indexHighTemp: This method returns the index of the highest temperature in the array.e.) indexLowTemp: This method returns the index of the lowest temperature in the array.Use the following input:High temp for each month: 30 40 45 60 70 90 89 95 79 90 70 40Low temp for each month: 10 -10 20 30 50 75 85 79 50 80 30 20
- You must write a small application in JAVA that stores SRC candidate names and the votes theyreceived. Your program must:1. Create an array of SRC candidate names. Populate the array with ten names.2. Create an array of votes. Populate the array with the number of votes for every candidate. Thetwo arrays work in parallel.3. Print the name of every candidate with his/her number of votes.4. Print the total number of votes casted.5. Add votes for a specific candidate.a. Read the name of the candidateb. Add one vote for the specific candidatec. Print the name of the candidate and his/her number of votesWrite a Java program to display three monthly sales of different vehicle types. The rows and columns represent the monthly sales of each vehicle type. JAN FEB MAR SUV 25 15 35 COUPE 25 55 35 SEDAN 11 20 45 VAN 17 27 25 Using a Two-Dimensional array, produce the vehicle type sales report and the total sales made foreach vehicle type. If the total sales made per month are greater than or equal to 100, gold statusis awarded. If the monthly sales are less than 100, silver status is awarded. (in java form with instructions)Write a Java program to display a three_month delivery report for three different years. The following rows and columns represents the deliveries made for each year Jan Feb Mar DELIVERIES 2018 128 135 139 DELIVERIES 2019 155 129 175 DELIVERIES 2020 129 130 185 Use a Two-Dimensional array, produce the deliveries report, including the deliveries made statistics. The deliveries made statistic must display the total, maximum and minimum deliveries made in the two-dimensional array.