Write and run a program that declares an allocatable array named squares. Read
an integer n. Assign to the array all of the perfect squares between 1 and n2. Then
write a loop to print out all the numbers from 1 to n2 not in the array. Test the code
with n = 8. One of the intrinsic functions any or all might be useful.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here