jetzt hab ich mich doch mal versucht ^^
ist zwar C, ist denk ich aber auch ok
#include <stdio.h>
#include <conio.h>
//defines
#define NR_OF_VALUES 7
//function prototye
void FindOutput(int money_input);
//array with all valid values
int Values[]={5,10,20,50,100,200,500};
int main(void)
{...