Question: Write a single function with three output and one or more input that is able to accomplished and task. The function should have the

Write a single function with three output and one or more input that is able to accomplished and task. The function should have the following features; i. Inform the user about the purposed of the function and how to use it ii. Take input from the user iii. Each output should have its own purpose. iv. Display the user data after the function executes V. Display the function output after the function executes vi. NB: suppress all user inputs except those you display on purpose with the output function Write a script that is able to take in user input in the form of array and manipulate the data as follows; a. Bitwise addition of the data b. Bitwise subtraction of the data c. Bitwise multiplication of the data d. Bitwise division of the data e. Bitwise concatenation of the data The script should have the following features; Inform the user about the purposed of the script and how to use it. ii. The user should be able to select which task; a to e he/she want to perform. iii. Take input from the user. iv. Use loop V. User define function vi. Determined array size vii. Display first and last element viii. Display the user data array after the function executes ix. NB: suppress all user inputs except those you display on purpose with the output function
Step by Step Solution
3.51 Rating (151 Votes )
There are 3 Steps involved in it
1st Answer A function funone is created and given below which can find the smallest or largest number present in its inputs based on the user input of ... View full answer
Get step-by-step solutions from verified subject matter experts
