diff options
author | standenboy <standenboy@seacrossedlovers.xyz> | 2023-12-15 10:19:20 +0000 |
---|---|---|
committer | standenboy <standenboy@seacrossedlovers.xyz> | 2023-12-15 10:19:20 +0000 |
commit | 4a95719d58a708ad55b1389631d6339047f786a0 (patch) | |
tree | 26cb6fc2dbe7fa75f57f1d6fb13aff8955772b56 /comp/work/1/fahToCel |
added existing work
Diffstat (limited to 'comp/work/1/fahToCel')
-rwxr-xr-x | comp/work/1/fahToCel | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/comp/work/1/fahToCel b/comp/work/1/fahToCel new file mode 100755 index 0000000..e412c72 --- /dev/null +++ b/comp/work/1/fahToCel @@ -0,0 +1,5 @@ +inputTemp = float(input("Temprature in fahrenheit: ")) + +convertedTemp = (5 / 9) * (inputTemp - 32) + +print("the converted temp is", convertedTemp) |