Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need help on how to wrote this code properly as my own with explanation on how to do it. White a cotrglede ct+ prograrn

i need help on how to wrote this code properly as my own with explanation on how to do it. image text in transcribed
White a cotrglede ct+ prograrn that maets the folibeing fequirenents: paict the due date tut prist vesians were not: Main Fumiten! 1) Initialiae a 20 vector of intetess wh the folomitevalues: {11,1,3,1,5),(1,1,3,1,5),(1,1,3,1,5)(1,1,3,1,5)11,1,1,1,5)} Name this 20 vector 9a+a1. 2) Baitialiat a 20 vector of integers with the folbwing values: (1,2,1,4,5,6,1,9,10)M2,1,2,1},1{2,2,2] Name this 2D Vcctor Dataz. 3) Aan a function named Searchfveri Pats Datat as an arbument to the Search fitn fanction. Searchivent. Wil retum a 10 vector. Thit vector will contain the rows and oolumrs of ahere each enes fumber in the 29 parameter is locales. If the 20 wector centains no twen munberk, the vector taturned wilt oely ceetaiti the value -1. 4) We a separate function to diogliy the cotients of the wether that Seirche utn returnt. if Batat centaned at least 1 ewen number, then outgot one tow and 1 colemen per line. if Datat did net contain aty even. fumbers, thendisply a message that indicates this. Name this functions bisclay Locationt 5). Aun the functisn Searchivna again. Pass Dataz ari at argumect to the Searth fiven function. did not contain amy even mumbers, thrn dipplay a meisage that indicates this. Sample Rin

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Administration

Authors: Peter Carter

1st Edition

1484207106, 9781484207109

More Books

Students also viewed these Databases questions

Question

=+How should it be delivered?

Answered: 1 week ago

Question

=+4 How does one acquire a global mindset?

Answered: 1 week ago