Skip to content
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Programming Tutorial

Start Learning to Code

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Breaking News

Nextjs: running code after complete fetch

why does 400 status code result always entercatch block execution with axios?

Saving the state of the button onClick

TypeScript: Specify that value must be in Array using spread operator

Show separate number with comma in django tempalte

Why does my website keep showing old index.html, style.css, app.js…?

Using Python Flask to change the colour of an icon when it detects a words like scam, pending and verified

x clear icon appears only when the input has value – react

Login button redirects to two pages. For first time loginers, it redirects to agreement page, and for rest, it redirects straight to home?

WebComponent setter not triggered if defer is used

Tag: if-statement

Arrays

How can I define pages in an array?

admin March 2, 2021

This seems so basic, yet I am struggling with it so bad. I am creating a navigation that has multi layer dropdowns using ul’s and li’s so in order to have each (the dropdown and active link within …

arraysif-statementphp
Arrays

How do i check if two values exist in a multidimensional array?

admin February 18, 2021

I am working on a poll system where each user can vote once per poll. If they submit their vote it will be inserted in the polls_results table To check if a user already submitted a vote i made an sql …

arraysif-statementmultidimensional-arrayphpsql
Arrays

if statement does not work in determining the winner in tic tac toe game

admin November 7, 2020

I have a little question about “if statemenet” in my code. I really dont understand why this is not working propperly. Ok.. So to finish my tic-tac-toe game i have only to write a function …

arraysif-statementjavascriptobjectreactjs
Arrays

Karate: Can I iterate on a Json array response and do some conditional statements

admin June 24, 2020

My json array response is something like below: response = [ { “ID”: “123”, “Name”:”Test1″, “Data”:{ “Status”:”Red”, &…

arraysif-statementkarate
Linux

Perform if selection statement on a variable which can cycle through values?

admin June 7, 2020

I wrote the following script to help me study. The program closes distracting apps if found running while the script is being executed. I want some way to expand the scope of monitoring for programs …

bashif-statementlinuxubuntuunix
Arrays

Get all instances of character present in cell on row in specific range

admin May 14, 2020

I have a Spreadsheed that looks like this: I need to create a map from these values. But I also need each child’s parents. The map will be uploaded to a database where the children parent ID will be …

array-formulasarraysgoogle-sheetsgoogle-sheets-formulaif-statement
Arrays

I want to have the user input and print the average amount of letters used, and the longest name

admin May 7, 2020

So this is my code, and i want to print out a new line saying what the average number of letters used. And i also want to print the longest name written in.. but i cant make it work.. Any suggestions??…

arraysclassif-statementjavaprinting
Arrays

i want to put user input and store it in an array when user types Exit, it should print the names the user typed in, ascending.. any tips?

admin May 7, 2020

So here is my code. i´ve not managed to use the ascending.. i want the user to type infinite amount of names and then type exit to get the result.. import java.util.Scanner; import java.util….

arraysif-statementinputjava
Arrays

Cycle through existing users until one isn’t found

admin April 22, 2020

I’m just messing about really but ran into a problem. I’m trying to create a username when a user clicks on a div within the page. I want it to store the usernames in an array. If the username …

arraysif-statementjavascriptjquery
Arrays

Unable to exit from the Program when using if statments [closed]

admin October 18, 2019

Here is my code, when inputting the options in the main menu, I am unable to exit from the program when trying to exit. I would like to know where I have gone wrong. public static int main_menu(int …

arraysexitif-statementjava

Posts navigation

1 2 … 5 Next
Privacy Policy