Java program

 

Write a Java program as follows:
(1) Prompt the user which action they want to take:
(a) Convert cubic feet to U.S. bushels
(b) Convert miles to kilometers
(c) Determine graduation with honors title
(d) Exit program
(2) Programs at a minimum must have the following methods:
(a) Convert square feet method gets square feet and returns cubic yards
(b) Convert to height method that gets height in inches and returns meters
(c) Determine graduation with honors title method that gets GPA and returns honors title
value
(3) For each action, the user should be prompted for corresponding data and given the
appropriateoutput
(4) User should be able to select one action and then get prompted again for selection until they
select exit choice
Use the following for calculations or category determination
• To convert from cubic feet to U.S. bushels use the formula: 1 cubic foot = 0.803564 U.S. bushel
• To convert from miles to kilometers use the following formula: 1 mile = 1.60934 km
• To determine graduation with the Honors title, create a method that uses a switch statement and the
following ranges
• For categories use:
o Cum Laude 3.5-3.7
o Magna Cum Laude 3.8-3.9
o Summa Cum Laude 4.0+
Test program:
A minimum of 4 test cases should be supplied in the form of a table with columns indicating the
input values, expected output, actual output, and if the test case passed or failed. This table
shouldcontain 4 columns with appropriate labels and a row for each test case. An example
template is shown below. Note that the actual output should be the actual results you receive
when running your program and applying the input for the test record.
Make sure your Java program is using the recommended style such as:
• Javadoc comment upfront with your name as author, date, and brief purpose of the
program
• Comments for variables and blocks of code to describe major functionality
• Meaningful variable names and prompts
• Identifiers are written in upper CamelCase

Sample Solution

is exposition I will talk about the associations between authority, inspiration and cooperation hypotheses, how they interface with training in associations and their limits, offering arrangements where difficulties emerge. The exposition plans to make inferences on the reasonableness of Fiedler’s Contingency Theory of Leadership, Tuckman’s Model of Group Development, Belbin’s Team Theory, and Herzberg’s Two Factor Theory practically speaking, and how intricacies like power and impact shape how they can be applied to best suit what is going on a pioneer faces.

Initiative Contingency based speculations of authority propose that there is no right or most ideal way to lead a gathering, or association, because of the critical number of limitations on a circumstance (Flinsch-Rodriguez, 2019). Fiedler, in his Contingency Theory of Leadership (Fiedler, 1967), proposes that the viability of a gathering is reliant upon the authority styles of the pioneer and their favourability to everything going on. A significant part of the hypothesis is laid out around the most un-favored associate scale (LPC). The LPC expects to measure a potential chiefs way to deal with an errand on a size of relationship persuaded to task roused, where the pioneer fits on the scale permits what is going on to be derived, and accordingly permits the recognizable proof of reasonable pioneers for assignments. The favourableness of the present circumstance relies upon three attributes: pioneer part relations, the help and trust the pioneer as from the gathering; task structure, the lucidity of the assignment to the pioneer; and positional power, the power the pioneer needs to survey a gatherings execution and give prizes and disciplines (Fiedler, 1967). In the event that the pioneers approach matches what is expected from going on, achievement is anticipated for the gathering. Fiedler’s possibility model offers an extremely stark categorisation of authority, obviously characterizing which circumstances endlessly won’t bring about progress for a likely pioneer. At the senior administration level of a hierarchal construction inside an association the hypothesis can be applied openly, right off the bat because of the simplicity at which people can be supplanted on the off chance that their LPC score doesn’t match that expected of everything going on (Pettinger, 2007). Furthermore, and above all, is to guarantee that the senior administration are ideally suited to effectively lead the association. In any case, further down the ordered progression Fielder’s possibility hypothesis starts to hold considerably less pertinence, it becomes unfeasible according to a hierarchical point of view because of the quantity of individuals at this degree of authority. The planned operations of coordinating the pioneer with their most un-favored collaborator is difficult to reliably accomplish, so a more continuum based approach is required. Figure 1: Chelladurai’s Multi-Dimensional Model of Leadership (Miller and Cronin, 2012)

There are other possibility speculations that give a more continuum based approach like Redding’s hypothesis of administration and the board, but Fielder’s depiction of how situational factors influence the authority style expected for everything going on is very valuable in figuring out the essentials of initiative (Pettinger, 2007). Chelladurai in his Multi Dimensional Model of Leadership, develops a lot of Fiedler’s hypothesis however in a continuum based approach, in which the pioneer can adjust their administration style to fit everything going on (Chelladurai and Madella, 2006). Chelladurai’s hypothesis is taken from sports psycholo

This question has been answered.

Get Answer
WeCreativez WhatsApp Support
Our customer support team is here to answer your questions. Ask us anything!
👋 Hi, Welcome to Compliant Papers.