Make expression true | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Make expression true

Need help with following expression. I need to make the following expression true. 40__4__3__1 = 24 Blanks can be filled with (÷, ×, +, -) operators. You can also use brackets if necessary. keep in mind that we cannot change the order of the numbers

7th Nov 2019, 1:04 PM
Yousaf
Yousaf - avatar
7 Answers
+ 3
40 - (4 * (3 + 1)) = 24
7th Nov 2019, 1:18 PM
Ipang
+ 3
This is your assignment so please try to do by yourself.
7th Nov 2019, 1:17 PM
A͢J
A͢J - avatar
+ 2
Yousaf But this place is only to ask questions on your problem. So please better to post on your Activity Feed. Please follow this guidelines:- https://www.sololearn.com/discuss/1316935/?ref=app
7th Nov 2019, 1:20 PM
A͢J
A͢J - avatar
+ 1
print('give up…')
7th Nov 2019, 1:14 PM
o.gak
o.gak - avatar
+ 1
Yousaf Ok. No Problem.
7th Nov 2019, 1:23 PM
A͢J
A͢J - avatar
0
No, this is not my assignment.
7th Nov 2019, 1:18 PM
Yousaf
Yousaf - avatar
0
I know, i tried doing the problem myself. I came up with (40÷(3-1)) + 4 = 24 but changing order of numbers wasn't allowed. I assure you this isn't my assignment
7th Nov 2019, 1:21 PM
Yousaf
Yousaf - avatar