Advertisement
Guest User

java ques 2

a guest
Feb 20th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.16 KB | None | 0 0
  1. class question4
  2. {
  3. public static void main (String [] args)
  4. {
  5. int costs = 8;
  6. int number = 5;
  7. System.out.println (“Total cost:+ (cost * number));
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement