0
Variables
Help me, please! How to write down the code for variables to work let balance = 416500; let withdraw = 160000; //your code goes here console.log(balance-=withdraw); balance = 964100; 145632; 350; 450000; withdraw =900000; 145632; 20; 9000;
5 Answers
+ 1
Do not change the code above //Your code goes here.
The balance and withdraw variables and values are already giving to you. All you need is the console.log part.
+ 1
As previously stated. You only need this line to pass all test cases.
//your code goes here
console.log(balance-=withdraw);
0
I have that
let balance = parseInt(readLine(), 10);
let withdraw = parseInt(readLine(), 10);
And 5 cases with variables
When I use all that 5 variables for balance and withdraw, just only one of them works another cases haven't done
0
Thank you so much đđđ
0
Awesome! You're Welcome!