subject

For any element in keysList with a value smaller than 40, print the corresponding value in itemsList, followed by a space.

Ex: If keysList = {32, 105, 101, 35} and itemsList = {10, 20, 30, 40}, print:

10 40

#include int main (void) { const int SIZE_LIST = 4; int keysList[SIZE_LIST]; int itemsList[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; //Loop from 0 to NUM_VALS-1 and accessing corresponding elements. for(i=0;i

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 02:00
Read the following scenario, and then answer the question below. you want to send an e-mail to your boss requesting a meeting to discuss a raise. what is the best example of an e-mail to an employer about this meeting? “hey jason. can we chat about getting me more money soon? let me know. peace, meg.” “hello jason. pardon me for sending yet another e-mail today about my need to talk to you about my position and a possible pay increase. i am dying to know when you can talk. sincerely, meg.” “hello jason. i have been with the company for one year and have taken on more responsibilities than outlined in my job description. i would appreciate an opportunity to speak with you about my position. let me know when we can schedule a meeting. you, meg.” “greetings jason! i hope this e-mail finds you well and happy today. i really, really want to talk to you about something important. i am not sure if you have time. i hope you do. get back in touch with me and let me know when we might talk. ever so much for taking the time to read this. sincerely, meg.”
Answers: 3
question
Computers and Technology, 24.06.2019 08:30
Intellectual property rights are exclusive rights that protect both the created and the creation. ipr offers exclusively what benefits to the person or people covered by it
Answers: 3
question
Computers and Technology, 24.06.2019 08:30
@josethesolis i need can anyone text me and follow me
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
In three to five sentences, describe how you can organize written information logically and sequentially
Answers: 1
You know the right answer?
For any element in keysList with a value smaller than 40, print the corresponding value in itemsList...
Questions
question
Mathematics, 09.02.2021 20:50
question
World Languages, 09.02.2021 20:50
question
Mathematics, 09.02.2021 20:50
question
Mathematics, 09.02.2021 20:50
Questions on the website: 13722359