Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1.3 Do the necessary planning and write an algorithm in pseudocode for the following An array called number may contain 20 integer values and must
1.3 Do the necessary planning and write an algorithm in pseudocode for the following An array called number may contain 20 integer values and must be filled with values in the following way .Fill the array with consecutive even numbers starting from 10. Start again at the first element and increase every fourth element with 3 Replace the value of the first four elements each with its square. Deduct 2 from the last 3 elements. Swap the value of element 5 and element 15 Add the value of the first element to that of the last element .Add consecutive integers (starting from 1) to all even elements. After these values have been assigned to array elements, Display all the element values, each on a new line. Identify each element clearly Determine and display the highest value in the array Determine and display the lowest value in the array Count and display how many even values and how many odd values the array
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started