hi
program to ask the user a username and a password
if pass and username good display OK
else
clear screen and reask the user for username and password again.
this will continue until good username and password entred.
using while loops
thanks in advanced
manutd4life230
0
Newbie Poster
Recommended Answers
Jump to PostShow us what you've tried to do and we'll help you fix it.
Jump to PostYou used the wrong bb code. When inserting code in your post place
[code]
before it and
[/code]
after it. Then it will look pretty and preserve whitespace.Your power program works perfectly for me.
For the other, you need a somewhat tricky loop. Here's a help:
for num_tries …
All 8 Replies
Duoas
1,025
Postaholic
Featured Poster
sura17
0
Light Poster
manutd4life230
0
Newbie Poster
manutd4life230
0
Newbie Poster
Duoas
1,025
Postaholic
Featured Poster
manutd4life230
0
Newbie Poster
manutd4life230
0
Newbie Poster
Duoas
1,025
Postaholic
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.