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
RoseWind [281]
3 years ago
9

g Create a program that prompts a user to enter a login name and password. The correct login name is Admin, and the correct pass

word is PASS. If both login name and password are correct, display Correct Loginto the console window. If the login name or password is wrong, display what is wrong to the console window. For example, wrong username, wrong password, or both. program in C
Computers and Technology
1 answer:
frutty [35]3 years ago
7 0

Answer:

Answered below.

Explanation:

//Program in Python

login_name = "Admin"

password = "PASS"

display = " "

user_login_name = input ("Enter username: ")

user_password = input("Enter your Password: ")

if user_login_name == login_name and user_password == password:

display = "Correct Login"

elif user_login_name != login_name:

display = "wrong username"

elif user_password != password:

display = "wrong password"

print(display)

You might be interested in
What does nat stand for? network access trigger network administration timetable network address translation network association
Mars2501 [29]
Perhaps I think its NETWORK ADDRESS  TRANSLATIONS
take care:) 
6 0
3 years ago
Thinking actively promotes critical thinking. Explain how thinking actively promotes critical thinking
pav-90 [236]

A critical thinker is someone who is actively engaged in a thought process. Active thinking is that process of making judgments about what has happened while critical thinking involves a wide range of thinking skills that eventually leads to a desired outcome. Active thinking prompts learning during complex problems situations and provides learners with an opportunity to think about how a problem will be solved. As a result, it will help them evaluate, analyze, and intercept information.

8 0
3 years ago
Gemima's classmate Tristan sent her an Excel table that shows the amount of vitamin C in seafood. She wants to
Kipish [7]
Answer: Link and use destination styles

Explanation: First copy the table on Excel you want to include in Word, now go to your Word document and press Ctrl + V to paste the contents into the Word file. In order to link, you have to click on the Paste Options button at the bottom right and choose either Match Destination Table Style and Link to Excel or Keep Source Formatting and Link to Excel.
7 0
3 years ago
Read 2 more answers
What three reasons does Dr. Boyd give to explain why returning to a friends only network would be impossible
Digiron [165]
Ummmmmm... Dr. Boyd is a Psychologist  that has nothing to do with computers and technology
7 0
3 years ago
In ipv4 addressing, each ip address is a unique ____ number.
Natali5045456 [20]
32-bit is the correct answer to this question.
4 0
3 years ago
Other questions:
  • What year did bill gates form traf-o-data?
    8·1 answer
  • When employees are hired, they agree to only use cell phones during breaks. How would you classify this?
    13·2 answers
  • What type of organism forms the base of food webs?
    9·1 answer
  • What is the internet?
    5·2 answers
  • 5. How should you use LinkedIn Answers as a professional?
    8·1 answer
  • Jim is expecting a very busy weekend at his store, so he sent the following e-mail to his employees: ALL EMPLOYEES MUST WORK THI
    6·1 answer
  • What symbol precedes all structured references in formula autocomplete lists?
    15·1 answer
  • How do you reflect yourself in the topic (filters)​
    14·1 answer
  • Language modeling incorporates rules of __. Select all that apply.
    7·1 answer
  • 25 points select 3 options!!!!!!!!!!!!!!!!!!!!!!!!!
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!