Virtually every program you use has the ability to save something. One important part of saving documents is determining a file name and path.
A file name and path is more than what you see when you're using Microsoft Word and you choose SAVE AS and give your document a name like document1 (the worst name ever). When saving, the program also creates a file path (which is why it asks you WHERE you want to save your document) and a file extension (which is why it asks you the save as type)
So, if I'm using MS Word, and I choose to save something to my H: drive and I call it document1, the internal file name/path is actually H:document1.docx (even though you usually just see the middle part).
In this program, you will use string variables to create a file path that inlcludes a drive reference, file name, and extension.
The program should start by asking the use which drive they would like to save to. The screen should list the following options (A, C, E, I, and H). The user enter only one character. Hopefully, it's one from the list of valid choices.
After they user enters their drive choice, the screen should clear and the program asks them for a file name. Tell them that the file name should be 8 characters or less. After they've entered their file name, the program tells them the number of character they used and the number of available characters (unused). (Extension: If the user enters more then 8 characters, give them a warning or make them re-enter the file name). Pause for a short time before clearing the screen.
Finally ask the user for what type of document they'd like to save. Print these choices on the screen:
(Extension: Do some research on file extensions and add a few more to this list)
After the user has entered 3 pieces of information (drive, name, and extension), the program should concatenate their strings to form a filepath. The file path will include the drive, followed by colon, followed by the name, followed by a period, followed by the extension. The program should print their file path on the screen and end.