Skip to content

Commit

Permalink
Corrected formula in numbers (question 4)
Browse files Browse the repository at this point in the history
The question was to convert Fahrenheit to Celsius and the formula was for Celsius to Fahrenheit. So changed the formula and instructions.
  • Loading branch information
priyanshu769 committed Mar 12, 2021
1 parent 03335f6 commit 244bb05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-logic/003_numbers.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

Formula : `0.5 * m * v * v`

1. Write a program to convert Fahrenheit to Celsius. For Celsius to Fahrenheit conversion use:
`T = 9*T/5 + 32`
'T' is the temperature on the Celsius scale.
1. Write a program to convert Fahrenheit to Celsius. For Fahrenheit to Celsius conversion use:
`T = (T - 32) 9/5`
'T' is the temperature on the Fahrenheit scale.

```
Input: 56
Expand Down

0 comments on commit 244bb05

Please sign in to comment.