1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Licemer1 [7]
3 years ago
12

The lettuce is scattered all over the garden.

Physics
1 answer:
Lisa [10]3 years ago
4 0

Answer:

Explanation:

Coding is all about logic, since I do not have the actual problem from the website I will guide you on how to solve this.

Since you need to go a certain direction you will need to indicate to the character which direction to go. Next, we need to prevent the player from travelling through a wall, we can accomplish this using an IF/ELSE statement. IF the next block in that direction is a wall then do not move forward, ELSE move forward. We would call this statement every time the player tries to move in any direction. Finally, once we reach the lettuce we need to continue picking it until there is no more. To do this we use a While loop, that checks to see if there is any more lettuce, if there is it will run the code to pick up lettuce, if there is NO more then the While loop will exit. That would be the entire code.

You might be interested in
The mantle in the earths core continuously heat up and cool down using convection currents
o-na [289]
This statements is true
7 0
3 years ago
Read 2 more answers
What are the very small particles that make up all matter?
MariettaO [177]

Answer:

atoms atoms atoms atoms atoms

8 0
3 years ago
Read 2 more answers
The best description of personality traits we have today is
Anettt [7]
Openness to experience, Neuroticism, agreeableness, Extroversion, Conscientiousness
3 0
3 years ago
Electromagnetic Energy Example One Activity:
stich3 [128]
One type is microwaves

Microwaves are used for radio and radar communications
Also used to cook food
6 0
3 years ago
Read 2 more answers
A satellite is in circular orbit around the earth. The orbit the satellite is at a height of 420 km above the earth's surface. F
astraxan [27]

Answer:

7661.06 m/s

Explanation:

R = Radius of Earth = 6.38\times 10^6\ m

h = Distance from the Earth = 420000 m

G = Gravitational constant = 6.674\times 10^{-11} N m^2/kg^2

M = Mass of Earth = 5.98\times 10^{24}\ kg

V=\sqrt{g{\frac{R^2}{R + h}}}\\\Rightarrow V=\sqrt{\frac{GM}{R^2}{\frac{R^2}{R + h}}}\\\Rightarrow V=\sqrt{\frac{6.674\times 10^{-11}\times 5.98\times 10^{24}}{(6.38\times 10^6)^2}{\frac{(6.38\times 10^6)^2}{6.38\times 10^6 + 420000}}}\\\Rightarrow V=7661.06\ m/s

The orbital speed of the satellite is 7661.06 m/s

6 0
3 years ago
Other questions:
  • Why weren't the people on Easter Island able to grow their own food to survive ?
    6·2 answers
  • A helicopter is ascending vertically with a speed of 5.10m/s. At a height of 105m above the Earth, a package is dropped from a w
    9·1 answer
  • What cardio kickboxing punch is similar to the rear-leg front kick
    9·1 answer
  • A 0.500 kg ball is dropped from rest at a point 1.20 m above the floor. The ball rebounds straight upward to a height of 0.700 m
    15·1 answer
  • What are the four most common gases in dry air?
    8·1 answer
  • How does depth of liquid affect pressure in solids
    13·1 answer
  • What property of objects is best measured by their capacitance?
    11·1 answer
  • What do ocean waves and spun waves have in common ?
    8·1 answer
  • The nonliving components of an ecosystem, such as soil and sunlight
    8·1 answer
  • Alex is taking the high-speed elevator, which travels at a constant speed of 5 m/s to the 43rdfloorbuilding. Sam is stuck making
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!