随笔分类 - HackerRank【30 Days of Code】
巩固基础知识很不错
摘要:Day 5: Loops 给一个整数,打印他的十个倍数,每个倍数需要单独开启一个新行,格式:n x i = result. Sample Input 2 Sample Input Sample Input 2 2 Sample Output 2 x 1 = 2 2 x 2 = 4 2 x 3 = 6
阅读全文
摘要:Day 4: Class vs. Instance Task Write a Person class with an instance variable, age, and a constructor that takes an integer, initialAge, as a paramete
阅读全文
摘要:Day 3: Intro to Conditional Statements
阅读全文
摘要:Day 2: Operators Task Given the meal price (base cost of a meal), tip percent (the percentage of the meal price being added as tip), and tax percent(t
阅读全文
摘要:Day 1: Data Types
阅读全文
摘要:Day 0: Hello, World. Task To complete this challenge, you must save a line of input from stdin to a variable, print Hello, World. on a single line, an
阅读全文

浙公网安备 33010602011771号