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
never [62]
3 years ago
5

50 PTS

Computers and Technology
1 answer:
8_murik_8 [283]3 years ago
8 0

import java.util.Scanner;

public class JavaApplication46 {

   public static boolean passwordCheck(String pass){

       String alphanum = "abcdefghijklmnopqrstuvwxyz1234567890";

       boolean legit = true;

       if (pass.length()>= 8){

           for(int i = 0; i < pass.length(); i++){

               if (alphanum.indexOf(pass.charAt(i)) != -1 && legit != false){

                   legit = true;

               }

               else{

                   legit = false;

               }

           }

       }

       else{

           legit = false;

       }

       

           return legit;

   }

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.print("Enter a password: ");

       String password = scan.next();

       System.out.println(passwordCheck(password));

   }

   

}

I hope this helps!

You might be interested in
Which tools can be used to scale an object? Check all that apply.
meriva

Answer:

format picture pane

corner sizing handles

Explanation:

7 0
3 years ago
What type of switch can have VLANs set up on it?<br> Gigabit<br> Managed<br> Trunk<br> Unmanaged
sweet-ann [11.9K]

Answer:

Trunk

Explanation:

Gigabit switches are meant for expanding the ethernet. Through this, you can add more PC to the ethernet. A managed switch is meant for providing more tailored features and tools to the users. The unmanaged switch only allows the two devices on the network to communicate with each other, as it just provides the connectivity. And for setting up the VLANs on it, we need the Trunk Switch. And hence, the correct option is Trunk.

7 0
3 years ago
What are the three most important tasks accomplished at a party’s national convention are nominating the party’s?
Elenna [48]

The  three most important tasks are:

  • The selection and naming the party's presidential and vice-presidential candidates
  • The act of promoting party unity
  • The  adopting of the party's platform.

<h3>What is the task of a national convention?</h3>

The formal aim of such a convention is to take the party's nominee for any popular election such as the President and also to adopt a idea of party principles and goals.

Hence, the  three most important tasks are:

  • The selection and naming the party's presidential and vice-presidential candidates
  • The act of promoting party unity
  • The  adopting of the party's platform.

Learn more about  national convention from

brainly.com/question/2199497

#SPJ1

8 0
2 years ago
You are asked to design a data model for The Wagging Tail, an online store that sells products for dogs, e.g. dog collars, dog f
weqwewe [10]

Answer:

The solution to this question can be defined as follows:

Explanation:

In this question the Primary Key as defined in the underlines that use the Crow's foot notation which is defined in the 3 entities that can be defined in the attachment file:

6 0
3 years ago
Can someone help me with music? it's mostly about texture
umka2103 [35]
Texture on da guyz so you can absolute value into the possible
8 0
3 years ago
Other questions:
  • Consider an application that transmits data at a steady rate (for example, the sender generates an N-bit unit of data every k ti
    8·1 answer
  • What are two best practices for discovering whether a message you’ve scheduled with Hootsuite has failed to send?
    8·2 answers
  • Which of the following modes of replication requires a very low latency network connection and ensures data remains in synch wit
    13·1 answer
  • ___________ system allows us to talk to any person in the world it any time​
    15·2 answers
  • A software engineering process (SEP), also known as a software development process, defines the ______ of developing software.
    5·1 answer
  • How can a cell phone tower help people​
    11·2 answers
  • PLEASE HELP! 100 POINTS!
    7·1 answer
  • Write code that will copy the contents of the file into an array. You can assume that the file will only have 5 data values
    11·1 answer
  • How easily can teachers see browsing history on chromebook]
    9·1 answer
  • Providing captions and transcripts for videos on your website is a way of ensuring what?.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!