(1 mark, file to be edited: Q6.c)
The program allows the user to enter a string containing any characters from the keyboard.
Find and print the number of characters that are lowercase letters.
Below is an example:
Enter a string = "Summer semester 2024 - FPTU"
Summer semester 2024 FPTU
OUTPUT:
13
Press any key to continue
Question 7:
(1 mark, file to be edited: Q7.c)
The program allows users to enter an array of n real numbers from the keyboard.
Then, continue to enter a real number k.
The program prints to the screen the elements of the array with values other than k in descending order. For each printed element, get 1 digit after the decimal point.
Below is an example:
Enter n = 6, array = {2.2, 3.5, 4.11, 5.5, 4.11, 8), k = 4.11
Zoom
+ 100%
Close