The Student Room Group

A level Computer Science AQA - SymbolPuzzlw

Has anyone done the validation for the user input and does it work for negative numbers .Also has anyone modified GetSymbolFromUser to accept lower cap . plsss i need the help

Reply 1

Original post
by a.g1silva
Has anyone done the validation for the user input and does it work for negative numbers .Also has anyone modified GetSymbolFromUser to accept lower cap . plsss i need the help

Take the user input and make it a capital letter. Than all validation is always done using capital letters regardless of the user input. You can also use if statements to filter out numbers or letters that are not permitted.

You need to spend a serious amount of time on this code. Go through each line and write an English comment that describes each line. By the time you get to the end you might have a clearer picture.

Reply 2

Original post
by a.g1silva
Has anyone done the validation for the user input and does it work for negative numbers .Also has anyone modified GetSymbolFromUser to accept lower cap . plsss i need the help

We don't have that much time left before exams! You need to get on the Skeleton Program grind (as do I).

Reply 3

Original post
by hotpud
Take the user input and make it a capital letter. Than all validation is always done using capital letters regardless of the user input. You can also use if statements to filter out numbers or letters that are not permitted.
You need to spend a serious amount of time on this code. Go through each line and write an English comment that describes each line. By the time you get to the end you might have a clearer picture.

How was your NEA pre-exam board moderation? What did you get?

Quick Reply

How The Student Room is moderated

To keep The Student Room safe for everyone, we moderate posts that are added to the site.