JAVA语言程序设计(第8版)第5章完整答案programming-exercises(程序练习题)答案完整版.docxVIP

  • 5
  • 0
  • 约3.88万字
  • 约 38页
  • 2019-07-16 发布于四川
  • 举报

JAVA语言程序设计(第8版)第5章完整答案programming-exercises(程序练习题)答案完整版.docx

5_1 public class Exercise01 { public static void main(String[] args) { final int PENTAGONAL_NUMBERS_PER_LINE = 10; final int PENTAGONAL_NUMBERS_TO_PRINT = 100; int count = 1; int n = 1; while (count = PENTAGONAL_NUMBERS_TO_PRINT) { int pentagonalNumber = getPentagonalNumber(n); n

文档评论(0)

1亿VIP精品文档

相关文档