Tags:
tag this topic
create new tag
view all tags
---+Second help for knowing where to start: Carry out the process on a piece of paper. I will demonstrate: 1. get a number from the file (say 1) 1. get a number from the user (say 2) 1. see that they are not the same and do nothing 1. get the next number from the file (say 3) 1. get the next number from the user (say 3) 1. Indicate to the user that they were correct 1. see that they are the same and save "1" as the count correct 1. get the next number from the file (say 3) 1. get the next number from the user (say 3) 1. Indicate to the user that they were correct 1. see that they are the same and save "2" as the count correct 1. get the next number from the file (say 2) 1. get the next number from the user (say 4) 1. see that they are different and don't change the count correct 1. Indicate to the user that they got 2 correct on that line 1. reset the count correct to 0 Continue doing this for an entire file.<br> Once, done with that, you can notice what variables you needed (what numbers you got, computed, etc.) and what steps you need. It shows that you need something for a number from the file, a number from the user, and the number correct (at least). It also shows when you need to reset a counter and can indicate what should be in a loop
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2023-01-26
-
cathybareiss
Home
Site map
Assessment web
BethelAIResources2026 web
CenterForComputing web
ChatGPT web
Intro2AIatBethel web
Main web
Sandbox web
TWiki web
CenterForComputing Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
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