can i get the typed code for this, i am getting a lot of errors which i am unable to understand.
see this: