_is necessary for the health growth of bones and teeth fill ups​

Answers

Answer 1

Answer:

Calcium

Explanation:

Calcium is a necessity and makes your bones stronger. It typically comes in milk.


Related Questions

Microsoft Word is ________________ software.

Question 1 options:

Application


Compiler


System


Programming

Answers

Answer:

Application

Explanation:

Word is used to change things and make things

Maxwell says three things Level Two Leaders do well are:
O Recruit people, equip people, and place workers in the right place.
Position others in the correct departments, listen to others, and equip others.
Equip people well, let go of controlling others, and compound others.
Listen to others, observe what others do, learn to serve others.

Answers

Answer:

true

Explanation:

Which of the following is NOT true about adjustment layers? brainbuffet

Answers

Answer the adjustment layers can not be used a lot?

Explanation: i think that was it

Answer:

Initial settings can not be modified, only layer opacity.

Explanation:

In a word processing program, under which tab or menu option can you adjust the picture brightness? A. Insert B. Format C. View D. Page Layout

Answers

Answer:

B. Format

Explanation:

You must have selected a picture in order the tab Format to be available. You should click the picture that you want to change the brightness for and u under Picture Tools, on the Format tab, in the Adjust group, click Corrections. And the correct option is the Format tab.

Give an example of a class and an example of an object. Describe what a class is, what an object is, and how they are related. Use your examples to illustrate the descriptions.

Answers

Answer:

Science. Science is where you learn about the worlds enviroment.

Book. A Book is a object that has words in it that you can read. It has sometimes thick pages or thin pages.

Television broadcasts were originally delivered by using which technology

Answers

Answer:

Wireless technology.

Explanation:

In earlier years, the broadcasting of information or any video or audio type was done "over-the-air". This means that sharing or the distribution of any content was done "wireless", through the use of transmitters that are wireless or requires no physical connecting wires.

Wireless technological form of broadcasting became the original form of distributing media, be it entertainment, news or information, etc. This 'over-the-air' broadcasting was then replaced by the cabled-wires transmission later on.

The technology through which Television broadcasts were originally delivered was through:

Wireless technology.

According to the given question, we are asked to state the technology through which Television broadcasts were originally delivered

As a result of this, we can see that in the earlier years, there was the use of wireless technology to relay the transmissions of information through radio waves or short waves and did not require any physical connection of wires.

'Read more about Wireless technology here:

https://brainly.com/question/25633298

The most secure form of encryption is referred to as

WEP.

WPA.

ISP.

RFID.

Answers

Answer:

the answer is b. WPA

Explanation:

Answer:

WPA

Explanation:

Which of the following best describes a server?

-a computer that provides special services to client computers on demand
-a computer that requests special services from a client computer
-a computer that is not part of a network
-a computer that also functions as a printer

Answers

Answer:

The answer is A-a computer that provides special service to client computers on demand.

Explanation:

Edge 2020

A computer that provides special services to client computers on demand is best describes a server. Hence, option A is correct.

What is server?

A computer program or appliance that serves a remote server and its user, also known as the client, is referenced to as a server. The actual computer that a server program runs on in a data centre is also frequently referred to as a server.

Any server, network computer, software, or device that handles client requests, see client-server architecture. For instance, a Web server on the World Wide Web is a computer that utilizes the HTTP protocol to transfer Web pages to a client's computer in response to a client request.

Data is sent, received, and stored by a server. It basically serves another purpose and is there to offer services. One or more services may be offered via a server, which can be a computer, software application, or even a storage device.

Thus, option A is correct.

For more details about server, click here:

https://brainly.com/question/7007432

#SPJ2

Write three tasks students can perform in a digital classroom.

Answers

Students can perform several tasks in a digital environment. For example, they can watch instructional videos, take notes, and participate in peer discussions.

A digital classroom is a study space that has been electronically improved and allows students to use the internet and web-based applications to improve their learning.

What is digital classroom?

A digital classroom is one that improves student learning by utilizing computers, tablets, the internet, and instructional software.

The digital classroom can be a supplement to the physical classroom, offering more chances for study and cooperation.

A digital classroom is a learning environment that has been enhanced electronically so that students can access the internet and web-based tools to enhance their learning.

The following tasks could be carried out in such a setting:

Using apps for meetings and online forums to collaborate with colleagues.The ability to access more educational content and materials from pertinent websites and applications.Online tests and assignments allowed for real-time progress monitoring for students.

Thus, a digital classroom's capabilities give students the resources they need for easier, more seamless learning.

