Danh mục

Lecture Introduction to Java programming - Chapter 3: Selections

Số trang: 69      Loại file: ppt      Dung lượng: 403.00 KB      Lượt xem: 13      Lượt tải: 0    
Thư Viện Số

Hỗ trợ phí lưu trữ khi tải xuống: 38,000 VND Tải xuống file đầy đủ (69 trang) 0

Báo xấu

Xem trước 7 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

If you assigned a negative value for radius in Listing 2.1, ComputeArea.java, the program would print an invalid result. If the radius is negative, you dont want the program to compute the area. How can you deal with this situation? On completion of this chapter students will know how to: To declare boolean type and write Boolean expressions using comparison operators, to program AdditionQuiz using Boolean expressions, to implement selection control using one-way if statements,...
Nội dung trích xuất từ tài liệu:
Lecture Introduction to Java programming - Chapter 3: Selections

Tài liệu được xem nhiều: