英语Chapter 7 Repetition Statements知识讲解.pptVIP

  • 6
  • 0
  • 约2.35万字
  • 约 36页
  • 2020-07-02 发布于天津
  • 举报

英语Chapter 7 Repetition Statements知识讲解.ppt

? 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Formatting Strings String s = “Java”; outputBox.printLine( Format.leftAlign ( 15, s )); outputBox.printLine( Format.centerAlign( 15, s )); outputBox.printLine( Format.rightAlign ( 15, s )); 15 leftAlign centerAlign rightAlign Methods in The Format Class Sample Program: Hi-Lo Game Problem Statement Write an application that will play Hi-Lo games with the user. The objective of the game is for the user to guess the computer-generated secret number in the least number of tries. The secret number is an integer between 1

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档