For more details regarding digital classroom, visit:

https://brainly.com/question/4178835

#SPJ6


How would you explain a number system to someone who had never seen numbers before

Answers

Answer:

Use a number of items (likes apples) to show the amount each number correlates to.

Explanation:

java Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go east/west. Auxiliary highways are numbered 100-999, and service the primary highway indicated by the rightmost two digits. Thus, I-405 services I-5, and I-290 services I-90. Given a highway number, indicate whether it is a primary or auxiliary highway. If auxiliary, indicate what primary highway it serves. Also indicate if the (primary) highway runs north/south or east/west. Ex: If the input is: 90 the output is: I-90 is primary, going east/west. Ex: If the input is: 290

Answers

Answer:

Here is the JAVA program:

import java.util.Scanner;  // to accept input from user

public class Main{  // class name

  public static void main(String[] args) { // start of main function

      Scanner input = new Scanner(System.in);  // creates Scanner class object to take and scan input from user

      int highwayNum;  //to hold value of highway number

      int primaryNum;  //to hold value of primary number

      highwayNum = input.nextInt();  //scans and takes input value of highwayNum from user

       

      if(highwayNum<1 || highwayNum>999) //if highway number is less than 1 or greater than 999

          System.out.println(highwayNum+" is not a valid interstate highway number.");  //display this message if above if statement is true

           

      else{  //when above if statement is false

          if(highwayNum>=1 && highwayNum<=99){  //checks if highway number is greater than equal to 1 and less than equal to 99

              System.out.print("I-"+highwayNum+" is primary, going ");

              if(highwayNum%2==0)  //checks for the even highway number

                  System.out.println("east/west.");  //prints this if highway number is even

              else  //if highway number is odd

                  System.out.println("north/south.");    }  //prints this if highway number is odd

                   

          else{ // if auxiliary number

              primaryNum = highwayNum%100;  //computes primary number

              System.out.print("I-"+highwayNum+" is auxillary, serving I-"+primaryNum+", going ");  //displays the auxiliary number and which primary number it is serving

              if(primaryNum%2==0)  //if primary number is even

                  System.out.println("east/west.");  //displays this if primaryNum is even

              else  //when primaryNum is odd

                  System.out.println("north/south."); } }  }}//displays this if primaryNum is odd

Explanation:

I will explain the program with an example:

Suppose user enters 90 as highway number So

highwayNum = 90

if(highwayNum<1 || highwayNum>999)

This if condition evaluates to false because highwayNum is 90 and its not less than 1 or greater than 999.

So else part executes which has an if statement:

if(highwayNum>=1 && highwayNum<=99)

This statement evaluates to true because highwayNum is 90 so it lies between 1 and 99 inclusive. So the statement inside this if condition executes:

System.out.print("I-"+highwayNum+" is primary, going ");

This statement prints the following message on output screen:

I-90 is primary going

Now next statement if(highwayNum%2==0) checks if highwayNum is completely divisible by 2 and is an even number. This takes the mode of highwayNum by 2 and returns the remainder. 90%2 is 0 because 90 is completely divisible by 2 and hence it is an even number. So this if condition evaluates to true and program control moves to the statement:

System.out.println("east/west."); which prints east/west on the output screen. Hence the output of the entire program is:

I-90 is primary, going east/west.

Screenshot of the program along with its output is attached.

The macro command is available on the ___ tab
Home
Insert
View
Design

Answers

Answer:

The marco command is available on the VIEW tab.  

Your welcome!!!

The word wrap feature

Question 9 options:

Automatically moves text to the next line when necessary


Appears at the bottom of the document


Allows you to type over text


Is the short horizontal line

Answers

Answer:

automatically moves the text to the next line if necessary

Answer:

automatically moves text to the next line when necessary

What feature adjusts the top and bottom margins so that the text is centered vertically on the printed page?

Question 6 options:

Vertical centering


Vertical justifying


Vertical adjusting


Dual centering

Answers

Answer:

Vertical justifying

Explanation:

Which of these devices must be installed in every individual computing device on the
network? Choose the answer.
network adapter
router
switch
repeater

Answers

The answer is network adapter:)

Answer:

network adapter

Explanation:

took the test

A user can easily moved to the end of document by pressing what key combination?
Ctrl+Down
Ctrl+end
Ctrl+E
Alr+end

Answers

Which element is located on the top left of the Word screen? Quick Access toolbar

Which key combination will move the user to the beginning of the document? Ctrl+Home

A user can easily move to the end of a document by pressing the _____ key combination. Ctrl+End

