Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
2 answers
72 views

Switching variables in a function based on user input

I am trying to compare two DNA sequences with wobbles and report mismatches. To explain DNA and wobbles in programming sense, they are strings of characters(bases) A,T,C and G and wobbles are ...
Dmishra's user avatar
  • 41
0 votes
1 answer
59 views

How can i use laravel mutator when i have array of input?

Suppose i have this type of input for product //json { "name": { "en": "This is name in English", "bn": "This is name in Bangla", ...
Nafis Chonchol's user avatar
-2 votes
1 answer
58 views

Is it possible to create a JS function where members can input their unique IDs into a field and have a link display their ID at the end of the URL?

My job is to create a simple field with a button that will display a URL with member ID after the URL. Non-members will display "Invalid Member ID". I'm trying to have the URL link clickable....
vip4ever's user avatar
0 votes
3 answers
120 views

Making an array by giving two number from user and print the array in Java

I want to give two number from user and make an array. Then print the array. How should I do this task in java? This is my code. I give numbers 5 and 25. But it doesn't work properly. My desired ...
Zeynab Moghaddas's user avatar
0 votes
1 answer
283 views

Pine Script - Last bar with low value specified

I've been working on an indicator in Pine Script that involves identifying the last candle (closest to the current time) with a low value specified by the user. However, I'm encountering a challenge ...
Rale's user avatar
  • 1
0 votes
1 answer
823 views

How to create a custom sized array with user input in Rust?

This is my first time ever using Rust, so I know nothing about it. I know it's not ideal putting these prompts in the main, but I have plans to use the same user input for other functions as well. My ...
user13508239's user avatar
0 votes
3 answers
483 views

Checking if a value is found in an array using user input

I am currently learning JavaScript Arrays and am trying to do a small program that allows a user to enter a value input. From there, once they click on the "Check" button, the JavaScript is ...
Anonymous's user avatar
-2 votes
1 answer
264 views

Pass User Input to the ArrayList and display the output [closed]

I Need Help In Programming Where The ArrayList Should Take The User Input Of Integer Type And Store them . The Size Cannot Be Specified by user Priorly and It Should Take As Many Elements As the user ...
Jeevan Jitu's user avatar
-1 votes
3 answers
83 views

C# Array not utilizing inputs

I am new to programming and am taking a class. Our assignment is to allow specific integer inputs and then return said integer inputs in numerical order. I have everything working all the way up to ...
ChromeWaltz's user avatar
0 votes
1 answer
66 views

Python - Having trouble with arranging a parallel list within a for loop based on user input

Slow beginner here. Trying to write a program that asks the user how many entries to make. From that number, it will then ask the user for their name and address to print in a parallel list. So far ...
kerorogunso's user avatar
0 votes
0 answers
62 views

storing user input into array, using sentinel value in Python

I am having trouble getting my sentinel value to work properly. When the user presses 0 to exit, I want the program to display the names and salaries of all the employees, the average of all the ...
Shawngilbert107's user avatar
1 vote
1 answer
479 views

User input stored into array and prints categorized results in PYTHON

I have to write a program where a user inputs the name and number of new memberships. This info is stored in an array. Specifically, the user enters a trainer's last name and the number of new ...
Shawngilbert107's user avatar
0 votes
2 answers
36 views

I'm trying to add words to an array from a text input but it is coming back as an "Uncaught TypeError"

This is the error message - "<a class='gotoLine' href='#76:28'>76:28</a> Uncaught TypeError: document.getElementId is not a function" I have two text inputs being combined ...
Kaden Lukas's user avatar
0 votes
1 answer
48 views

Why is my array only accepting the last number taken as the first element, and putting 0 as the rest of the elements?

The validation works as far as i had tested (that being all possible cases that could trigger the various parse checks), what I`m struggling with is inputing user input after its been validated to not ...
Slater's user avatar
  • 5
0 votes
2 answers
89 views

Why isn't my array getting fully populated?

I have created a method in which I create an empty array that can hold 6 integers. Then I run a for-loop which will ask the user for an integer, verify it as a positive integer and then send that ...
hotpocket 's user avatar

15 30 50 per page
1
2 3 4 5
23