Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
11
Task/Temperature-conversion/Ring/temperature-conversion.ring
Normal file
11
Task/Temperature-conversion/Ring/temperature-conversion.ring
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
k = 21.0 c = 0 r = 0 f = 0
|
||||
convertTemp(k)
|
||||
see "Kelvin : " + k + nl +
|
||||
"Celcius : " + c + nl +
|
||||
"Rankine : " + r + nl +
|
||||
"Fahrenheit : " + f + nl
|
||||
|
||||
func convertTemp k
|
||||
c = k - 273.15
|
||||
r = k * 1.8
|
||||
f = r - 459.67
|
||||
Loading…
Add table
Add a link
Reference in a new issue