Write an application that accepts a word from a user and converts it to Pig Latin. If a word starts with a consonant, the Pig Latin version removes all consonants from the beginning of the word and places them at the end, followed by ay. For example, cricket becomes icketcray. If a word starts with a vowel, the Pig Latin version is the original word with ay added to the end. For example, apple becomes appleay. If y is the first letter in a word, it is treated as a consonant; otherwise, it is treated as a vowel. For example, young becomes oungyay, but system becomes ystemsay. For this program, assume that the user will enter only a single word consisting of all lowercase letters.

Answers

Answer:

Written in Python

word = input("Word: ")

if(word[0]=='a' or word[0]=='e' or word[0]=='i' or word[0] =='o' or word[0]=='u'):

     print(word+"ay")

else:

     a = word[1:]

     print(a+word[0]+"ay")

Explanation:

The program was written in Python and I've added the explanation as an attachment; where I used comments as explanations

18. When you turn off the power to a computer and unplug it at night, it loses the date, and you must reenter it each morning. What is the problem and how do you solve it?

Answers

Answer:

If this is a Mac, it's a common problem and there isn't anything to fix it because it's just like that. I reccomend unplugging the computer and NOT signing off. Because of that, that may be why it is the problem for you. I do not know about Windows Computers, but this is some info that applies with all computers.

Explanation:

Answer:

this is what the battery on your motherboard is for. Also as long as you are connected to wifi, then it will sync your computer time with the current timezone you are in.

Explanation:

Which of the following option is not available in Insert>>Picture?

Question 10 options:

Chart


Word art


Clip art


Graph

Answers

Answer:

Word art

Explanation:

its copy and paste

Answer:

Graph

Explanation:

I took the quiz it is the right answer.

What line of code will import matplotlib in it

Answers

Answer:

import matplotlib

Explanation:

Write a Java program that can compute the interest on the next monthly mortgage payment. The program reads the balance and the annual percentage interest rate from the console.
The interest rate should be entered as a percentage value and not as a floating-point number (e.g.: for an interest rate of 4.25%, the user should enter 4.25, and not 0.0425). The program should check to be sure that the inputs of balance and the interest rate are not negative. The program should then compute and display the interest amount as a floating-point number with 2 digits after the floating point.
Formula: the interest on the next monthly mortgage payment can be computed using the following formula: Interest = balance x (annualInterestRate / 1200)

Answers

Answer:

import java.util.Scanner;

public class Main

{

public static void main(String[] args) {

    Scanner input = new Scanner(System.in);

   

    double balance, rate, interest;

   

 System.out.print("Enter the balance: ");

 balance = input.nextDouble();

 

 System.out.print("Enter the annual percentage interest rate [%4.25 must be entered as 4.25]: ");

 rate = input.nextDouble();

 

 if(balance < 0 || rate < 0)

     System.out.println("The balance and/or interest rate cannot be negative!");

 else{

     interest = balance * (rate / 1200);

     System.out.printf("The interest amount $%.2f", interest);

 }

}

}

Explanation:

Ask the user to enter the balance

Ask the user to enter the interest rate as given format

Check the balance and rate. If any negative value is entered, print an error message. Otherwise, calculate the interest using the given formula and print the interest in required format

Write a method called priceIsRight that mimics the guessing rules from the game show The Price is Right. The method accepts as parameters an array of integers representing the contestants’ bids and an integer representing a correct price. The method returns the element in the bids array that is closets in value to the correct price without being larger than that price. For example, is an array called bids stores the value {200, 300, 250, 1, 950, 40} the call of priceIsRight(bids, 280) should return 250, since 250 is the bid closets to 280 without going over 280. If all bids are larger than the correct price, your method should return -1.

Answers

Answer:

Here is the method :

public static int priceIsRight(int[] bids, int correctPrice) { /*definition of method priceIsRight that accepts as parameters an array of integers representing the contestants’ bids and an integer representing a correct price */

   int nearest = -1;  //initializes the closest value to -1

   for(int i = 0; i < bids.length; i++) { //iterates through the bids array until length of the bids array reaches

       if(bids[i] <= correctPrice && bids[i] > nearest) //checks the element of the bids array that is closest (nearest) in value to the correct price without being larger than that price

           nearest = bids[i];    }    //sets that element of bids at index i which is closest to correcPrice to nearest variable

   return nearest; } //returns the element in the bids array that is nearest in value to the correctPrice

Explanation:

To check the working of the above method you can call this function in main()

