fix the code C Language please
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <string.h>
char menu();
char transaction_menu();
/* Verifies the Pin Entered match the PIN on record */
int validatePin(int);
/* Verifies the funds requested are available to perfrom thetransaction
* 0 – Ok to perform transaction, 1 – funds not available
*/
int verify(double, double);
/* Each of the following routines should update a specificbalance
* after the transaction has been completed
*/
double chk_deposit(double currentBalance, double amount);
double chk_withdraw(double currentBalance, double amount);
double sav_deposit(double bacurrentBalancel, double amount);
double sav_withdraw(double currentBalance, double amount);
void transfer(double, double);
double chk_deposit(double currentBalance, double amount)
{
currentBalance = currentBalance + amount;
return currentBalance;
}
double chk_withdraw(double currentBalance, double amount)
{
currentBalance = currentBalance – amount;
return currentBalance;
}
double sav_deposit(double currentBalance, double amount)
{
currentBalance