question about testing in shell programming(modifications were made)

In folder A i have a file "a' and text file named infile00.I would like to do redirection :a<infile01.
There is a code to do this

#get a file "a" in /home/A
for file in /home/A/*
do
    if [ -x $file ]
     then
         #printing out if file is an execute file
         echo $file "is an execute file"
         # get an input file named input00 in /home/A
          for input in /home/A/*
          do
                if [ ! -x $input ]
                 then
                         /home/A/$file<input
                 fi
           done
      fi
done

When i executed the script above, output was

correct is an execute
infile00 is an execute

I made some changes in the code as era suggested in the previous post:

( the red ones are modifications).
However, I still got the wrong ouput......

What output are you expecting?

Still one dollar sign missing. And like I tried to explain, $file already has the full path, so you should remove that.

$file<$input

You would have been receiving error messages; including those in your post would help immensely.