File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1+ তোমাকে ফাংশনের ইনপুট হিসেবে সেলসিয়াস দিবে। তুমি ক্যালকুলেশন করে তাপমাত্রা ফারেনহাইট এ কনভার্ট করে সেটার আউটপুট রিটার্ন করবে
2+
3+ You will be given Celsius as input to the function. You calculate the temperature and convert it to Fahrenheit and return the output
Original file line number Diff line number Diff line change 1+ /* You will be given Celsius as input to the function.
2+ You calculate the temperature and convert it to Fahrenheit and return the output */
3+
4+ function celsiusToFahren ( celsius ) {
5+ const inputCel = celsius ;
6+ const fahrenheit = inputCel * 9 / 5 + 32 ;
7+ const massage = inputCel + "\xB0C Celsius equals to " + fahrenheit + "\xB0F fahrenheit." ;
8+ return massage ;
9+ }
10+
11+ console . log ( celsiusToFahren ( 11 ) ) ;
You can’t perform that action at this time.
0 commit comments