Write a program to print only the alphabets from the given string and print the length of the alphabets in the string.
Input format:
The first line contains N, size of the string. The next line contains a string.
Output Format:
Print the only alphabets. Print the length of the alphabets in the characters
Sample Input:
10
LeniN@1234#
Samle output:
LeniN
The new string lenght is: 5
Answers
Answered by
3
Answer:
Pattern printing has always been an interesting topic in programming languages. It emphasizes the usage of inner and outer loops in nested loops and creates beautiful patterns from them.
Below are given some patterns using alphabets. Our task is to write programs for the below-given patterns, such that each pattern should print on the basis of given input ‘n’ when n = count of alphabets.
Similar questions