Skip to content

Commit a704c20

Browse files
committed
Create 2769-find-the-maximum-achievable-number.js
1 parent 704285e commit a704c20

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/**
2+
* @param {number} num
3+
* @param {number} t
4+
* @return {number}
5+
*/
6+
var theMaximumAchievableX = function (num, t) {
7+
return num + (t * 2) // return sum of value of num and twice the value of t
8+
};

0 commit comments

Comments
 (0)