Difference:
CSC121F2023Lab07Hint3
( vs. 1)
Revision 1
2023-06-20 -
cathybareiss
Line: 1 to 1
Added:
>
>
META TOPICPARENT
name="CSC121F2023Lab07"
Algorithm hint for asking one question in lab 7
it should be sent an already opened file
Get and print the first question
loop from 'a' to 'd' (hint you can add one to a character variable to get to the next character)
print out the "counter" along with the possible answer (nicely formatted)
get the answer from the file
get the user's answer
tell the user if they are right or wrong
return an indicator of their success
View topic
|
H
istory
:
r1
|
More topic actions...
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback