We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8de2d88 commit d16727dCopy full SHA for d16727d
problem34/problem.md
@@ -0,0 +1,3 @@
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
problem34/problem34.js
@@ -0,0 +1,11 @@
+/* You will be given Celsius as input to the function.
+You calculate the temperature and convert it to Fahrenheit and return the output */
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));
0 commit comments