You are given a positive int
variable len
and a double
variable x
. You should declare a double
array named
exes
with len
elements and assign all of them to x
.
For example, if len
is 4
and x
is 7.7
, your program should create the array {7.7, 7.7, 7.7, 7.7}
.
Stuck? You may find these lessons helpful: