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
netineya [11]
3 years ago
8

Write a program to check the password( qbasic)​

Computers and Technology
1 answer:
snow_tiger [21]3 years ago
4 0

Answer:

Assuming this is in python:

def check_password(password):

   

   correct_password = "qbasic"

   

   if password == correct_password:

       return True

   else:

       return False

def main():

   

   user_input = input("Type in your password: ")

   

   if check_password(user_input):

       print("Correct!")

   else:

       print("Wrong, try again")

     

       

main()

Explanation:

Hope this helped :) If it wasn't suppose to be in python, tell me so I can make it in the correct programming language.

Have a good day :)

You might be interested in
I need help quick Which of the following principles is not part of the constitution?
laila [671]

Answer:

Confederalism is not in the constitution it was adopted later.

Explanation:

5 0
3 years ago
c programming Write code that prints: Ready! countNum ... 2 1 Go! Your code should contain a for loop. Print a newline after eac
olga_2 [115]

Answer:see explanation

Explanation:

Hello, from your question I see that you need a program which based on countNum's value prints ready then all the numbers to 1 and finally go!, I'd appreciate if you provided information about the numbers after the example you gave as I do not know if they are to be printed too.

The solution I provide includes the countdown to 1 printing newline after each number and text. Try it out!

#include <stdio.h>

int main(void)

{

   int countNum;

   int i;

   countNum = 22;

   for ( i = countNum; i > 0; i--) {

       if (i == countNum){

           printf("Ready!\n");

       }

       printf("%d\n",i);

   }

   printf("Go!\n");

   return 0;

}

6 0
3 years ago
Thành phần bên trong nào thực hiện các tính toán và các phép toán logic?
SSSSS [86.1K]

Answer:

A

Explanation:

3 0
3 years ago
To see if a website is using a secure connection, what should you look for? Select all that apply.
kupik [55]

Answer:

– A web address using “HTTPS” (The extra “S”means it’s a secure connection. – Secure sites show a closed padlock emblem you can click on for security details – the most trustworthy sites will have green padlocks or address bars.

Explanation:

6 0
3 years ago
Complete the statement below with the correct term. A a0 network uses cables to connect the server to workstations and other equ
Korolek [52]

Answer:

<h3> A <u>wired</u> network uses cables to connect the server to workstations and other equipment. </h3><h3 />

Explanation:

A computer network is defined as a collection of computers connected together to share resources and for communication these resources could be internet, printer, or a file server.

A wired network is a type of network in which we use to connect to other devices or resources via a wired connection this wire could be a Ethernet, Fiber or Coaxial cable which work as a medium for the network. For network we use different devices like routers, switches and many more according to requirements.

<h3>I hope it will help you!</h3>
5 0
3 years ago
Other questions:
  • Javascript or java? which one is better?
    13·2 answers
  • You have been employed as a technical consultant to a computer shop chain. You are given the task of creating a short consumer b
    12·1 answer
  • What are new technologies, products, or services that eventually surpass the existing dominant technology or product in a market
    14·1 answer
  • Which of the following choices is not a viewing option?
    10·1 answer
  • A new drug to combat acne has been developed from a compound that is found in a melon. Which scientists would contribute to the
    15·2 answers
  • Why is graphics important in multimedia application <br>​
    11·1 answer
  • Which is the OS that can be obtained for free or at a much lower price than other major operating systems?
    15·2 answers
  • Which of the following defines a computer program?
    14·1 answer
  • a farmer cultivates 1/4 of his farm with ground nuts and 2/5 of it with maize what is the total landnarea that is cultivated​
    12·1 answer
  • Samantha is looking for a lens that is lightweight and small, making it easy to transport. She doesn’t care about the lens being
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!