A water park will let a visitor on a ride if they are 48 or more inches tall OR they are 14 years old or older. WILL MARK BRAINLIEST ANSWER!


Make a flowchart for this decision. Make sure to use comparison operators ( , ==, etc. ) and logical operators (&&, ||, !) when you write your Boolean expression.

Answers

Answer 1

Answer:

function waterPark() {

   var age = parseInt(prompt("Enter your Age: "));

   var height = parseInt(prompt("Enter your Height (in inches): "));

   if ( age >= 14 || height >= 48){

       console.log("You can ride in our park");

   } else {

        console.log("You are not eligible to ride in the park");

   }

}

waterPark( );

Explanation:

The Javascript function "waterPark" prompts users for their age and height to check if they are eligible to ride in the park. The prompt is parsed to an integer and assign respectively to the age and height variable.

The if conditional statement compares the age and height of the user to know if they are eligible to ride in the park or not.


Related Questions

how many ones dose it take to get 9 tens

Answers

It takes 90 ones to get 9 tens
The answer would be 90:)

Explanation: there are 10 ones in one 10 so if you multiply 10 times 9 it’s 90

Which line is most likely an error? A-“hello” B-hello C-“100” D-100

Answers

Answer: I think it is c

Explanation:

The error is most likely C. Hello quoted is proper. ("Hello") Eliminate A. Hello is proper as well so eliminate B. Now, we are at C. I Believe this is the answer since it is 100 quoted ("100"). 100 quoted does not make since unless used in a sentence such as "I bought 100 apples today for a good price!" D cannot be the answer since it is 100 all by itself. Thus, your answer should most likely be C, "100".

what is 2D thinking and 3D thinking? i literally don't understand

Answers

Answer:

Two dimensional thinking implies concepts that are flat or only partially representative of the whole. Three dimensional thinking implies the first part of 2d thinking conjoined with intersecting dimensions rendering a deeper field of meaning.

Explanation:

what are some tips to stay focused in school, and to complete work faster? ​

Answers

Answer:

Sometimes listening to music or chewing gum.

Explanation:

When I need to focus, I like listening to music and sucking on a hard candy or chewing gum.

Pls give Brainliest!!

Answer:

What I do to focus in school is to try and ignore everything that is going on around you. ( what your classmates are doing ) Drown out the noise with music if your allowed to listen to music. Ask the teacher is you can go somewhere quieter

Explanation:

Hope this helps, Have a Wonderful Day!!

why make people act meaner online the. in person ​

Answers

Because they are scared to say something in real life. Behind a screen they are protected

Explain two options you have in order to abide by the move over law??? PLEASE HELP ME ASAP!! ​

Answers

Answer:

you can either move over if on an interstate into a different lane safely. if there is only one lane you must reduce your speed

Write a C++ program that reads n integer values and stores them in an array of maximum 20 integers. Read from the user a valid value of n (n should not exceed 20). After reading the n array elements find and display the maximum and minimum elements.

Answers

Answer:

Following are the code to this question:

#include<iostream>//defining header file

using namespace std;

int main ()//defining main method

{

int x[20], n, i, maximum, minimum;//defining an integer array x and another integer variable  

cout <<"Enter the number of element you want to insert: ";//print message

cin >>n;//input size value from user end

if(n>20)//defining if block that check n is greater then 20

{

cout <<"The size of array should not exceed 20 element";//print message

return 0;//return 0

}

else//defining else block

{

cout<<"Enter array value: ";//print message

for(i=0;i<n;i++)//defining for loop

cin>>x[i];//defining for loop for input array value

maximum =x[0];//defining maximum variable that hold array value

for (i=0;i<n;i++)//defining for loop for check value

{

if(maximum<x[i])//defining if block to check maximum value

{

maximum=x[i];//hold maximum value

}

}

minimum=x[0];//use minimum variable to hold array value

for (i=0;i<n;i++)//defining for loop to hold minimum value

{

if (minimum>x[i])//defining if block to check minimum value

minimum =x[i];//hold minimum value

}

cout << "Maximum element : " << maximum ;//print maximum value  

cout << "Minimum element : " << minimum ;//print minimum value

return 0;

}

}

