Computer Science, asked by anirudhgupta7g, 6 hours ago

Write an algorithm to calculate the twice of a number.​

Answers

Answered by msaumyapriyo19
0

Answer:

2x

Hope it is the one that helps :)

Answered by presentmoment
0

Twice of a number means multiplying the number by 2.

Explanation: Algorithm for calculating the twice of a number:

Step 1: Start

Step 2: Declare variables num, twice.

Step 3: Read values for num  

Step 4: Multiply the value of num by 2 and assign it to the result variable twice.

Step 5: twice =  2*num

Step 6: Display twice

Step 7: Stop

Similar questions