Write a program that ‘accepts’ the language L = { an bn cn | n > 0 }: the program yields the result ‘Y’ if the argument string w ∈ {a, b, c}∗ is in L, and ‘N’ if it is not. For example, input “aabbcc” yields output “Y”, since aabbcc ∈ L, and input “bbaaccc” yields output “N”, since “bbaaccc” is not in L
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here