Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- class program1
- {
- public static void main(String args[])
- {
- int y = 89;
- int x = 45;
- System.out.printf("I have %d cash in my pocket right now and %d cents.", y, x); /*printf("Format", args) allows you to format your output.*/
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement