summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan <[email protected]>2022-11-16 16:24:59 -0800
committerEvan <[email protected]>2022-11-16 16:24:59 -0800
commite403b6b568b8f9fec8785f968586d50be511dfba (patch)
tree2b8980d19c886b8611d00092e8114b1c05ded5c6
parentj (diff)
downloadcst116-lab3-evanmihm-e403b6b568b8f9fec8785f968586d50be511dfba.tar.xz
cst116-lab3-evanmihm-e403b6b568b8f9fec8785f968586d50be511dfba.zip
hjk
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp8
-rw-r--r--infile.txt11
2 files changed, 16 insertions, 3 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp
index e2b9159..9944142 100644
--- a/BlankConsoleLab/BlankConsoleLab.cpp
+++ b/BlankConsoleLab/BlankConsoleLab.cpp
@@ -1,23 +1,25 @@
//lab3
#include <iostream>
#include <fstream>
+#include <iomanip>
using namespace std;
using std::cin;
using std::cout;
using std::endl;
+using std::setw;
using std::ios;
using std::ifstream;
using std::ofstream;
int main()
-{
+{//the first 'array' is the descripption of what needs to be done in total 6 equations/things to do
+ //next tsxt is 6 cols by x rows
ifstream inFile;
ofstream outFile("infile.txt");
inFile.open("LabResults.txt");
-}
-
+} \ No newline at end of file
diff --git a/infile.txt b/infile.txt
index e69de29..f9423ec 100644
--- a/infile.txt
+++ b/infile.txt
@@ -0,0 +1,11 @@
+129 7 3 1.3 7.5 0
+
+36 69 1 11.41 32 5.76
+
+7 41 1 4.6 15 5.76
+
+150 61 2 6.75 23 0
+
+112 17 1 3.84 15 0
+
+80 112 6 1.64 9.5 0 \ No newline at end of file