PROJECT_4 - CS 31: INTRODUCTION TO COMPUTER SCIENCE I...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 31: INTRODUCTION TO COMPUTER SCIENCE I Computer Science Department University of California, Los Angeles Dr. John A. Rohr February 8, 2010 PROJECT 4 Writing C++ Using Floating-Point Operations and File I/O Objective : Learn to write C++ programs that use floating-point operations and file input and output. Background : A set of n simultaneous linear equations in n variables can be stored in an n by n+1 matrix. (The extra column is for the constants of the equations.) There solution to the set of equations is a vector of n elements. Assignment : Write a complete C++ program to solve a system of simultaneous linear equations using the method of Gauss-Jordan elimination. Requirements : 1. Read program input from the text file File4.In . 2. Write program output to the display screen (cout) and also to the file File4.Out . 3. Begin with the skeleton program provided. 4. If either file cannot be opened, skip all processing. 5. If insufficient input is provided, terminate processing. 6.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/08/2010 for the course COM SCI 31 taught by Professor Kinsey during the Spring '98 term at UCLA.

Page1 / 4

PROJECT_4 - CS 31: INTRODUCTION TO COMPUTER SCIENCE I...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online