html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!-- @Dan&Jel -->
<!DOCTYPE html>
<html>
<head>
<title> Expressions Matter</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/tomorrow-night.min.css">
</head>
<body>
<pre>
<b>[ASSIGNMENT]:</b>
<h2> Expressions Matter</h2>
<b>TASK: Given</b> three integers <b>a</b>, <b>b</b> and <b>c</b>,
<b>return</b> the <b>largest number</b>obtained
after inserting the following operators
and brackets <b>+</b>, <b>*</b>, <b>( )</b>.
<b><i>Consider an Example:</i></b>
<b>With the numbers are 1</b>, <b>2</b> and <b>3</b>, here are
some ways of placing signs and brackets :
<b>1 * (2+3) = 5</b>
<b>1 * 2 * 3 = 6</b>
<b>1 + 2 * 3 = 7</b>
<b>(1+2) * 3 = 9</b>
So <b>the Maximum value</b>,
that you can obtain is <b>9</b>.
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
body {
}
Enter to Rename, Shift+Enter to Preview
js
js
1
//by @boolean maybe
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run