All pastes #52800 Raw Edit

Something

public text v1 · immutable
#52800 ·published 2006-05-02 08:15 UTC
rendered paste body
//LAST MONTH"S UTILITIES

#include <stdio.h>

int m_pays(int matetot, int grandtot)
{
printf("##%d and %d\n",matetot,grandtot / 6);
if (matetot < (grandtot / 6))
	return(matetot);
else 
	return(matetot -= marc_pays((matetot - (grandtot / 6)),grandtot));
}


int main()
{
	const int b_total = 370;
	const int j_total = 500;
	printf("Recursively its %d.\n",m_pays(b_total,(b_total + j_total)));	
return (0);
}

======================THE OUTPUT==================
##370 and 145
##225 and 145
##80 and 145
Recursively its 225.