#include <stdio.h>
int GetReimburses(int minutes)
{
int hours = minutes / 60;
return hours * 50;
}
int main(int argc, char* argv[])
{
printf("Reimburses for 126 minutes is %d\n", GetReimburses(126));
printf("Reimburses for 160 minutes is %d\n", GetReimburses(160));
return 0;
}
Comments
Leave a comment