subject

The strpassword variable contains eight characters. two of the characters in the password must be numeric. which of the following statements will access each character stored in the variable, character by character?
a. for int-index as integer = 1 to 8
b. for int-index as integer = 1 to strpassword. length - 1
c. if strpassword like "[a-z] [a-z] [a-z] [a-z] [a-z] ##"
d. for int-index as integer = 0 to 7

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:10
1. declare a constant named cents_per_pound and initialize with 25. 2. get the shipping weight from user input storing the weight into shipweightpounds. 3. using flat_fee_cents and cents_per_pound constants, assign shipcostcents with the cost of shipping a package weighing shipweightpounds.
Answers: 2
question
Computers and Technology, 23.06.2019 06:00
Which statement is true of web-based social media? a.they allow consumers to interact with and update content. b.they cannot be updated easily, as compared to print media. c.they are expensive to produce and maintain, as compared to print and television. d.they can exist independent of the internet.
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Choose the answers that best complete each sentence. on average,are more expensive than other kinds of postsecondary schools. the cost of room and board includes. to save money, some students attend auniversity in their home state.
Answers: 2
question
Computers and Technology, 23.06.2019 21:40
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'
Answers: 3
You know the right answer?
The strpassword variable contains eight characters. two of the characters in the password must be nu...
Questions
question
World Languages, 08.12.2020 21:20
question
Mathematics, 08.12.2020 21:20
question
History, 08.12.2020 21:20
question
Physics, 08.12.2020 21:20