+ 1
Sole
Some one shoulp please help me out function main() { var increase = parseInt(readLine(), 10); var prices = [98.99, 15.2, 20, 1026]; //your code goes here prices += 9 console.log(prices); } What am I doing wrong
7 Respuestas
+ 7
You can use a for loop to iterate prices and add increase to each price
for(i=0;i<4;i++){
prices[i]+=increase
}
console.log(prices)
+ 1
It's working fine
What issues are u facing
0
Have u call the function
main()
0
HrCoder yeap .. this is my last project nd its giving me issue.. store manager jscrpt
0
HrCoder how did u do it
0
HrCoder and where can i get my codes that you like on my profile,... it keeps showing connect to the internet on my profile
0
Option 1. Go to code playground, click on on top left corner "My Codes" tab.
option2. Go to your profile scroll down
select "see activity " and then you will see "bits " click on it