Write a program that prompts the user to enter a filename (assume no more than 2
ID: 3626124 • Letter: W
Question
Write a program that prompts the user to enter a filename (assume no more than 24 characters). Use the scanf function to read the file name. Then prompt the user to enter a sentence from the keyboard and write that sentence to the file whose name was entered. (Note: the sentence may include spaces, so be sure to use an input function that can handle that case, but will not be longer than 80 characters.) Look at the output file to verify that it was written correctly.I will appreciate it if the response is in C Programming.
Thank you for your precious time.