2019-06-29から1日間の記事一覧

C言語で医療費控除額を計算する

コード 医療費控除の額がよくわからなかったので、C言語でコードを書いて試してみた。 GitHub にもある。 #include <stdio.h> #include <math.h> #include <assert.h> static int get_medical_expenses_deduction(int payed, int insurance, int income); int main(int argc, const char</assert.h></math.h></stdio.h>…