« first day (2631 days earlier)      last day (1471 days later) » 

10:03 AM
1 message moved from JavaScript
 
10:22 AM
import java.util.Scanner;
public class LinearSearch2
{
public static void main(String args [])
{
String words[][]{{"cat", "dog","dUck"},{"rabbit", "hen","dUck"},{"dUck","Duck","goose"}};
Scanner sc1 = new Scanner(System.in);
System.out.println("Please enter a word");
String search = sc1.nextLine();
sc1.close();
countStrings(words[][], search);
}
public static void int countStrings(String words[][], String search)
{
for(int i = 0; i<
 
1 message moved from JavaScript
 
11:06 AM
import java.util.Scanner;
public class LinearSearch2
{
public static void main(String args [])
{
String words[][]{{"cat", "dog","dUck"},{"rabbit", "hen","dUck"},{"dUck","Duck","goose"}};
Scanner sc1 = new Scanner(System.in);
System.out.println("Please enter a word");
String search = sc1.nextLine();
sc1.close();
countStrings(words[][], search);
}
public static void int countStrings(String words[][], String search)
{
int count - 0;
for(int i = 0; i<words.length; i++)
{
for(int j =0; j<words[0].length; j++)
 
Zoe
11:40 AM
1 message moved from Java
 
12:46 PM
@Neil so you are saying this block of code should remove the item from array                      const Names = [
    {
        name: 'Name1',
        id: 1

    },
    {
        name: 'Name2',
        id: 2


    },
]
 btnClick = () => {
  let namePicker = Names[Math.floor(Math.random() * Names.length)]
  Names.splice(Math.floor(Math.random() * Names.length), 1);
 }
 
1 message moved from JavaScript
 
 
4 hours later…
 
3 hours later…
7:55 PM
💤
 

« first day (2631 days earlier)      last day (1471 days later) »