0

Who can solve it and explain it to me?

Matrices You are given a double array of items in a store that have different prices (see template). Write a program that gets a "percentage discount" on sales as input and outputs the prices of the discounted items on a line in the same sequence as the one given and separated by a space (""). Input example 25 Output example 375 9.3 70.5 33.75 2.25 60.75 750.675 63.75 67.5 0.75 26.25

20th Jul 2021, 3:49 AM
Fransisco Estrada
3 Answers
+ 5
Fransisco Estrada , before we can help you, you should show us your attempt first. we are nit going to solve this task for you, but we are very pleased to support you so that you are able to solve this task by yourself. if you have not done a try by yourself upto now, please do so. => put your code in playground and link it here. some hints: â–Ș... â–Șiterate over the array â–Ștake each element from the input array and calculate the new value â–Șprint each new value as mentioned in the task description. happy coding!
20th Jul 2021, 11:09 AM
Lothar
Lothar - avatar
+ 3
Dude is this question from your hw/assignments?🌝
20th Jul 2021, 4:57 AM
syscall
syscall  - avatar
+ 1
that's right, I just can't understand ...
20th Jul 2021, 5:05 AM
Fransisco Estrada