public static void main(String[] args) { //start of main function    

    int[] bids = {200, 300, 250, 1, 950, 40}; //declares and array and assigns elements to it

    System.out.println(priceIsRight(bids,280)); } } //calls priceIsRight method by passing the bids array and 280 as correct price

The method works as follows:

Suppose we have an array called bids with elements {200, 300, 250, 1, 950, 40}

nearest = -1

correctPrice = 280

The for loop for(int i = 0; i < bids.length; i++) works as follows:

At first iteration:

i = 0

i< bids.length is true because i=0 and bids.length = 6

so program control moves inside the loop body:

if(bids[i] <= correctPrice && bids[i] > nearest) this if statement becomes:

if(bids[0] <= correctPrice && bids[0] > nearest)

This if condition has two parts and it uses && AND logical operator between them so both of the conditions should hold  for the if condition to evaluate to true.

bids[0] <= correctPrice

the element at 0-th index of bids array is 200 and correctPrice= 280 So 200 is less than 280. This part of if condition is true.

bids[0] > nearest

the element at 0-th index of bids array is 200 and nearest = -1. So 200 is greater than -1. Hence this part of if condition is also true.

Hence both the parts of the if statement are true and if condition evaluates to true. So the program control moves to the statement:

nearest = bids[i];

This becomes:

nearest = bids[0]

nearest = 200

At second iteration:

i = 1

i< bids.length is true as i=1 and bids.length = 6

so program control moves inside the loop body:

if(bids[1] <= correctPrice && bids[1] > nearest) this if statement becomes:

if(bids[1] <= correctPrice && bids[1] > nearest)

bids[1] <= correctPrice

the element at 1st index of bids array is 300 and correctPrice= 280 So 300 is greater than 280. This part of if condition is false.

So the if condition evaluates to false. So the value of nearest remains the same.

nearest = 200

At third iteration:

i = 2

i< bids.length is true as i=2 and bids.length = 6

if statement becomes:

if(bids[2] <= correctPrice && bids[2] > nearest)

bids[0] <= correctPrice

the element at 2nd index of bids array is 250 and correctPrice= 280 So 250 is less than 280. This part of if condition is true.

bids[2] > nearest

the element at 2nd index of bids array is 250 and nearest = 200. So 250 is greater than 200. Hence this part of if condition is also true.

Hence  if condition evaluates to true. So the program control moves to the statement:

nearest = bids[i];

nearest = bids[2]

nearest = 250

At fourth iteration:

i = 3

i< bids.length is true because i=1 and bids.length = 6

if statement becomes:

if(bids[3] <= correctPrice && bids[1] > nearest)

bids[3] <= correctPrice

the element at third index of bids array is 1 and correctPrice= 280 So 1 is less than 280. This part of if condition is true.

bids[3] > nearest

the element at 3rd index of bids array is 1 and nearest = 250. So 1 is less than 200. Hence this part of if condition is false. So value of nearest remains the same

nearest = 250

At fifth iteration:

i = 4

i< bids.length is true because i=4 and bids.length = 6

if statement becomes:

if(bids[4] <= correctPrice && bids[4] > nearest)

bids[4] <= correctPrice

the element at 4th index of bids array is 950 and correctPrice= 280 So 950 is greater than 280. This part of if condition is false.

So the if condition evaluates to false. Hence

nearest = 250

At sixth iteration:

i = 5

i< bids.length is true because i=5 and bids.length = 6

so program control moves inside the loop body:

if statement becomes:

if(bids[5] <= correctPrice && bids[5] > nearest)

bids[5] <= correctPrice

the element at fifth index of bids array is 40 and correctPrice= 280 So 40 is less than 280. This part of if condition is true.

bids[5] > nearest

the element at 5th index of bids array is 40 and nearest = 250. So 40 is less than 250. Hence this part of if condition is false. So value of nearest remains the same

nearest = 250

Now the loop breaks at i = 6 because i < bids.length condition evaluates to false.

The statement return nearest; executes now. This returns the value of nearest. So this method returns 250.

in terms of technology what is software defined as ?

Answers

Answer:

the ability to control some or all of the functions of a system using software.

Explanation:

I'm Not Sure How To Explain But The Answer Is Verified. ✔️

Answer:

Is a computer’s applications and programs.

Explanation:

Basic definition

Which of the following changes would be LEAST LIKELY lead to economic growth in a country?
A. declines in labor productivity B. increases in education level C. investment in more equipment D. innovations in technology

Answers

Answer:

A. declines in labor productivity

Explanation:

How do computers use input and output to get and give the information that they need to solve problems?

Answers

Answer:

typing on a keyboard (input) makes letter appear on a screen (output)is removing that

In this exercise we have to be able to explain the difference between output and input used in computers, like this:

So the output allows some information to appear on the screen while the input is a string.

In this way we will define some characteristics of each one as:

Output devices are devices that display data and information processed by the computer, also called output units (input/output). In other words, they allow communication from the computer to the user. Examples: video projector, printer and monitor.

The input() function receives as a parameter a string that will be shown as an aid to the user, usually informing him what kind of data the program is expecting to receive.

What is the difference between Input and Output?

Input, means: Contribute, Input, Insert and etc. In the case of Output, its meaning is: Output, Production, Power, Send.

See more about input or output at brainly.com/question/408477

One of your professors has asked you to write a program to grade her midterm exams, which consist of only 20 multiple-choice questions. Each question has one of four possible answers: A, B, C, or D. Create a file "CorrectAnswers.txt" and write the correct answers for each question on a separate line so that the first line contains the answer to the first question, the second line contains the answer to the second question, and so forth. Similarly, create a file "StudentAnswers.txt" and write the student’s answers for each question on a separate line. Write a program that reads the contents of the CorrectAnswers.txt file into a char array, and then reads the contents of file StudentAnswers.txt into a second char array. The program should determine the number of questions that the student answered correctly and then display the following: • The total number of questions answered correctly. • The percentage of questions answered correctly. • If the percentage of correctly answered questions is 75% or greater, the program should indicate that the student passed the exam. Otherwise, it should indicate that the student failed the exam.

Answers

Answer:  

Here is the program that determines the number of questions that the student answered correctly.

#include <iostream>  //to use input output functions

#include <fstream>  // to handle files

#define size 20  //size of questions is fixed to 20

using namespace std;   //to identify objects cin cout

int correctAnswers(char answers[], char correct[]);  //to count correct answers given by student

   int main(){    //start of main function

       char correct[size];         // array stores correct answers

       char answers[size];       //stores answers of students

       int result;                     //stores the correct answers result of student

       double percentage;   //stores the percentage of correct answers

       int counter;        //counts number of correct answers given by student  

       ifstream reader("CorrectAnswers.txt");  //reads the contents of CorrectAnswers.txt file

       if(!reader){  //if file cannot be read/opened

           cout<<"Cannot open the file"<<endl; //displays error message

           return 0;        }          

       counter = 0;    //sets counter to 0 initially

       while( (reader>>correct[counter++]) && counter < size  );    //reads each answer from CorrectAnswers.txt  and stores it in char array correct[] at each iteration of while loop

       reader.close();  //closes the file

       reader.open("StudentAnswers.txt");    //opens StudentAnswers.txt file  

       if(!reader){   //if file could not be opened

           cout<<"Cannot open file"<<endl;   //displays this error message

           return 0;          }          

       counter = 0;    //sets counter to 0

       while( (reader>>answers[counter++]) && counter < size );   //reads each answer from StudentAnswers.txt  and stores it in char array answers[] at each iteration of while loop    

       result = correctAnswers(answers,correct);  //calls correctAnswers method to compute the correct answers given by student and stores the result of correct answers in result variable

       percentage = 100.0*result/size;   //computes percentage of correct answers of student    

       cout<<"The total number of questions answered correctly: "<<result<<endl;     //displays total no of qs answered correctly

       cout<<"The percentage of questions answered correctly: "<<percentage<<" %"<<endl;  //displays computed percentage

       if( percentage >= 75 ){  //if percentage of correctly answered questions is 75% or greater

           cout<<"Student has passed the exam!"<<endl;   } //displays that the student passed the exam

      else { //if percentage of correctly answered questions is below 75%

           cout<<"Student has failed the exam!"<<endl;         }  //displays that the student failed the exam

       return 0;     }  

   int correctAnswers(char answers[], char correct[]){   //method to compute the number of correct answers  

       int countCorrect = 0;   //stores the count of correct answers

       for(int i=0; i<size; i++){  //iterates 20 times to match answers from both the files of 20 questions

           if( answers[i] == correct[i] ){  // if the student answer in StudentAnswers.txt file matches with the correct answer given in CorrectAnswers.txt file

               countCorrect++;              }         }     //adds 1 to the countCorrect every time the student answer matches with the correct answer

       return countCorrect;     }  //returns the number of questions that the student answered correctly

Explanation:

The program is well explained in the comments mentioned with each line of code.

Here are the two files that can be used to check the working of the above program. You can create your own text files too.

     CorrectAnswers.txt :