Output:

Enter the number of element you want to insert: 7

Enter array value:  

8

6

22

13

98

554

3

Maximum element : 554

Minimum element : 3

Explanation:

In the above-given program, an integer array "x", and four integer variable "n, i, maximum, and minimum" is defined, which uses the if block to check the size of the array.

In the else block, it inputs the array value from the user end and after input value, it uses the conditional statement to check the "maximum and minimum" value in its variable and print its value.

Help me pls!!


Look at the following assignment statements:

food1 = "water"
food2 = "melon"

What is the correct way to concatenate the strings?

newFood = word1 == word2
newFood = word1 + word2
newFood = word1 * word2
newFood = word1 - word2

Answers

new food = word1 + word2 will connect both words together with no space in between. The value of newFood will now be "watermelon"

Answer:

new food = word1 + word2

Explanation:

How does Python recognize a tuple?

Answers

Answer:

Tuples can be recognized like this,

tuple = 'hello', 'world'

or tuples can be recognized like this

tuple = ('hello', 'world')

you can see the value of a tuple by simply printing it out like so,

print(tuple)

Answer:

Tuples can be recognized like this,

tuple = 'hello', 'world'

or tuples can be recognized like this

tuple = ('hello', 'world')

you can see the value of a tuple by simply printing it out like so,

print(tuple)

Explanation:

PLEASE HELP WITH THIS "PROJECT"
Your users are young children learning their arithmetic facts. The program will give them a choice of practicing adding or multiplying.

You will use two lists of numbers.

numA = [4, 1, 6, 10, 2, 3, 7, 9, 11, 12, 5, 8]

numB = [2, 12, 10, 11, 1, 3, 7, 9, 4, 8, 5, 6]

If the user chooses adding, you will ask them to add the first number from each list. Tell them if they are right or wrong. If they are wrong, tell them the correct answer.
Then ask them to add the second number in each list and so on.

If the user chooses multiplying, then do similar steps but with multiplying.

Whichever operation the user chooses, they will answer 12 questions.

Write your program and test it on a sibling, friend, or fellow student.

Errors : Think about the types of errors a user can make. Add at least one kind of error handling to your program.

Answers

numA = [4, 1, 6, 10, 2, 3, 7, 9, 11, 12, 5, 8]

numB = [2, 12, 10, 11, 1, 3, 7, 9, 4, 8, 5, 6]

operation = input("Are you adding or multiplying? (a/m)")

i = 0

if operation == "a":

   while i < len(numA):

       try:

           answer = int(input("{} + {} = ".format(numA[i], numB[i])))

           if answer == numA[i] + numB[i]:

               print("You're correct!")

           else:

               print("You're wrong! The correct answer is {}".format(numA[i] + numB[i]))

           i+=1

       except ValueError:

           print("Please enter a number!")

if operation == "m":

   while i < len(numB):

       try:

           answer = int(input("{} * {} = ".format(numA[i], numB[i])))

           if answer == numA[i]*numB[i]:

               print("You're correct!")

           else:

               print("You're wrong! The correct answer is {}".format(numA[i]*numB[i]))

           i+=1

       except ValueError:

           print("Please enter a number!")

The type of error handling we perform is ValueError handling. Instead of getting an exception when the user enters a letter when they try to answer a math problem, we tell the user to enter a number.

I hope this helps!

people can use social media responsibly by what​

Answers

Answer:

spread love not hate n password diligent

By limiting their time on social media

Explanation:

Imagine yourself writing computer programs in the future. Which do you think would be generally more important to your programming goals: ease of programming or speed of computation? Why do you think this would be more important? Describe a situation for which the other goal would be more important.

Answers

Answer:

to make sure ur comsters are satified

Explanation:

If you set up a network in your home to share your internet connection with several laptops, what type of network have you create? p2p, client server, VPN, or firewall

Answers

Answer:

P2P

Explanation:

