出力結果としては
health:not good :(
health:good ;)
っていうのをイメージしてる
出力結果としては
health:not good :(
health:good ;)
っていうのをイメージしてる
using System;using CalorieMate;//カロリーメイトclass body//体の英語がこれしか思い浮かばなかった...{void main(String[] args){CalorieMate Cm = new CalorieMate();System.Console.WriteLine("health:" + Cm.MyHealth + "\n");//Cm.MyHealth = 今の健康状態Cm.Drink(CalorieMate_Liquid);//Cm.Drink( A ) = Aを飲むSystem.Console.WriteLine("health:" + Cm.MyHealth);}}