Question: Assignments: using Flowgorithm and Pseudocode What to Do Create main and in main do the following in sequence: 1 . create an integer array of
Assignments: using Flowgorithm and Pseudocode
What to Do
Create main and in main do the following in sequence:
create an integer array of size
fill the array with random numbers in the range of through
use a loop to display every element in the array
use a loop to multiply every element in the array by
use a loop to display every element in the array
use a loop to get the sum of all the elements in the array
display the sum
Hints:
create a constant and use it as array size
use the constant in array creation and loops
pay attention to the usage difference of function random in pseudocode and Flowgorithm
cannot create a constant in Flowgorithm, but can use function size to get array size
What to Submit
Pseudocode:
use Notepad to write your pseudocode, and save it as module firstname lastname.txt
use appropriate keywords such as Declare, Input, Display, and Set, in your pseudocode
format your pseudocode appropriately
add comments to your pseudocode
Flowchart:
create a flowchart from your pseudocode, and save it as module firstname lastname
pay attention to the difference between the textbook and Flogorithm when creating your flowchart test and debug your flowchart. If you see errors, you need to check and modify both your pseu
docode and flowchart to get rid of the errors.
it is very important that you concentrate on writing pseudocode, which is critical way to learn
programming. However, there is no compiler to check the errors in pseudocode, and creating a
flowchart from pseudocode is an indirect way of verifying the pseudocode
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