Originally stood for "Peer to Peer." The "colleagues" are computers in a P2P network that are linked via the Web to each other. By having a central server, files can be exchanged directly among devices on the network. In other words, any machine on a Distributed system becomes both a file server and a client.

What do the different top level domain names signify, including .com, .org, .edu, .gov, .mil, and .net?

Answers

Answer:

They signify different purposes for each website

Explanation:

.gov = A government owned website. Can include non-U.S. governmen websites, the White House, or other government owned websites.

.edu = A domain name for organizations with a focus on education (even for those that are non-U.S.). That means that you can find .edu domains on college websites, universities, and other educational institutions.

.mil = Mil is a shortening of military. It is for the U.S. Department of Defense and subsidiary or affiliated organizations.

.org = Org is a shortening of organization, meaning that this domain name is usually for non-profits and personal sites, but can also be used schools, open-source projects, and even some for-profit organizations.

.com = A website with the domain name .com signifies a commercial website (hence the 'com'). This can include business websites, websites that want to make money online, personal websites, blogs, portfolios, and more.

.net = Comes from the word network. Originally, it was supposed to be only for organizations involved in networking technologies, such as Internet service providers and other infrastructure companies, but restrictions were never enforced so .net was used as an general purpose name space. However, it's still popular with network operators and the advertising sector.

A battery is connected to a light bulb in a circuit. There is a current of 2 A in the light bulb. The voltage of the battery is 1.5 V. What is the resistance of the light bulb?

Answers

Answer:

The current in a circuit is directly proportional to the electric potential difference impressed across its ends and inversely proportional to the total resistance offered by the external circuit. The greater the battery voltage, the greater the current.

Explanation:

Write a program that inputs a filename from the user and prints to the terminal a report of the wages paid to the employees for the given period. The report should be in tabular format with the appropriate header. Each line should contain an employee’s name, the hours worked, and the wages paid for that period.

Answers

Answer:

filename = input("Enter file name: ")

file = open("filename", "r")

while file:

   line = file.readline()

   print(line)

file.close()

   

Explanation:

The python source code prompts the user for a file name (file extension included), opens the file and reads the content of the file to the end, one line at a time, and prints it.

Note that the file is closed at the end of the program to avoid leakage.

The program illustrates the use of file manipulation.

File manipulations are used to read from a file, and also write into it.

The program in Python, where comments are used to explain each line is as follows:

#This gets the file name

fname = input('Enter input file name: ')

#This prints the output header

print('Name\t\tHours\t\tTotal Pay')

#This iterates through each line of the file

for line in open(fname):

   #This gets the text on the current line

   cline = line.strip()

   #If the text is not empty,

   if cline != '':

       #This gets the name, wage and time worked on that line

       (name, wage, time) = cline.split()

       #This converts the time to integer

       time = int(time)

       #This calculates the total pay

       totalpay = float(wage) * time

       #This prints the employee details

       print(name,'\t\t', time,'\t\t' totalpay))

Read more about file manipulations at:

https://brainly.in/question/10211834

you are working on creating a business document with two other co-workers. Based on just information, which of the following pre-writing strategies would be the best for you?(A.P.E.X.)

Answers

Brainstorming, Rationalizing, and Rough Drafts.

When and how should resources be invested to close gaps between those who do and don’t use the Internet?

Answers

Answer:

To minimize the technological gap is necessary and not so hard.

Explanation:

The first form of solving it is to minimize the need to use the internet at home, so that users could save the data in some programs which could use afterward if needed, without the internet.

Access to the documents, books, and folders without the need for the internet would be the perfect solution.

The Internet has to be accessible in school so that the students who don’t have it at home could use the most of it in school. Also, the internet connection should be available in the spots around schools, cafes, libraries during the whole day.

Make the internet affordable for everyone.

What are three print output options available in PowerPoint?
A. Handouts, Slides, Speaker Notes
B. Outline, Kiosk, Overheads
C. Overheads, Handouts, Slides
D. Kiosk, Handouts, Computer

Answers

Answer: .A

Explanation: i got it right

