Write a program that gives and takes advice on program


Write a program that gives and takes advice on program writing. The program starts by writing a piece of advice to the screen and asking the user to type in a different advice. The program then ends. The next person runs this program receive the the advice given by the person who last ran. The advice is kept in a file and the contents change after each run. Allow the person to type in advice of any length so that it can be any numbers of line long. The user is told to end his advice by pressing enter twice. So, the program can then test to see that it has reached te end of the input by checking to see when it reads two consecutive occuremces of the character 'n'.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program that gives and takes advice on program
Reference No:- TGS0146556

Expected delivery within 24 Hours