Can Anyone Help Me Understand What I am Doing Wrong?

I tried to run this code, but it just kept giving my the " ^~~
exit status 1
'ttt' was not declared in this scope
"
error like before.