What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-08-31 15:21:03
slice()
//The slice() method extracts a section of a string and returns //it as a new string, without modifying the original string. // same in array but you select elements not characters const str = 'The quick brown fox jumps over the lazy dog.'; console... Add solution -
Java 2021-08-30 06:02:02
string sorting in java
// how to sort string array in java without using sort method import java.util.Arrays; public class SortStringArray { public static void main(String[] args) { String[] strPlaces = {"Great Barrier Reef", "Paris", "BoraB... Add solution -
C++ 2021-08-29 06:16:01
3x3 matrix multiplication in c++
#include <iostream> using namespace std; int main() { int a[10][10], b[10][10], mult[10][10], r1, c1, r2, c2, i, j, k; cout << "Enter rows and columns for first matrix: "; cin >> r1 >> c1; cout << ... Add solution -
Swift 2021-08-29 02:16:01
print an array in swift
for element in array { println(element) } Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5