Tags:
tag this topic
create new tag
view all tags
---+Hint: Steps for developing the program Don't proceed to the following step until you can "prove" that the current step works. 1. Get the program to read the file and print out the first line (using two different variables) 1. Get the program to do with for every line (not using a count controlled loop) 1. Change it so that instead of printing the English word, it asks the user for the English word and then displays if it was correct 1. Add to the display if it is not correct, what the correct English word is. 1. Add a counter to count the number of lines in the file (follow example from class). Don't forget to initialize it! 1. Add a second counter to count the number of times correct. Don't forget to initialize it! 1. After the loop, print out the statistics.
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 - 2025-07-21
-
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