سلام عليكم
شخباركم
عندي كم سؤال اتمنى تساعدوني فيهم
في هذا السؤال اريد الشرح فقط وانا بحاول فيه
write a program that asks the user to enter a line of text and out put the occurrence of the letters(upper or lower case) in the line.when outputing the number of letters that occur in a line, output the lettersin alphapitical order and list only those letters that do occur in the line. use an integer array to count the occurrence of the letters in the line .the maximum number of characters in the line is 100.
:example
input is
enter a line of text:
I am a live
the output is :
i am a live
letter frequency
a 2
e 1
i 2
l 1
m 1
v 1
وشكرا مقدما
Nooran