Question: c language only college tuition and fees increase about 2...
C language only.
College tuition and fees increase about 2% to 8% per year in the United States. Write a program that calculates a university’s tuition and fees per credit hour for each year for the next 20 years, using the simplifying assumption that the inflation rate will stay constant – 5% per year. The output should display the anticipated tuition and fees per credit hour for the next 20 years. The program asks the user to enter the college’s tuition and fees for 2018.
1) Use a for loop.
2) Format the output to print the values to 2 decimal place.
Enter the university’s tuition and fees per credit hour for 2018 ($): 382.73
The anticipated tuition for the next 20 years:
You are creating a new account on a website and need to come up
with a username. The website requires that a new username meets the
a) There is a 5-15 symbol limit for the usernames.
b) It can include alphabetic letters upper or lower case, digit, period, or underscore, but no space or any other punctuation.
1) Use getchar() to read in the input. The user input ends with the user pressing the enter key (a new line character).
Write a program that checks the username for the website.
Enter the username: sam_NY.88
Enter the username: sam&NY!
Enter the username: sam
Enter the username: sam_sacramento_California