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
Help me learn codeing
2 Votes
Django server hosting
1 Votes
Easy one !!!
0 Votes
How to create calculator
2 Votes
I want advice!!!
0 Votes