Instructions Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if: § The assignment is submitted after due date. § The submitted assignment does not open or file is corrupt. § All types of plagiarism are strictly prohibited. Note: You have to upload only .cpp file along with both source and destination file (in .text format). Assignment in any other format (extension) will not be accepted. If you will submit code in .doc (Word document) you will get zero marks. Objective The objective of this assignment is to provide hands on experience of using § Basic concepts of C++ language and Programming § Function in c language § String manipulation in C++ § File Handling in C/C++ Guidelines § Code should be properly aligned and well commented. § Follow c/c++ rules while writing variables names, function names etc § Use only dev-C++ for this assignment. | |
Assignment | |
Problem Statement: File Handling in C/C++ On the basis of the given scenario create a file Expenses.txt, Open the file and copy into another Expenses2.txt, Also show output on screen A college has announced the total budget of 50,000Rs.for each game. Games are done four times in a year. Take expenses as an input from user. Calculate the average expenses for a game:
| |
Deadline Your assignment must be uploaded/submitted on or before November 25, 2009 |
Subscribe to:
Post Comments (Atom)
Post a Comment