Computer Science Homework Solutions

A program that counts the characters in a File or Stream. It also gives statistics on the shortest and longest lines, as well as the average number of characters in each line.

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.

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 toda ...continues

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? ...continues

Excel program help

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 row ...continues

Windows XP Creation Files

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 ste ...continues

Functionality of Programs

Consider a Java-base application example with file access and file processing methods appropriate for e-business. Explain why that functionality is valuable for businesses.

Write a C++ program to find longest and shortest lines in a text file.

Write a C++ 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.

Multidimensional Arrays and Vectors

I need the following in C++. The output needs to be in a table format similar to the following sample: A demographic study of the metropolitan area around Dogpatch divided it into three regions (urban, suburban, and exurban) and published the following table showing the annual migration from one region to another (the number ...continues

Multidimensional Arrays and Vectors

I need the following in C++: A certain professor has a file containing a table of student grades, where the first line of the file contains the number of students and the number of scores in the table; each row of the table represents the exam scores of a given student and each column represents the scores on a given exam. T ...continues

Multidimensional Arrays and Vectors

**I need the following in C++** The output needs to be in a table format. A company has a product line that includes five items that sell for $100, $75, $120, $150, and $35. There are four salespersons working for this company, and the following report is for a given week: Salesperson ...continues

Browse