Wap that reads in a text file of histogram


Problem:

Question 1- Write a C++ program that reads in a text file and write the histogram of word frequency sorted in le icographic order to an otp t file.

Question 2- Write a recursive C++ program to solve the famous Towers of Hanoi problem. In addition to showing the moves, also display the current status of three pegs as follows.

Initial pegs
A54321
B
C
Move disk 1 from peg A to peg B
A5432
B1
C

Please show code with comments so I can follow what you are doing.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Wap that reads in a text file of histogram
Reference No:- TGS0893852

Expected delivery within 24 Hours