Count and print number of Special Characters present in string | String Programs | JAVA | ICSE

preview_player
Показать описание
Write a program to input any string then count and print the number of Special Characters present in the string.
For example,
Input : N@_7 *
Output : Special Characters = 4

A helpful tip: In order to better understand programs on strings, it is strongly advised that you first go through all videos on string and character functions. You can find the videos by clicking the i card in the above video or by directly visiting the following link

In the above video we understand the problem in more detail and then we learn how to write a Java program to solve it; along with dry run for better understanding.

Here are the links for all the playlists that I have made till now and am currently working on.
1. Numbers

2. Mathematical Functions

3. Series

4. Patterns

5. Syntax

6. String and Character Functions

7. Decision Making

8. Doubts

9.Theory

10. String Programs

Here is the link of the previous video which is on String2

In case you have any doubt feel free to drop a comment, I will try my best to help you and solve your problem.
You can also reach me out on WhatsApp or by email.
Contact
WhatsApp Number: 8881210626

#Programmer #Learner #Coder
Рекомендации по теме
visit shbcf.ru