Question: c programming pls answer all the questions Question 4a Write a C program that counts the total number of characters entered from the keyboard. Hint:
Question 4a Write a C program that counts the total number of characters entered from the keyboard. Hint: Use while loop with gothard. Sample program output aabbccddee 10 characters entered 01234567895 15 characters entered Quest University 16 characters entered Question 4b (Choose either 4b or 4c) Modify your program in 3(a) to count the number of spaces in between the characters entered from the keyboard Quest University 1 space entered I love you 2 spaces entered Question 4c (Choose either 4b or 4c) Modify your C program in 3(a) to switch the alphabet entered in lowercase to its uppercase. Quest University QUEST UNIVERSITY Question 5 FO Fo F1 F2 F3 F F F F F F F F F 2 Fas Ft Fas F1 F12 F1 F1 F20 0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6785 Write a F given that F = 0 and F:-1. Your program must use iteration to compute the result. Sample program output Fibonacci F(21) - F(19) + F(20) - 4181 +6765 -10946
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
