![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 26.11.2019 04:31, Twitches
Write a program to read a text file. determine if the character is uppercase, lowercase, a digit, or space, and keep a running total of each.
hints
define main() program
declare variables
save the given data file under the same folder as your program file is.
open file
use a for loop to read data and verify with if statement or if/elif statement
print out the total of is uppercase, lowercase, a digit, and space characters in the file
![answer](/tpl/images/cats/otvet.png)
Answers: 3
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 03:00, tay9122
Jason, samantha, ravi, sheila, and ankit are preparing for an upcoming marathon. each day of the week, they run a certain number of miles and write them into a notebook. at the end of the week, they would like to know the number of miles run each day, the total miles for the week, and average miles run each day. write a program to them analyze their data. your program must contain parallel arrays: an array to store the names of the runners and a two-dimensional array of five rows and seven columns to store the number of miles run by each runner each day. furthermore, your program must contain at least the following functions: a function to read and store the runners’ names and the numbers of miles run each day; a function to find the total miles run by each runner and the average number of miles run each day; and a function to output the results. (you may assume that the input data is stored in a file and each line of data is in the following form: runnername milesday1 milesday2 milesday3 milesday4 milesday5 milesday6 milesday7.)
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 04:00, coolconnor1234p0sv4p
Another name for addicting games. com
Answers: 1
Do you know the correct answer?
Write a program to read a text file. determine if the character is uppercase, lowercase, a digit, or...
Questions in other subjects:
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/es.png)
Spanish, 16.10.2020 07:01
![Konu](/tpl/images/cats/geografiya.png)
Geography, 16.10.2020 07:01
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/geografiya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 16.10.2020 07:01
![Konu](/tpl/images/cats/health.png)
Health, 16.10.2020 07:01
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/ap.png)
Advanced Placement (AP), 16.10.2020 07:01