A

A

B

D

C

C

A

C

D

D

A

B

A

B

B

C

A

C

C

B

StudentAnswers.txt

A

C

B

D

C

C

B

C

D

C

D

B

A

B

B

C

A

C

C

B      

Also if the number of wrong answers are to be displayed then add this method to the above code:

void wrongAnswers(char answers[], char correct[]){  //method takes two arrays one with correct answers and the other with student answers

       for(int i=0; i<size; i++){ //iterates 20 times

           if( answers[i] != correct[i] ){ //if the answer by student does not match with correct answer

               cout<<"Question Number: "<<i+1<<endl; //the question that is answered incorrectly

               cout<<"Correct answer is: "<<correct[i]<<endl;  //displays the correct answer

               cout<<"Student answer is: "<<answers[i]<<endl;    }    }    } //displays the answer that student gave

Now call this method in main() as:

if(result < size){  //if result is less than size i.e. 20

           cout<<"The questions answered incorrectly"<<endl;  //number of questions that are answered incorrectly

           wrongAnswers(answers,correct);  //calls method to compute the wrongly answered questions

       }else{  //if result is not less than size

           cout<<"No incorrect answers."<<endl;       }    //no questions incorrectly answered      

       cout<<"Number of missed questions: "<<size-result<<endl; //displays the number of missed questions

The screenshot of the output is attached.

What is the importance of computer application to statistics​

Answers

Answer:

First off, I'm not writing your essay. I will give you a guide and you can take it from there. Also, I don't know any context about the question.

Computer applications can handle input and output at a significant rate. Computers were designed to handle mathematical operations and now at today's rate a single 2+2 can spit out a answer in 64 nanoseconds.

Test Average and Grade
Write a program that asks the user to enter five test scores. The program should display a
letter grade for each score and the average test score. Write the following methods in the
program:
calcAverage:
This method should accept five test scores as arguments and return the
average of the scores.
determineGrade:
This method should accept a test score as an argument and return a
letter grade for the score, based on the following grading scale:
Score Letter Grade
90-100 A
80-89 B
70-79 C
60-69 D
Below 60 F
Expected Output:
Enter·test·grade·for·student·1:55↵ ·
Enter·test·grade·for·student·2:65↵ ·
Enter·test·grade·for·student·3:75↵ ·
Enter·test·grade·for·student·4:85↵ ·
Enter·test·grade·for·student·5:95↵ ·
The·letter·grades·are·as·follows:↵
Student·1:·F↵
Student·2:·D↵
Student·3:·C↵
Student·4:·B↵
Student·5:·A↵
The·average·grade·was:·75.00↵
ISSUES: PLEASE HELP:
I can not get the student's letter grade to display correctly;
I can not get the average to calculate correctly;
Instructions states to write the METHODS in the program.
My output:
Enter test grade for student 1:50
Enter test grade for student 2:60
Enter test grade for student 3:70
Enter test grade for student 4:80
Enter test grade for student 5:90
The letter grades are as follows:
Student 0.0F
Student F
Student F
Student F
Student F
Average:0.0
My Code:
import java.util.Scanner;
public class TestAveGrade{
public static double calcAverage(double userScore1, double userScore2, double userScore3, double userScore4, double userScore5){
double average;
average = (userScore1 +userScore2 +userScore3 +userScore4 +userScore5) /5;
return average;
}
public static String determineGrade(double testScore){
String letterGrade = " ";
if (testScore < 60){
letterGrade = "F";
} else if (testScore <70) {
letterGrade = "D";
}else if (testScore <80) {
letterGrade = "C";
}else if (testScore <90) {
letterGrade = "B";
}else if (testScore <100) {
letterGrade = "A";
}
return letterGrade;
}
public static void main( String [] args) {
Scanner scanner = new Scanner( System.in );
int numberOfScores = 5;
double userScore;
double userScore1 = 0;
double userScore2 = 0;
double userScore3 = 0;
double userScore4 = 0;
double userScore5 = 0;String outputString = "The letter grades are as follows:\n";for(int currentScore = 1; currentScore <= numberOfScores; currentScore++){System.out.print ("Enter test grade for student " + currentScore+":");userScore = scanner.nextDouble();switch (currentScore) {case 1:userScore1 = userScore1;outputString += "Student "+ userScore1 + determineGrade( userScore1) +"\n";break;case 2:userScore2 = userScore2;outputString += "Student "+ determineGrade (userScore2) + "\n";break;case 3:userScore2 = userScore3;outputString += "Student "+ determineGrade (userScore3) + "\n";break;case 4:userScore2 = userScore4;outputString += "Student "+ determineGrade (userScore4) + "\n";break;case 5:userScore2 = userScore5;outputString += "Student "+ determineGrade (userScore5) + "\n";break;default:break;}}System.out.print( outputString + "Average:" + calcAverage (userScore1, userScore2, userScore3, userScore4, userScore5));}}

Answers

Answer:

import java.util.Scanner;

public class TestAveGrade

{

public static void main(String[] args) {

 Scanner scanner = new Scanner( System.in );

       double userScore1, userScore2, userScore3, userScore4, userScore5;

       

       System.out.print ("Enter test grade for student1:");

       userScore1 = scanner.nextDouble();

       System.out.print ("Enter test grade for student2:");

       userScore2 = scanner.nextDouble();

       System.out.print ("Enter test grade for student3:");

       userScore3 = scanner.nextDouble();

       System.out.print ("Enter test grade for student4:");

       userScore4 = scanner.nextDouble();

       System.out.print ("Enter test grade for student5:");

       userScore5 = scanner.nextDouble();

       

       System.out.println("The letter grades are as follows:");

       System.out.println("Student-1: " + determineGrade(userScore1));

       System.out.println("Student-2: " + determineGrade(userScore2));

       System.out.println("Student-3: " + determineGrade(userScore3));

       System.out.println("Student-4: " + determineGrade(userScore4));

       System.out.println("Student-5: " + determineGrade(userScore5));

           

       System.out.printf("The average grade was: %.2f", calcAverage (userScore1, userScore2, userScore3, userScore4, userScore5));

}

public static double calcAverage(double userScore1, double userScore2, double userScore3, double userScore4, double userScore5){

       double average;

       average = (userScore1 +userScore2 +userScore3 +userScore4 +userScore5) /5;

       return average;

   }

   public static String determineGrade(double testScore){

       String letterGrade = " ";

       if (testScore < 60){

           letterGrade = "F";

       }

       else if (testScore <70) {

           letterGrade = "D";

       }

       else if (testScore <80) {

           letterGrade = "C";

       }

       else if (testScore <90) {

           letterGrade = "B";

       }

       else if (testScore <100) {

           letterGrade = "A";

       }

       return letterGrade;

   }

}

Explanation:

Hi, I modified your code. Your methods work but you need to update the main.

Ask the user to enter five grades and store the values in different variables

Call the determineGrade method passing each grade as a parameter

Call the calcAverage method passing all the grades as parameter

The pieces of a line between nodes are called blank of the line
A Curves
B. Strokes
С. Handles
D. Segments

Answers

The answers is D. Segments

Answer:

the correct graph is the one that shows a horizontal segment, followed by a positive slope segment, followed by a flat segment, and then a negative slope segment that is option B.

What is graph?

In mathematics, a graph is a visual representation of a set of objects and the connections between them. The objects, which are often called vertices or nodes, are typically represented by points or circles on the graph. The connections between the objects, which are often called edges or arcs, are typically represented by lines or curves connecting the points or circles.

Here,

To represent Marie's situation in a graph, we need to plot her golf cart's distance from the first hole over time. Let's analyze the given information to determine what the graph should look like.

For the first 30 minutes, Marie stayed at the first hole, so her distance from the first hole would be 0 during that time.

For the next 2 hours, Marie drove away from the first hole. Her distance from the first hole would increase during this time.

After 2 hours of driving, Marie stopped for lunch. Her distance from the first hole would remain constant during this time.

After lunch, Marie took 2 more hours to drive back to the first hole. Her distance from the first hole would decrease during this time.

The x-axis represents time in hours, and the y-axis represents distance from the first hole in miles. The graph starts at the origin, where the golf cart stays for the first 30 minutes, and then goes up with a positive slope for 2 hours as the golf cart moves away from the first hole. Then, the graph remains flat for 1 hour during lunch, before going down with a negative slope for 2 hours as the golf cart returns to the first hole.

As a result, the right graph is option B, which displays a horizontal section followed by a positive slope segment, a flat segment, and then a negative slope segment.

Explanation:

Which statements are true about conditional statements? Check all that apply. They perform actions or computations. They are based on conditions. They can be executed only when conditions are false. They are also called conditional constructs. They are sometimes called compound statements, They have conditions that must be Boolean (IF, AND, or NOT) in form. DONE​

Answers

Answer:they perform actions

They are based on conditions

They are also called conditional statements

They have conditions

Explanation:

The statements which are true about conditional statements are as follows:

They perform actions or computations. They are based on conditions.They are also called conditional constructs.They have conditions that must be Boolean (IF, AND, or NOT) in form.

Thus, the correct options for this question are A, B, D, and F.

What do you mean by Conditional statements?

The Conditional statement may be defined as a type of declaration that can significantly be written in the form “If P then Q,” where P and Q are sentences. For this conditional statement, P is known as the hypothesis while Q is called the conclusion.

According to the context of this question, conditional statements always manufacture actions or computations. They never execute when conditions are false. That's why they are referred to as conditional statements. They also possess conditions based on Boolean (IF, AND, or NOT).

Therefore, the correct options for this question are A, B, D, and F.

To learn more about Conditional statements, refer to the link:

https://brainly.com/question/1542283

#SPJ2

Other Questions
Help!!!!!!!!!!!!!!!!! John made $200 this month mowing lawns.Ashley had a yard sale and made 74% of what Johnmade. Chris received birthday money in an amount thatwas of what Ashley made. How much birthday moneydid Chris receive? Robert bought a $5 lottery ticket such that 1 in 100 would win $10, 1 in 1000 would win $100, and 1 in 50 million would win 1 million. What is the expected value of a lottery ticket in dollars?Does Robert expect to earn a profit if he buys 100 tickets?By how much? Which statement describes one role of minerals during cementation? Minerals bind sediments together.Compressed minerals form new rock.Sediments dissolve and bind minerals together.Spaces between minerals are filled with sediments. WHO EVER ANSWERS MY QUESTION GETS BRAINLISTWhat mistake does Odysseus make (a he trust his crew) (b he opens Aeolus bag) (c he falls asleep) ( d he refuses to share any of his treasure Hint: You won't flip the sign in every problem. ONLY FUP it when you or by a 9 - 2x < 6x - 15 Solutions You solve and graph these: 3 - 8x -29 Solutions 1x + 2x -7 6 Solutions 3X-P66 x=4 x=2 free T XCH The formula to calculate velocity is Which job is easy?Which job is easy Was the albany congress effective why or why not 7th grade Complete the following analogy:Organized cells : tissues as ______: organsa Tissues b Organsc Bodyd Organisms The effects of the development of trans-Saharan trade networks on West African states canbe better understood by considering the earlier development of cities and states in the region.Due to the difficulty of raising livestock and growing crops in the hot Sahara, the economy ofWest Africa lagged behind that of North Africa until the growth of trade. Likewise, while asophisticated civilization developed in the Niger Valley after 300 BCE, growing trade cities atthe time were not joined into a larger empire. The ongoing development of trans-Saharantrade, however, provided the resources for economic and political change in the region.Review the sample essay excerpt above. First, explain how to provide contextualization in anessay. Then, explain how this excerpt explains the context of the prompt. (15 points) Helppppp!!!!!!! Which of these is FALSE about the chain of custody? * 1 point If the chain of custody is broken, the evidence is often not used in court The chain of custody begins when the piece of evidence is brought to the crime lab Everyone who access the evidence is part of the chain of custody. The purpose of the chain of custody is to ensure that evidence taken from the crime scene is not altered before it is admitted to court Design and implement an algorithm that gets as input a list of k integer values N1, N2,..., Nk as well as a special value SUM. Your algorithm must locate a pair of values in the list N that sum to the value SUM. For example, if your list of values is 3, 8, 13, 2, 17, 18, 10, and the value of SUM is 20, then your algorithm would output either of the two values (2, 18) or (3, 17). If your algorithm cannot find any pair of values that sum to the value SUM, then it should print the message Sorry, there is no such pair of values. Schneider, G.Michael. Invitation to Computer Science (p. 88). Course Technology. Kindle Edition. A boat Is headed due north on a river that's flowing directly east. What is the general direction of travel for this boat with respect to the land?A. southeastB. northeastC. northwestD.east wich of the following is a unit of volume in the english system of mesurement A lake with a surface area of 525 acres was monitored over a period of time. During onemonth period the inflow was 30 cfs (ie. ft3 /sec), the outflow was 27 cfs, and a 1.5 in seepage loss was measured. During the same month, the total precipitation was 4.25 inches. Evaporation loss was estimated as 6 inches. Estimate the storage change for this lake during the month. What does a pyramid of biomass represent ? Which of the following types of evergy does an object have because of its motion chemical energy gravitational energy kinetic energy potential energy How do you write 41,300 in scientific notation? If Ms. Little has 4 pizzas and 10 friends, how much pizza would each friend get?