Advertisement
eranseg

NumberOfLetters

Jul 21st, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.33 KB | None | 0 0
  1. Homework Assignment 3
  2. ------------------------------
  3. public class NumberOfLetters {
  4.     public static void main(String[] args) {
  5.         // Using letter characters as numbers to calculate the amount of letters in the english language
  6.         System.out.println("The number of US letters in the ASCII table is: " + ('Z' - 'A' + 1));
  7.     }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement