Fix formatting and curly brackets

This commit is contained in:
sam-astro 2022-06-02 22:05:58 -04:00 committed by GitHub
parent fff73e5f14
commit 0a8b8f47d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,17 +205,19 @@ func Perm(n, r)
return Fac(n) / Fac(n - r) return Fac(n) / Fac(n - r)
} }
//////////////////////////// //////////////////////////////////////////
// ↓ MADE BY CONCHETUMARE_PRODUCTIONS ↓ // // ↓ MADE BY CONCHETUMARE_PRODUCTIONS ↓ //
//////////////////////////// //////////////////////////////////////////
func getPercent(value, percent) func GetPercent(value, percent)
{ {
float temp = value * percent / 100 float temp = value * percent / 100
return temp return temp
} }
//gets 100% of number //gets 100% of number
func percent2hundred(value, percent) func PercentToHundred(value, percent)
{
float temp = value * 100 / percent float temp = value * 100 / percent
return temp return temp
}
)" )"
; ;