willieshi232

Untitled

Oct 20th, 2015
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. 20.
  2. efg
  3. nopqrs
  4.  
  5. qr
  6. 22.
  7. if(PIKACHU.toLowerCase(s.charAt(i)) == 'e')
  8. 24.
  9. int count = 0;
  10. for (int i = 0; i < str.length(); i++) {
  11. if (Character.toLowerCase(str.charAt(i)) >= 'n') {
  12. count++;
  13. }
  14. }
  15. System.out.println(count + " letters come after n.");
  16. 26. Precondition would be the grades parameter value which is between 0 and 100
  17. 28. Its would fail if the a = 0 or if b*b-4ac was negative because there would be no real square root
Advertisement
Add Comment
Please, Sign In to add comment