import java.util.*;
import java.lang.*;
/**
* To output whether a students chosen password is valid or not.
*
* @author (Sean McGlone
* @version (December 13, 2010)
*/
class...
Type: Posts; User: Sean137
import java.util.*;
import java.lang.*;
/**
* To output whether a students chosen password is valid or not.
*
* @author (Sean McGlone
* @version (December 13, 2010)
*/
class...
I am looking for the shortest, simplest and most elegant way to count the number of capital letters in a given string.
Thanks
Sean:confused:
ok... I have one more question. How do you then take the same input word with the 12 characters and make sure that there are 3 and only 3 uppercase letters.
Thanks
Sean:confused:
^:)^OH ......MY.......GOSH!!!!!^:)^
:)>-Thank YOU soooooooo much!!!:)>-
^:)^Ive been doing this for about 3 months now so I am kinda new.^:)^
ThankYou
Sean
import java.util.*;
import java.lang.*;
/**
* To output whether a students password is valid or not.
*
* @author (Sean)
* @version (December 13, 2010)
*/
class SemesterProject
{