Created
August 11, 2019 04:10
-
-
Save arockusa/c0ebcaa59743d1fd5937832a7f728502 to your computer and use it in GitHub Desktop.
test1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void fun | |
{ | |
//使用薪資計算器 SalaryCalculator,引用基本公式 SalaryFormula | |
SalaryCalculator SC = new SalaryCalculator(new SalaryFormula()); | |
//工時 , 時薪, 請假天數 | |
float amount = SC.Calculate(8 * 19, 200, 8); | |
Console.Write("amount:" + amount); | |
Console.ReadKey(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment