subject

For any element in keyslist with a value greater than 50, print the corresponding value in itemslist, followed by a space. ex: if keyslist = {32, 105, 101, 35} and itemslist = {10, 20, 30, 40}, print: 20 30

java

import java. util. scanner;

public class arrayskeyvalue {
public static void main (string [] args) {

final int size_list = 4;
int[] keyslist = new int[size_list];
int[] itemslist = new int[size_list];
int i;

keyslist[0] = 13;
keyslist[1] = 47;
keyslist[2] = 71;
keyslist[3] = 59;

itemslist[0] = 12;
itemslist[1] = 36;
itemslist[2] = 72;
itemslist[3] = 54;

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:30
Write the html code to make a link out of the text “all about puppies”. it should link to a pdf called “puppies.pdf” inside the “documents” folder. the pdf should open in a new window.
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits.now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order.finally, output thedigits in thearray.use at least two functions to organize your program.
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
Ramona enjoys her job because she is able to kids in an after school program. the work value ramona feels strongest about is a. leadership b. risk c. independence d. work with people select the best answer from the choices provided a b c d
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
Where can page numbers appear? check all that apply. in the header inside tables in the footer at the bottom of columns at the top of columns
Answers: 1
You know the right answer?
For any element in keyslist with a value greater than 50, print the corresponding value in itemslist...
Questions
Questions on the website: 13722361