Professional Documents
Culture Documents
Object Oriented Programming Lab
Object Oriented Programming Lab
CSL 210
Lab Journal
Lab # 12
Objectives:
Tools Used:
Visual Studio
Submission Date:
Write a C++ program to write Multiplications Tables (from 2-16) in a file called
“Tables.txt”. All the tables should have appropriate title e.g. “Table of 2” and
conventional format for the table entries e.g. “2 x 1 = 2”.
Procedure/Program:
Result/Output:
Task # 2:
Write a C++ program to open a text file and count number of words and characters
in it. Print the output on the screen.
Procedure/Program:
Text File:
Result/Output:
Task # 3:
Write a C++ program to open a text file and print a frequency table of characters
in it. Print the output on the screen.
Procedure/Program:
Text File:
Result/Output: