My orders
How it works
Examples
Reviews
Blog
Homework Answers
Submit
Sign in
How it works
Examples
Reviews
Homework answers
Blog
Contact us
Submit
Fill in the order form to get the price
Subject
Select Subject
Programming & Computer Science
Math
Engineering
Economics
Physics
Other
Category
C++
Software Engineering
Java | JSP | JSF
Databases | SQL | Oracle | MS Access
C
Python
Excel
C#
Visual Basic
Computer Networks
Functional Programming
Android
Assembler
UNIX/Linux Programming
ASP | ASP.NET
MatLAB
Wolfram Mathematica
MathCAD
Maple
Perl
Action Script | Flash | Flex | ColdFusion
Ruby | Ruby on Rails
Prolog
Objective-C | Swift
Algorithms
Web Development
HTML/JavaScript Web Application
NodeJS Web Application
Other
Deadline
Timezone:
Title
*
Task
*
{"ops":[{"insert":"\n\/\/ Write a program that copies the data in the\n\/\/ prelab input file to an output file \"88_mph\"\n\/\/ so that it is formatted the same in both files.\n\/\/ Additionally add 50 to the year when you rewrite\n\/\/ it to the output file to help Marty Mcfly get back to\n\/\/ his proper time.\n#include <iostream>\n#include <fstream>\nusing namespace std;\nint main()\u00a0{\n\u00a0\u00a0\u00a0\/\/ ADD HERE declare variables\n\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\/\/ declare input file stream variable and open file\n\u00a0\u00a0\u00a0ifstream fin;\n\u00a0\u00a0\u00a0fin.open(\"prelab_input.txt\");\n\u00a0\n\u00a0\u00a0\u00a0if (!fin)\u00a0{\n\u00a0\u00a0\u00a0\u00a0\u00a0cout << \"ERROR - File failed to open. make sure that \"\u00a0<< \"the input file and this file are in the\"\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<< \"same directory\" << endl;\n\u00a0\u00a0\u00a0\u00a0\u00a0return -1;\n\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0}\n\u00a0\u00a0\u00a0\/\/ declare output file stream varaible and open file\n\u00a0\u00a0\u00a0ofstream\u00a0fout;\n\u00a0\u00a0\u00a0fout.open(\"88_mph.txt\");\n\u00a0\u00a0\u00a0\/\/ ADD HERE write your code here\n\u00a0\n\u00a0\u00a0\u00a0\/\/ closing files\n\u00a0\u00a0\u00a0fin.close();\n\u00a0\u00a0\u00a0fout.close();\n\u00a0\u00a0\u00a0return 0;\n}\n"}]}
I need basic explanations
Special Requirements
Upload files (if required)
Drop files here to upload
Add files...
Account info
Already have an account?
Create an account
Name
*
E-mail
*
Password
*
The password must be at least 6 characters.
I agree with
terms & conditions
Create account & Place an order
Please fix the following input errors:
dummy