While loop won't accept value from another class

Printable View