Example2_13

Example2_13 - sale = .2 * 1;...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
0 public class Example2_13 { public static void main(String[] args) { int num1; int num2; double sale; char first; String str; num1 = 4; System.out.println("num1 = " + num1); num2 = 4 * 5 - 11; System.out.println("num2 = " + num2);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: sale = .2 * 1; System.out.println("sale = " + sale); first = 'D'; System.out.println("first = " + first); str = "It is a sunny day."; System.out.println("str = " + str); } }...
View Full Document

Ask a homework question - tutors are online