Note: No plagarism please!
Correct and detailed answer will be Upvoted else downvoted. Thank you!
Q. Write Pseudocode: (Provide alternative words for switch - also write full sentence for srand and rand)
srand(time(NULL));
int n = rand();
switch (n%2) {
case 0: a1 = first; cout < "first="" text\n";="">
case 1: a1 = second; cout < "second="">
}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here