Question: I have to create a code that would be used in a company who creates website penetration testers. So far this is the code I
I have to create a code that would be used in a company who creates website penetration testers. So far this is the code I have. How would you make it better?
Open to all possibilities.
Code:
integer userlD
integer x
integer userPass
integer array userGroup
IDs will only accept five digit combinations
for x ; x userGroup.size; x x
userGroupx Get next input
if userGroupx and userGroupx
Put userGroupx to output
else
Put "Invalid user IDin" to output
if userGroupx and userGroupx
Put is to output
if userGroupx
Put "invalid for buying without paying"to output
IDs divisible by are marked as invalid
else
Put "a valid clientid" to output
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
