subject

Count uppercase, lowercase, special character and numeric values
given a string, write a program to count the occurrence of lowercase characters, uppercase characters, special characters and numeric values.

examples:

input : #geeks01for@geeks07
output :
upper case letters : 5
lower case letters : 8
numbers : 4
special characters : 2

input : *geeks4geeks*
output :
upper case letters : 6
lower case letters : 4
numbers : 1
special characters : 2

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
Give an example of a case where a two-way handshake to establish a connection could leave one side of the connection live while the other side does not believe there is a connection.
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Write a method so that the main() code below can be replaced by the simpler code that calls method original main(): public class calcmiles { public static void main(string [] args) { double milesperhour; double minutestraveled; double hourstraveled; double milestraveled; milesprhour = scnr.nextdouble(); minutestraveled = scnr.nextdouble(); hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; system.out.println("miles: " + milestraveled); } }
Answers: 2
question
Computers and Technology, 22.06.2019 22:00
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from it’s socket
Answers: 2
question
Computers and Technology, 23.06.2019 15:20
An ou structure in your domain has one ou per department, and all the computer and user accounts are in their respective ous. you have configured several gpos defining computer and user policies and linked the gpos to the domain. a group of managers in the marketing department need different policies that differ from those of the rest of the marketing department users and computers, but you don't want to change the top-level ou structure. which of the following gpo processing features are you most likely to use? a, block inheritance b, gpo enforcement c, wmi filtering d, loopback processing
Answers: 3
You know the right answer?
Count uppercase, lowercase, special character and numeric values
given a string, write a progr...
Questions
question
Mathematics, 22.05.2021 15:30
question
Mathematics, 22.05.2021 15:30
question
Mathematics, 22.05.2021 15:40
Questions on the website: 13722367