Write a program that reads a text file and counts the characters in each line. The program should display the line number and the length of the shortest and longest lines in the file, as well as the average number of characters per line.
Subject:
Computer Science
Topic:
File Processing
Posting ID:
31658
OTA ID:
103644
Calculating Sequential Access Files in Visual Basic.Net
In my application I've created a sequential access file or often call a text file in Visual Basic.Net. I am wondering how can I code the program to calculate the average of all the data from the sequential access file? Example: Let say my money program ask me to enter the amount (one at a time) of all the things I bought today and the amount I enter would store in the sequential file. The money program has a average button that will calculate the average of all amount I spent. How can code the average button to read all the amount I enter in the sequential file and give me the average? Program examples would be helpful. Thank you.
Subject:
Computer Science
Topic:
File Processing
Posting ID:
35766
OTA ID:
103997
Electrical and Computer Engineering: Digital Logic Systems
Please create a flow chart and pseudo-code (using programming logic only, not a programming language) -------------------------------------------------------------------------------- You want to produce a report of your movie collection. Which fields would you use, and which would be the data types of each of those fields? Create a flowchart and pseudo-code for generating a report that prints all of the movies, with all movies made by the same director on one page, as well as the number of movies by each director. I just need the flowchart and pseudo-code so I can write the program. I couldn't think of the process
Subject:
Computer Science
Topic:
File Processing
Posting ID:
41156
OTA ID:
104496
Need help on excel program ASAP. The problem is below. Please also refer to the attached Excel file. I am using an excel spreadsheet to do item inventory and also count items. There are two lines per item starting with Row 5 Column D which is item One The count starts on Column 5 Thus D5 is 1 There are TWO empty rows between items Thus D9 is 2 Thus D13 is 3 Thus D17 is 4 What I need to do is track items that are out of stock and NOT count them into this count If D3 is Out of Stock I would like to be able to put into C13 a "N" and have D13 go Blank and go onto make D17 be 3 Also, there may be situations where there are multiple items out of stock one after anot... click for more
Subject:
Computer Science
Topic:
File Processing
Posting ID:
85516
OTA ID:
101620
I open my computer and create a new folders named Apex Carton, Manufacturing, Material Suppliers, East Coast and West Coast. Then move the East Coast and West Coast folders into the Material Suppliers folder. For the next part of my home work I can't understand what I have to do. Please could you explain it for me step by step. I need: Create a blank file using WordPad, then save it as Suppliers Bid in the Manufacturing folder. Then move the Suppliers Bid file into the Material Suppliers folder. Copy the Suppliers Bid file into the Manufacturing folder and rename the copied file Manufacturing Bids. Then draw the file hierarchy of my Apex Cartons folder. Then send to my teacher. I ca... click for more
Subject:
Computer Science
Topic:
File Processing
Posting ID:
98549
OTA ID:
105035
Page generated in 0.0113 seconds