Answer:

'A' on edge 2020

Explanation:

Just took the test

How do I write my name in binary code?

Answers

Answer:

qUE

wHAT CODE

Explanation:

WILL MARK CORRECT ANSWER AS BRAINLIEST PLSSSS HELP!

Cecilia is thinking about studying at the table in her kitchen. She wants to make sure she would be choosing a good study environment, so she quickly looks around the room. She decides to study somewhere else after determining that it is a poor study environment. Which factors most likely made Cecilia's kitchen a poor study environment? Check all that apply.

Her little brother was playing with toys on the kitchen floor.
There was a large lamp next to the kitchen table.
There was a pile of magazines and papers on the kitchen table.
There was music playing loudly in the background.
There was a vase filled with flowers by the kitchen sink.

Answers

Answer:

there was music playing loudly at the background

Answer:

Her little brother was playing with toys on the kitchen floor.

There was a pile of magazines and papers on the kitchen table.

There was music playing loudly in the background.

brainliest PLZ:)

Write a code in Python that will can accept grades with decimals and convert them to their equivalent letter grade in the grading scale:
A: 90 - 100
B+: 87-89
B: 80-86
C+: 77-79
C: 70-76
D+ : 67-69
D: 60-66
F: 0-59
Z: Incomplete

Answers

grade = float(input("Enter your grade: "))

if 89 < grade < 101:

   print("A")

elif 86 < grade < 90:

   print("B+")

elif 79 < grade < 87:

   print("B")

elif 76< grade < 80:

   print("C+")

elif 69 < grade < 77:

   print("C")

elif 66 < grade < 70:

   print("D+")

elif 59 < grade < 67:

   print("D")

elif -1 < grade < 60:

   print("F")

else:

   print("Z")

I hope this helps!

Microsoft Word, Google Chrome, and Windows Media Player are examples of

Answers

Answer:

They are all examples of software.

1. You are designing a program that will keep track of the boxes in a doctor’s office. Each box will have three attributes: date, contents, and location. Write a class that will consist of box objects.

Answers

Answer:

Public class Box

{

private String myDate;

private String myContents;

private String myLocation;

public class Box(String date, String contents, String location)

{

myDate = date;

myContents = contents;

myLocation = location;

}

}

Hope this is what you're looking for! If not, let me know and I can try to help more. :)

Each box will have three attributes: date, contents, and location. It is class box.

What is class box?

There is a method in the box class of this program. Box is a brand-new data type for the class.

Box is used to declare objects of this type as having double height; Class declaration just generates a template; it does not generate any actual objects. None of the objects of type are affected by this code. Box void volume

Therefore, Each box will have three attributes: date, contents, and location. It is class box.

To learn more about class box, refer to the link:

https://brainly.com/question/14427083

#SPJ2

Select all that apply.

Which of the following do not increase the clarity of a written message?

1 using long words and sentences to impress your reader
2 using all capital letters to draw attention to your message
3 reviewing before you send
4 organizing the message around one clear main idea
5 thinking about the purpose of the message before you start writing

Answers

1 and 2 since it says does not

Answer:

1. Using long words and sentences to impress your reader

2. Using all capital letters to draw attention to your message

Explanation:

When we're writing a message, we want to make sure that the person we are sending it to will understand it. It's important that we think about the purpose of the message before we start writing it, organize the message around one clear main idea (the purpose), and review it before sending it so that we can correct any mistakes we could've made.

Using long words and sentences and using all capital letters is counterproductive. It's hard to keep track of what we are reading when the words and sentences are too long, so it's better to use shorter, more understandable sentences. We are used to most of the letters being written in the lower case, which is how it should be. Capital letters are distracting, which makes the message harder to read.

To uncompress the data back into its original binary state, you simply reverse the process. This technique is an example of what type of compression?

Answers

Answer:

losless compression

Explanation:

A ___________ is used to terminate all Java commands

Answers

Answer:

Semicolon. If you don't terminate commands with a semicolon, you get a ton of errors.

Documentary photographers strive to produce what type of image?
А.
Edited
B.
True
C.
Colorful
D.
Blurred

Answers

I’m pretty sure that the answer is B

Answer:

B. :)

Explanation:

Windows Rights Management Services gives the user which ability?

Answers

It gives the ability to print, copy, edit and forward and also encrypted information in the operating system so your personal data is kept safe.

What is wrong in this python code import turtle bot = turtle.Turtle step = (50) turnAngle = (90) bot.Color("blue") bot.Begin_fill() bot.Forward(step) bot.Right(turnAngle) bot.Forward(step) bot.Right(turnAngle) bot.Forward(step) bot.Right(turnAngle) bot.Forward(step) bot.Right(turnAngle) bot.End_fill()

Answers

Answer:

The "Turtle" is a method and should be declared with parenthesis and every other method in the code (except the Turtle() ) should begin with lowercase letters like right, forward and begin_fill. The python file should not be saved as turtle.py to avoid import error.

Explanation:

The python turtle module is a graphical programming package created to introduce programming to children. It has several classes and methods to manipulate objects on the screen.

import turtle  

bot = turtle.Turtle()  

step =(50)  

turnAngle =90  

bot.color("blue")  

bot.begin_fill()  

bot.forward(step)  

bot.right(turnAngle)  

bot.forward(step)  

bot.right(turnAngle)  

bot.forward(step)  

bot.right(turnAngle)  

bot.forward(step)  

bot.right(turnAngle)  

bot.end_fill()

Other Questions
what is 0.44(534) ?? Ross has 72 gumballs. He wants to share them equally between 6 friends. Which equation can be solved for "n" to find the number of gumballs The measure of the average number of children who are born to womenof childbearing age in the population is called the Who is the protagonist in 1984 and what was their conflict/solution? With Examples Lynn purchases a house for $52,000. She converts the property to rental property when the fair market value is $115,000. After deducting depreciation (cost recovery) expense of $1,130, she sells the house for $120,000. What is her recognized gain or loss?a. $0.b. $6,130.c. $37,630.d. $69,130. can someone help me? Find the minimum sample size you should use to assure that your estimate of p will be within the required margin of error around the population p. Assume the Margin of error is 0.08 with a confidence level of 95%. From a prior study, p is estimated to be 0.2. Determine the order in which the following budgets are generally prepared. A. Material purchases budget select a number.B. Sales budget select a number.C. Budgeted income statement select a number.D. Production budget select a number. Two chocolate donuts have about400 calories. How many calorieswould you expect to be in5 chocolate donuts? The intended readers of this passage are most likely_____ . Look at the picture ! 27. Use Structure Use the table at the right. Yolanda is planning a party that will take place in three rooms. a. Write an expression that can be used to represent the total amount Yolanda will need to rent all three rooms and the sound system for t hours. b. How can you use a property to write a simplified equivalent expression? (05.03 LC)Read the dialogue and question. Then, choose the correct option.Marta: Hola, Pedro. Ests perdido?Pedro: S, y no tengo el sistema de posicionamiento global.What might Marta's response to Pedro be?Question 9 options:Necesitas buscar un mapa.Necesitas llegar al metro.Necesitas ir a la casa.Necesitas rentar un carro. You see I am having issues with my Cart and think a thunder strike has burnt all my spark plugs and a banana has gotten stuck some where Which of the following mixtures may be act as a buffer solution?View Available Hint(s)Which of the following mixtures may be act as a buffer solution?HF, NaFHBr, NaBrHCl, NaClHI, NaI How do you suppose Danticat hoped readers would respond to thisessay? What is her PURPOSE? What is your response, and why?! HELP...Outside of Israel, where do the largest number of Jews live today? A. in other parts of Southwest Asia B. in Europe and Russia C. in Latin America D. in the United States help me with my English assignment please what is the value of y when x = 43PLS HELP Why would you need inequalities?plz, help me write a paragraph answering this question ^^^I really really need helpI will mark brainiest or whatever just plz plz plz help mehas to be at least 3 sentances Which sentence from the text best supports the answer to question 7