224 questions
Hello, I am a student studying C language.I was curious about the name of the language array.int arr[3] = {99, 77, 55};Assume that you declared an array ofWe know that the variable arr has the address...
int arr[] = new int[6];for (int k = 0; k < 5; k++) { arr[k] = (int)(Math.random()*100); }for(int s = 0;s<5;s++) { while(arr[s] == 0) { arr[s] = (int)(Math.random()*100); } wh...
I want to create a random number from 1 to 1000.a=[1..1000]puts a.sortIf you do it, 1...It's only 1000 like this...How do I make all the numbers from 1 to 1000?
Usually, in Python lists, l = list(1,2,3)l.index(2)I'm using index(x) to find the location of item x, but I can't find this function in NumPyarray
DYNAMIC ASSIGNMENT OF TWO-Exception occurred (0x00F55146, Project1.exe): 0xC0000005: Access violation occurred while reading location 0xFDFE01You have received the following message:#include<stdio....
array = [123,321,12389]You want to find the total sum of the arrays in an array that stores these integers.Is there any other function like sum() other than adding it directly using each?sum = 0array....
While solving the problem yesterday, I wanted to copy the two-dimensional array A to the two-dimensional array B to System.arraycopy and change the content value of B only.But changing the value of ar...
var array1 = [Vijendra,Singh];var array2 = [Singh, Shakya];For example, if it's like this, when I ordered Merge,var array3 = [Vijendra,Singh,Shakya];I want to do it like this. What should I do?
There's an error in writing down the two-dimensional array cedar coding in the book, but I can't find the reason.import java.util.*; public class Coderunner { public static void main(String[]args){ c...
void f(String[] first, String[] second) { String[] both = ??? }If you look at the source, there are String parameters first and second, and I want to combine these two.
« | - 13 - | » |
© 2024 OneMinuteCode. All rights reserved.