1 write a program that analyzes a data file that has been determined to contain only 5346999

1)

write a program that analyzes a data file that has been determined to contain only integer values and white spaces. The program should print the number of lines in the file and the number of integer values (not integer digits)

2)

write a program that reads a file containing data values computed by an accounting software package. while the file contains only numerical information, the values may contain embedded commas and dollar signs, as in $3,200, and negative values are enclosed in parentheses, as in (200.56). write a program to generate a new file that contains the values with the commas and dollar signs removed, and with a leading minus sign instead of the parentheses. do not change the number of values per line in the file.

RATE LIFE SAVER

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now