maxthegoat36 maxthegoat36
  • 29-11-2020
  • Computers and Technology
contestada

Write the code which prints "Access granted!" if the correct password, "swordfish" is entered, and "Access denied!" otherwise.

JAVA IM DESPERATE!!!!

Respuesta :

lillianelisaa
lillianelisaa lillianelisaa
  • 29-11-2020

im not sure but use some "if" things and do it like "if swordfish is entered display 'access granted' " then like "if swordfish not entered display 'access denied' "

idrk how to write java tho

Answer Link

Otras preguntas

What right was given to african americans as a result of the fifteenth amendment?
A type of national lawmaking body that is common throughout Europe is known as a __________.
What are the reasons that french settlers came to new france
True or false; Edward Coke’s Laws of England inspired colonists such as James Madison, John Adams, and Thomas Jefferson, who incorporated many of Coke’s ideas i
A yard is equal in length to three feet. The function f(x) takes a measurement in yards (as input) and returns a measurement in feet (as output). What number wi
The flame from my candle gives off black smoke heat and light what type of changes do these indicate
Which of the following features differentiates a dicot stem from a monocot stem? A) the presence of a distinct pith and cortex in a monocot stem and an undiffer
What is “Maya Blue”? Why is it important to Mayan art?
All of the following contributed to the success of the English Colonies EXCEPT: new forms of governments new types of worship strong ties to the English Crown n
If you place an item that is 2g/cm3 in a glass of water, will the object float or sink? Explain please... for chance to be marked as brainliest