Am i writing the correct pseudocode?
Im confuse in pseudocode for while statement.
Start
declare variables;
print “choose account types”;
read choice;
if choice = ‘a’ then
while n<=3
print userid and password;
read userid1 and password;
a = strcmp(u,userid1);
b = strcmp(p,password);
if a = 0 and b = 0
print Thanks for logging in;
else
print Wrong userid or password;
n++;
endwhile
endif
if choice = ‘A’ then
perform login_form2();
else
print error;
perform login_form();
endif
End