Rewrite the following program code using a if statement.
String Remarks;
int Code = Integer.parseInt(TextField1. getText());
switch(Code)
{ case 0 : Remarks ="100% Tax Exemption";
break;
case 1 : Remarks ="50% Tax Exemption";
break;
case 2 : Remarks ="3% Tax Exemption";
break;
default: Remarks = "! Invalid Entry";
}