Draw a flowchart and algorithm pseudo code to print the product of the first 10 even number.
Using pseudocode or a flowchart, develop the logic for a program that accepts a number as input and displays the value that is 10 more than the number.
Sure! Here is a flowchart and pseudocode to print the product of the first 10 even numbers:
Flowchart:
```
Start -> Initialize product as 1
Loop (counter = 1 to 10, increment by 1)
-> Check if counter is even
-> Multiply the current even number with product
End Loop
Print the product
Stop
```
Pseudocode:
```
1. Initialize product as 1
2. Start a loop from counter = 1 to 10 with an increment of 1
a. Check if counter is even
i. Multiply the current even number with the product
3. Print the product
4. Stop
```
Please note that the pseudocode assumes that you have a way to define even numbers and perform multiplication operation.
Sure! Here's a flowchart and algorithm pseudo code to print the product of the first 10 even numbers.
Flowchart:
```
START
SET product = 1
SET count = 0
WHILE count < 10:
SET number = (count + 1) * 2
SET product = product * number
INCREMENT count by 1
PRINT product
END
```
Algorithm Pseudo Code:
```
1. Initialize a variable `product` to 1
2. Initialize a variable `count` to 0
3. Start a loop while `count` is less than 10
a. Calculate the even number by multiplying `count + 1` with 2 and store it in a variable `number`
b. Multiply the current value of `product` with `number` and store the result back in `product`
c. Increment `count` by 1
4. Print the final value of `product`
```
p=1
for n=2 to 20 step 2
p = p*n
next
print p