zoukankan      html  css  js  c++  java
  • FizzBuzz

    should return orginal input when number cannt be divisible by three or five
    当数字不能被3或5整除时,应返回原始输入。  
    
    should return "Fizz" when number can be divisible by three
    当数字能被3整除时,应返回 "Fizz"。  
    
    should return "Fizz" when number contains 3
    当数字包含3时,应返回 "Fizz"。  
    
    should return "Buzz" when number can be divisible by Five
    当数字能被5整除时,应返回 "Buzz"  
    
    should return "Buzz" when number contains 5
    当数字包含5时,应返回 "Buzz"。
    
    should return "FizzBuzz" when number can be divisible by bothThree and Five
    当数字能被3和5整除时,应返回 "FizzBuzz"。  
    
    should return "FizzBuzz" when number contains both 3 and 5
    当数字同时包含3和5时,应返回 "FizzBuzz"。  
    
    should return "FizzBuzz" when number contains 5 and can be divisible by 3
    当数字包含5且能被3整除时,应返回 "FizzBuzz"  
    
    should return "FizzBuzz" when number contains 5 and can be divisible by 5
    当数字包含5且能被5整除时,应返回 "FizzBuzz"。
    
  • 相关阅读:
    错误提示窗口-“操作系统当前的配置不能运行此应用程序”
    打印机无法打印的10种解决方法
    开发进度三
    人月神话阅读笔记二
    开发进度二
    开发进度1
    人月神话阅读笔记一
    库存物资管理系统
    四则运算
    动手动脑5
  • 原文地址:https://www.cnblogs.com/markLogZhu/p/15714925.html
Copyright © 2011-2022 走看看