Question: Code blocks question 1 Create an Array consisting of numbers 1 - 5 . 1 . 1 Raise numbers to the power of each element

Code blocks question 1
Create an Array consisting of numbers 1-5.
1.1 Raise numbers to the power of each element of the Array.
Output displayed on the screen
1491625
1.2 Find even numbers in an Array
2,4
1.3 Find the total number of elements.
1,2,3,4,5
1.4 Find the total number of odd numbers in the Array.
3
1.5 Add text
Number : 1
Number : 2
Number : 3
Number : 4
Number : 5
Code blocks question number 2
Create an array containing the characters "hello", "good day", "how do you do".
Output displayed on the screen
2.1 Convert the first letter of a word to all uppercase letters.
2.2 Find the size of all characters in the Array.
2.3 Show the element with the least number of characters in the Array
["Hello", "Good day", "How do you do"]
5,8,13
"hello"
do you do" Array.
 Code blocks question 1 Create an Array consisting of numbers 1-5.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!