Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int trim(int var, int min, int max, int schritt){
- if(min>max)
- return var;
- if(var>max){
- var=var-schritt;
- if(var>max)
- var=trim(var,min,max,schritt);
- return var;
- };
- if(var<min){
- var=var+schritt;
- if(var<min)
- var=trim(var,min,max,schritt);
- return var;
- }
- Console.WriteLine("Yer gay");
- }
Add Comment
Please, Sign In to add comment