Computer Science, asked by attinchopra32, 7 months ago

write an algorithm and draw the corresponding flowchart to input cost of one pen and calculate and print the cost of one dozen pens

please don't give spam otherwise I will block the answer but best answer will be marked as brainliest

Answers

Answered by swastikachoudhury7
3

Answer:

Step 1

Initialize c as cost of 1 pen

Step 2

Calculate the cost of one dozen pens as (c*12) and store it in a variable s

Step 3

Print s

Attachments:
Answered by AryanAce123
2

Answer:

computer

Explanation:

first start the flowchart. oval shape

put the value of c. diamond shape

put the value of number of pens. diamond shape

multiply in both. square

you get the final answer. rectangular shape

close the flowchart.

Similar questions