Advertisement
chaibs

targil3-ascii

Dec 12th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.21 KB | None | 0 0
  1. package myfirst;
  2.  
  3. public class targil3 {
  4.  
  5.     public static void main(String[] args) {
  6.  
  7.         int num = 'Z' - 'A' + 1;
  8.  
  9.         System.out.println("There are " + num + " letters in the alphabet");//result
  10.  
  11.     }
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement