Write a program in Java that asks the user to enter four weighted assessment grades, calculate the average, then display the average with the message: "Student Pass" if the average is greater than or equal 60 or the message "Student Fail" otherwise. The details of the assessments and weights are as follow: Homeworks: 20% Labs: 15% Midterm: 25% Final: 40%

Answers

Answer 1

Answer:

Explanation:

In order to calculate the weighted average, the grade itself is multiplied by the percentage of the category and then these values are summed. This sum is then divided by the total percentage of the portfolio.

import java.util.Scanner;

class Main {

   public static void main(String[] args) {

       double sumOfWeights = 100;

       

       

       Scanner in = new Scanner(System.in);

       

       System.out.println("Please Enter Homework Grade: ");

       double homework = in.nextDouble() * 20;

       System.out.println("Please Enter Labs Grade: ");

       double labs = in.nextDouble() * 15;

       System.out.println("Please Enter Midterm Grade: ");

       double midterm = in.nextDouble() * 25;

       System.out.println("Please Enter Final Grade: ");

       double finals = in.nextDouble() * 40;

       

       double average = (homework + labs + midterm + finals) / sumOfWeights;

       System.out.println("The Average of these Weighted Grades is " + average);

   }

   

}


Related Questions

The programs that run on a computer are called:

Answers

Software.............

Help!!!!!!
please
Who will give the answer I'll mark him/her as brainlist..​

Answers

17, 12.5, 6, and 10. HOPE THIS HELPS

mr joel borrowed $126000 from the bank for 5 years and paid $17000 calculate the rate percent per annum that he had to pay the bank.​

Answers

yeah that’s a lot of money. Thanks for point

Can someone tell me how to hit on a link on Brainly to see the answer

Answers

no, please do not hit on links. they're viruses i'm pretty sure.
Make sure to report the answer just in case

Brainliest for correct answer :)
a. X = A NOR B
b. X= NOT (A OR B)
c. X = A OR B

Answers

the answer is A, the logic circuit is a NOR

HELP MY TABLET KEEPS ON REBOOTING I TRIED TO FACTORY RESET BUT IT KEEPS ON REBOOTING

Answers

Answer: try to restart It

Explanation:Random reboots can happen because of problems with the firmware, but can also be due to some app you installed that is making the system unstable, or perhaps some bad bit of data that is in the system cache. A corrupt SD card can also cause problems.

Answer: it most likely a thrid party app that is causing this

Explanation: Random restart problems are sometimes caused by a bad third party app. To check if that's the case here, try running your tablet on safe mode and observe. If it works normally and won't restart on safe mode for some time, that can mean that an app is causing the trouble.Mar 6, 2021

1 pts Question 5 Which of the following calculations would evaluate to 12? (36) + 2/2, 3* ((6+2)/2), 3* 6+2/2, (306+ 2)/2​

Answers

Answer:

Could you seperate them if they are different answers? I'm lost, sorry!

Explanation:

Give 3 features and uses of
Desktop
laptop
palmtop computer

Answers

Answer:

A Palmtop or hand-held personal computer is small enough to hold in one hand and operate with the other. Also called a handtop, these ultra-small computers may have specialized keyboards or keypads for data entry applications or have small qwerty keyboards.

• Palmtops are also called PDAs, hand-held computers and pocket computers.

• Palmtop or hand-held personal computer, lightweight, small, battery-powered, general-purpose programmable computer. It typically has a miniaturized full-function, typewriter like keyboard for input and a small, full color, liquid-crystal display for output. In addition to an operating system that is compatible with that of a desktop computer, a palmtop will typically contain a word processor, a spreadsheet program, and a calendar and phone book. A variety of other programs can be loaded and executed, and data can usually be transferred to and from a desktop computer. Although some palmtops are like personal digital assistants in that they accept handwritten or touch screen input, they generally differ in that the palmtop has more memory, a keyboard, and a greater variety of available programs.

Explanation:

x = 0
while x < 4:
print(x)
x += 1
Make it a for loop

Answers

Answer: Here you go :)

Explanation:

x = 0

for n in range(4):

  print(x)

how can you send and share a message information through a phone​

Answers

Answer:

Through text message

Explanation:

Go to messages and select the text you want to share and save it to your clipboard then go to the person you want to send it to then hit the clipboard button and your text will be there.

Through text messages

Go to messages and select the text you want to share and save it to your clipboard then go to the person you want to send it to then hit the clipboard button and your text will be there!

An example of software is a

Answers

Answer: false

Explanation:

Here is the API for a robot library.
// moves the robot forward
function moveForward();

// turns the robot to the left
function rotateLeft();

// turns the robot to the right
function rotateRight();

// checks if a robot can move in any direction
// direction {string} - the direction to be checked
// return {Boolean} - true if the robot can move in that direction, otherwise returns false
function canMove(direction);
Which code segment will guarantee that the robot makes it to the gray square without hitting a wall or a barrier (black square)?



A.
B.
C.
D.

Answers

Answer:

hi

Explanation:

Using cell references enter a formula in B6 to calculate monthly payments for the loan described in this worksheet Omit the optional arguement use a negative value for pv

Answers

Answer:

= PMT(B4/B2, B2 * B3, B1)

Explanation:

The syntax to use is:

= PMT(Rate,NPER, PV)

To answer this question, the following assumptions will be made.

B1 = Present Value i.e. PV

B2 = Number of Payment Period i.e n

B3 = Duration (in years)

B4 = Rate

So, the formula to enter in B6 is:

= PMT(B4/B2, B2 * B3, B1)

The above formula will return the monthly payment in cell B6

When you insert a copy of Excel data into a Word document the data is __________ in the Word document

Answers

Answer:

I don't know if I get a chance to get through

1) "Information systems are revolutionizing the way businesses function in the 21st century," Do you agree or disagree with this statement? Provide evidence to support your position, (2 points)​

Answers

Answer:

true

Explanation:

everything is computerized. banks, shopping, financial business records, ect

how to use function in python

Answers

Answer:

Use the keyword def to declare the function and follow this up with the function name.

Add parameters to the function: they should be within the parentheses of the function. ...

Add statements that the functions should execute.

I need help please and thank you

Answers

Answer:

Explanation: For "BEST way to handle the situation," try Option 1, because it would possibly help them or make the Technical Support Representative do less work.

For "WORST way to handle the situation," Option 4 would be the best because you're basically just hanging up on the person.

who wants to trade ro^lox accounts

Answers

make me brainlestttt please and thank you and the answer is no

A cell is the intersection of a row and a column, identified by a letter and number.

True or false

Answers

Answer: True

hello how are you

Answer: True hope it helps

Given the following class code: public class RecurseSample { public static void main(String[] args) { System.out.println(recurse(3)); } public static int recurse(int n) { int total = 0; if (n == 0) { return 0; } else { total = 3 + recurse(n - 1); } return total; } } What values will be printed when this code is executed?

Answers

Answer:

The output of the given code is "9".

Explanation:

In this question, a class "RecurseSample" inside the class a "recurse" method is declared that holds that holds an integer variable as the parameter, and inside the method a total variable is declared and uses a conditional statement to check the n variable value that is equal to 0 if it is true it will return 0. In the else block it call the method and add value in the total variable, and returns its value. In the main method, the print method is used that prints the above method values.

NEED ANSWERS ASAP 50 POINtTS!!!!
Katie wants to use VLOOKUP for a column in a table. Which value of the mode parameter should she use to look for an exact match of the searched data?
Katie should use the __ value of mode parameter for an exact match with the searched data.

Answers

Answer:

The exact match mode is the mode parameter that Katie should use to look for an exact match of the searched data

Further Explanation:

The VLOOKUP function in Excel helps us search for and retrieve information from a particular column in a table and lookups a value in the left-most column of the table. It has two modes of matching.

Exact matching – When you perform a range_lookup, an argument FALSE is defined to mean that there is an exact match of the return value.

To achieve this, select a cell in your Excel worksheet

Type =VLOOKUP in the type bar of the Excel sheet

Select the value to look up and then select the data range

Type the column number that you want to search and then type FALSE

Press enter

Answer:

The exact match mode is the mode parameter that Katie should use to look for an exact match of the searched data

Explanation:

The VLOOKUP function in Excel helps us search for and retrieve information from a particular column in a table and lookups a value in the left-most column of the table. It has two modes of matching.

Exact matching – When you perform a range_lookup, an argument FALSE is defined to mean that there is an exact match of the return value.

To achieve this, select a cell in your Excel worksheet

Type =VLOOKUP in the type bar of the Excel sheet

Select the value to look up and then select the data range

Type the column number that you want to search and then type FALSE

Press enter

Can someone please answer these, I'm tired of wasting points on questions that no one answers.

Describe the respective benefits of participatory design and contextual design, with examples of situations in which each might be preferred.

Outline which activities involve mathematical reasoning skills..

Explain the most appropriate methods to use in designing a product for the user in the following scenario, including aspects of the user interface that might need special attention.
Situation: A researcher approaches a designer with a request for a computer interface that will allow the evaluation of the ways children process spatial relationships and the various changes as they learn and develop. The computer interface will not have to perform any task but to play visual spatial games, recording and analyzing all elements in how children between the ages of 2 and 5 manipulate visual objects on a screen.

Answers

What format do you need it in?

Each menu title in an application does not need to have a unique access key.

Answers

Answer:

Explanation:

True

What is the purpose of the website directory provided by the website host?

A. to look up user account information
B. to provide help and training for new customers
C. to store all of a website’s content files
D. to archive website usage logs

Answers

Answer:

mabye A

Explana

.

.

.

9. A convex lens of focal length 8 cm forms a real image of the same size as th
object. What will the distance between the object and its image be:
1) 32cm
2) 8cm
3)16cm
4)24cm​

Answers

Answer: 32cm

Explanation:

Since the focal length of the convex lens is 8cm, the distance between the object and its image be 4f which will be:

= 4 × f

= 4 × focal length

= 4 × 8

= 32cm

The distance between the object and its image is 32cm.

Having sound enhances your App, do you agree with this? Explain.

Answers

Answer:

Yes, it does.

Explanation:

I mean, having some sort of audio feedback is obviously useful for a user.

(If it's a media-content-viewer, of course you need sound)

We should discuss some cases here:

1. In case it's a game, sound enhances the experience of the virtual world, by creating what is called an "ambience", or the acoustical surroundings of the environment since you can perceive stuff without the need to look at it.

2. Other apps: It makes the app seem more friendly and comfortable to use, especially if partnered with an animation

Activity in September 2014, the Federal Bureau of Investigation (FBI) announced that is next generation Idenufication system was fully functional The FBI named it the integrated Automated Fingerprint Identification system (IAFIS), Conduct online research on this system and answer the following questions 1. Which elements can be stored in IAFIS? 2. What is the response time of this system? 1. How has this system benefited the FBI​

Answers

Answer:

(Answers may vary.)

In addition to fingerprints, IAFIS stores criminal histories, mug shots, and physical information like scars, tattoos, eye color, hair color, weight, and height. It also stores fingerprints of individuals who are or were employed by the US military and the federal government.

The system’s average response time for criminal fingerprint processing is about 27 minutes. Civil fingerprint processing takes over an hour.

Previously, the tenprint submission and identification was a manual, tedious process. It took the FBI weeks or months to process a single fingerprint submission. IAFIS has automated this process and added advanced identification capabilities. The submission and processing takes just few minutes. This has helped the FBI solve and prevent crime and tighten holds on criminals and terrorists.

Explanation:

Sharon wants to include her name on each slide in her science presentation. Where in the Header and Footer dialog box would she type her name?

Answers

Answer:

She will type her name in the Footer

Explanation:

To answer this question, I will assume Sharon is using the Microsoft Office PowerPoint package to handle her presentation.

In PowerPoint, the footer helps users to add names or any other details on every slide.

To do this:

Go to INSERT in the menu barThen, go to Text menuSelect Header & Footer to open the boxCheck the Footer optionEnter the text in the provided text box(This is where Sharon will enter her name)Lastly, click Apply to All to effect the changes

while
norma
mean
cinta
to the user
a.) Define the term microcomputers.​

Answers

Explanation:

Microcomputers are computers designed around a microprocessor, smaller than a minicomputers or a mainframes.

Hope it will help :)❤

In the Business world people are often measured by their???
A- soft skills
B- hobbies
C- iq
D- technical skills

Answers

Answer:

D

Explanation:

You need skills to succeed!!

Answer is D !!!!!!!!
Other Questions
Help plzzzz for points 30 points Pool is to swim, as bed is to sleep.What figurative language is this Which is the following is an example of liquid surface water?A zone of saturationB) aquiferC) lake please HELP BRAINIEST Identify the center and radius of the circle with the following equation: [tex]x^2+y^2+4x+8y+11=0[/tex] What do you like about Georgia O'keeffe work? 494 L= ___________mL How can you use transformations to solve problems?Choose all that are correctYou can use translations to describe a change in the shape of a figure.BYou can use reflections to describe a change in the size of a figure.C.You can use rotations to describe a change in the position of a figure. Which of the following statements represent the relationship between the sine and cosine of complementary angles? Select all that apply A super is having a sale on tomatoes, 4 tomatoes for $.98. How much would it cost to buy 10 tomatoes The Johnson family went out to lunch. The meal cost $46.72. . The sales tax was 8% of the cost of the meal. The tip was 15% of the meal and sales tax. There are 4 people in the Johnson family.How much did the meal cost per person, including sales tak and tip?A. $14.00B. $14.50C. $14.95D. $15.25 Mr. Brown purchased 5.75 pounds of chicken that cost $2.40 per pound How much change should he receive if he pays with a $20 bill? a) what is an epicenter of an earthquake A manufacturer of chocolate chips would like to know whether its bag filling machine works correctly at the 403 gram setting. It is believed that the machine is underfilling or overfilling the bags. A 10 bag sample had a mean of 411 grams with a variance of 121. Assume the population is normally distributed. Is there sufficient evidence at the 0.01 level that the bags are underfilled or overfilled Which of the following statements BEST describes the tone of "The Pasture"?A It is like a teacher talking to other teachers.B It is like a man considering his life.C It is like a boy writing a list of chores.D It is like a father talking to his son. Describe the man that the group confronts at the Central Intelligence Centre? A Wrinkle In Time. 1 ptsWhich of the following are examples of discontinuous variation? (select all that apply) I Need help plz will give brainlyist for the correct answer A bookmark is shaped like a rectangle with a semicircle attached at both ends. The rectangle is 14 cm long and 4 cm wide. The diameter of each circle is the width of the rectangle. What is the area of the bookmark? Use 3.14 for . _____The area of the bookmark is_____cm2. Please help me with this