Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Write an application that stores nine integers in an array. Display the integers from first to last ,and then vice versa
java
0 Votes
4 Answers
31st Jan 2023, 3:49 AM
Raymundo Vinze
C#. A program that finds the maximal sequence of consecutive equal elements in an array. E.g {1,1,2,3,2,2,2,1} -> {2,2,2}
c#
4 Votes
2 Answers
2nd Mar 2017, 1:21 PM
ODUKOYA JESUSEYITAN
Distinct elements of two arrays into single array. And count no of this distinct elements
distinct
0 Votes
1 Answer
20th Sep 2018, 4:26 PM
Jyothsna Sattenapalli
Write a program in Java to store 10 different words in a Single Dimensional array. Perform the following tasks.
java
0 Votes
3 Answers
28th Oct 2022, 11:43 AM
Javgeek
I want to access array [1] and change the value. I have error. Thanks you sir.
access
and
array.
change
string
-1 Vote
2 Answers
23rd Oct 2021, 9:19 AM
Malick Diagne
The number after the data type, ex. int64, represents the bitsize of the data type of a numpy array.
dtype
numpy
python
2 Votes
2 Answers
15th Apr 2020, 3:35 PM
Charles Itibi
Hi folks, I always wonder if there is a simple way in java to print all the element of an array.
arrays
java
1 Vote
6 Answers
22nd Jun 2018, 4:18 PM
Dot
Anybody tell me the logic to find the mirror image of an array without using another array.
1
1 Vote
1 Answer
7th Feb 2019, 3:16 PM
divya murugan
It is not possible in PHP to rename the named key in an associative array. Am I correct?
arrays
php
0 Votes
3 Answers
14th Mar 2016, 4:10 PM
Swarup Selvaraj
Fill in the blank to declare a jagged array that contains 8 two dimensional array. int [ ] [ , ] a= new int [_][_];
c#
1 Vote
4 Answers
29th Apr 2017, 12:36 PM
Saran Kumar
The given array represents the daily number of infections for 30 days. The condition and output the size of the resulting array.
py
1 Vote
3 Answers
20th Feb 2023, 2:45 PM
Arya Swastik Kar
You are creating a ticketing program for a small movie theater. The seats are represented using a 2-dimensional array.
java
0 Votes
2 Answers
8th Feb 2024, 4:30 AM
Divyanshu Singh
There are repeated elements in an array.Print each element exactly once in the order given in the input array.
hashing
0 Votes
3 Answers
13th Nov 2016, 9:34 PM
shivam khare
I want to include @ and dot (.) in my code. And call it in the array. Thanks you.
@
and
dot
0 Votes
1 Answer
2nd Dec 2020, 5:24 AM
Malick Diagne
There is a problem with my code.I want calculate BMI values and store in a array. Can anyone help me with this please?
c++
1 Vote
4 Answers
18th Jun 2021, 3:37 AM
J Jenshika
How do I find duplicated values on a binary search? I want to know all the duplicates position in the array.
binarysearch
1 Vote
2 Answers
21st Oct 2019, 11:48 PM
Flávia B
The numeric array A [m] [n] is specified. Create a program to search for elements of the array. C ++
arrays
c++
two-dimensional
0 Votes
1 Answer
25th Apr 2019, 10:48 PM
Стефан Валиев
Take 10 integer inputs from user and store them in an array. Now, copy all the elements in another array but in reverse order
c++
1 Vote
3 Answers
19th Jan 2022, 6:22 AM
Mumtaz Ali
Given an array of integers as input, find the length of longest series of same numbers in the array. Also print that number.
array
fun
java
length
series
2 Votes
4 Answers
20th Sep 2017, 6:53 AM
Sahil Luthra
Hi. Everyone, your help with the resolution for the project 49 of the C# course, in witch say that make a codification array.
c#
csharpem
2 Votes
2 Answers
24th Jun 2022, 5:47 AM
Avellaneda
Write a program in c to enter 20 number in an array. Determine the sum of odd numbers and even numbers separately
c
0 Votes
4 Answers
12th Feb 2017, 2:04 PM
ankit pariyar
I was going through my notes and realized that we were never show how to iterate through a multidimentional array. How's it done
arrays
c++
multidimentional
1 Vote
3 Answers
26th Feb 2021, 6:17 PM
Michael Maxwell
Write a program in Java to input any word, arrange and print them in alphabetical order. Without array.
java
programming
0 Votes
1 Answer
22nd Nov 2017, 4:44 AM
prakriti
Java: I need help to get started on my programming assignment: Write a program that prompts a user to enter data for an array. T
class
data
primitive
scanner
2 Votes
6 Answers
31st Mar 2017, 11:05 PM
Jean Prathammavong
Define a function named longest_duplicates that returns the length of the longest sub-array of duplicates in a given sort array.
c++
1 Vote
2 Answers
3rd Mar 2017, 5:52 AM
Tosrif Jahan Sakib
How do I make so array has words, now I have a input output should be the most similar to input from the array.
array
filter
js
selection
sort
2 Votes
1 Answer
9th Nov 2022, 11:22 AM
heaker Gamer
Good morning sir. I want to display two images interact js like this code with src array. Thanks you sir
display
images
two
0 Votes
1 Answer
27th May 2022, 1:03 PM
Malick Diagne
'write a function that accepts an array of non negative integers and returns the second largest integer in the array.
arrays
0 Votes
2 Answers
18th Feb 2017, 2:23 PM
Ricardo Chitagu
Yo find the sum of any number of integers entered as comnand line argument , help of using array.
java
-4 Votes
3 Answers
4th Mar 2019, 1:28 PM
Rabi Sil
You are given n integers. Store the integers in an array and physically reverse the order of the integers in the array.
c++
operators
0 Votes
3 Answers
9th Jul 2017, 2:51 AM
Joyanta Mondal
Input the amount of sales for 12 months of a medical representative and find the average sales value without using an array.
c++
-1 Vote
4 Answers
20th Jul 2016, 3:12 PM
Akshay AK
Return the number of even ints in the given array. Note: the % "mod" operator computes the remainder, e.g. 5 % 2 is 1.
3
python
0 Votes
3 Answers
20th Sep 2019, 6:23 AM
AMAN TOMAR
Hi everyone. I have got an array of objects with name properties.How do i count the total number of letters in the array.
javascript
0 Votes
2 Answers
11th Feb 2022, 11:03 AM
CedyAdvance
You are required to implement a stack using an array. If the array is full, the bottom item is dropped from the stack.
c++
0 Votes
1 Answer
26th Sep 2019, 7:23 AM
Simran Mengi
"When passing two-dimensional arrays, it is not mandatory to specify the number of rows in the array. However, the number of col
2d_array
arrays
c
clanguage
doubt
0 Votes
1 Answer
26th Apr 2022, 6:56 PM
blueshipswims
I wrote a program to find the symmetric elements in an array. Please suggest your version. How do you do it?
arrays
list
loops
output
symmetric_pairs
0 Votes
1 Answer
28th Jul 2020, 6:02 AM
Tom
For example, there are 10 elements in the array. But there are four of them. Send the remaining 6 items to display as empty
arrays
c++
help
me
please
0 Votes
2 Answers
1st Apr 2018, 8:15 AM
Farrukh Yuldoshev
write a function biggestEven that takes an array of number as an argument and returns the biggest even number in array.
js
-3 Votes
2 Answers
17th Mar 2017, 4:56 PM
jab
Getting error that my array might not be initialized. I'm trying contain all prime numbers within a given number into an array.
array
findprime
java
0 Votes
2 Answers
12th Jul 2017, 3:18 AM
Joseph Nithish
Write a Java program to move all 0's to the end of an array. Maintain the relative order of the other (non-zero) array elements.
arrays
java
0 Votes
2 Answers
31st Jul 2019, 4:56 PM
Prakash Ranjan
14. Write a JavaScript function to get all possible subset with a fixed length (for example 2) combinations in an array. Sampl
arrays
javascript
0 Votes
1 Answer
8th Dec 2016, 9:39 PM
Nashwan Aziz
guys I have a question in array. When i run the code it prints "sanji" since the statement is [2] & it is count as 0,1,2. now ++
java
0 Votes
2 Answers
5th Oct 2022, 2:58 PM
ivor
Write a program to sort the rows in a 3 by 3 two dimensional array. A new array is returned. can someone help
c++
0 Votes
1 Answer
11th Nov 2017, 4:35 PM
Ty'Quan Smiley
Write a program to print all the LEADERS in the array. An element is leader if it is greater than all the elements to its right
c
-2 Votes
2 Answers
11th Oct 2018, 2:42 AM
Golu
How compare data in two different time? I Append live data to numpy array. How compare data in two different time? Or how call
finance
python
python3
stock
0 Votes
1 Answer
20th Apr 2021, 3:50 PM
Alireza Faramarzi
please help me for solve this problem write code in java {3,5,6,8{3,5,1,2}5,6,7,9,10} this is array of integer how can remove the braces and sort the element of array.
java
1 Vote
2 Answers
28th Dec 2016, 9:18 AM
Madhuri Choudhari
write a java script function to get all possible subset with a fixed length ( for example 2 ) combination in an array. sample ar
java
-1 Vote
1 Answer
15th Dec 2016, 9:00 PM
Nashwan Aziz
write a java script function to get all possible subset with a fixed length ( for example 2 ) combination in an array. sample ar
javascript
-2 Votes
1 Answer
17th Dec 2016, 6:43 PM
Nashwan Aziz
When working in Swift Playground can I print the value of a variable? I would like to see the value of a variable in an array.
variables
0 Votes
2 Answers
18th Oct 2016, 1:53 PM
Neville Moray
A) Write a C program to search a particular roll no. in an array. If that roll no. exist in an array print “number is present"
c
-4 Votes
2 Answers
22nd Apr 2018, 10:07 AM
uttamrich
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
3
4
Next >
Hot today
Help please?
4 Votes
How to get better with problem-solving and programming
1 Votes
Odd even threads without condition variable
0 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Game development
0 Votes
Write a program to find the strings are in isogram or not
0 Votes
Ruby programming?
3 Votes