Q&A Discussions
Im looking for the program to calculate the longest password out of five seperate words and then print out that word e.g
Password1: hello
Password2 : two
Password3: security
Password4: four
Password5: default
Security is the longest password as it has the most characters. How do i get the program to calculate this and then print out that word
0 Votes
3 AnswersIn the short code below, I declared an array of five elements. But I'm getting confused on how to use it in a while loop. My main question is , if the user inputs a userchoice1 value that is less than 1, I want the code to keep looping until the user inputs a number that is not less than 1. But I don't know if the 7th line (userchoice1 [x]++) shows the right way to loop it.
1 Vote
2 AnswersHot today
Sticky position
3 Votes
Help please?
3 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
SQL practice
2 Votes