Answers for "array"

1

Array

// this is sumple array
let array=[1,2,3,4]
Posted by: Guest on September-10-2021
1

Array

// this is sumple array
let array=[1,2,3,4]
Posted by: Guest on September-10-2021
0

array

double prod(double #1,int #2){    double result= 1;    for(int i = 0;i<length;i++){        result = result * array[i];    }    return result;}
Posted by: Guest on June-27-2021
1

array

my_list = [-15, -26, 15, 1, 23, -64, 23, 76]
new_list = []

while my_list:
    min = my_list[0]  
    for x in my_list: 
        if x < min:
            min = x
    new_list.append(min)
    my_list.remove(min)    

print(new_list)
Posted by: Guest on July-24-2021
1

array

array 7
Posted by: Guest on May-03-2021
2

array

// An array in javascript is basicly a data structure set out like this:
const MyArray = {"Object1", "Object2", "Object3"};
Posted by: Guest on October-06-2020
0

Array

// this is sumple array
let array=[1,2,3,4]
Posted by: Guest on September-10-2021
0

array

// sorting an array of strings
var names = ["Adam", "Jeffrey", "Fabiano", "Danil", "Ben"];

// returns the sorted array
console.log(names.sort());

// modifies the array in place
console.log(names);

var priceList = [1000, 50, 2, 7, 14];
priceList.sort();

// Number is converted to string and sorted
console.log(priceList)
Posted by: Guest on May-25-2021
0

array

int[] spam = new int[] { 1, 2, 3 };
Arrays.stream(spam)
      .boxed()
      .collect(Collectors.toList());
Posted by: Guest on June-10-2021
0

array

<!DOCTYPE html>
<html>
   <body>
      <script>
         var str = ["1818-15-3", "1819-16-3"];
         var arr = str.split(":");

         document.write(arr[1] + ":" + arr[2]);
     </script>
   </body>
</html>
Posted by: Guest on May-22-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language