Skip to content

Commit

Permalink
Added an easy test assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
svHvidsten committed Nov 15, 2023
1 parent 1e1febb commit 42ee8ed
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions piggy/enkel/js_CtoF.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Celsius til Fahrenheit konvertering
authors:
- Sindre Hvidsten
tags:
- IM
- IKT
- JavaScript
---

# Konvertere mellom Celsius og Fahrenheit
Lag en funskjon i JavaScript som gjør om Fahrenheit til Celsius eller motsatt.

Formelen for å regne ut Fahrenheit er:
```js
(temperatur * 9/5) + 32
```

Dere kan også legge til konvertering mellom flere ting, som for eksempel Kilometer og Mile.

0 comments on commit 42ee8ed

Please sign in to comment.