34. Write a program to display perimeter of square.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Algorithm:

Step 1: Start

Step 2: Input length of square(l)

Step 3: p = 4 * l

Step 4: Print p

Step 5: Stop/End

Flowchart:

Create a flowchart to display the perimeter of the square
Create a flowchart to display the perimeter of the square
Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

33. Write a program to display volume of cube.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Next Post

35. Write a program to display area of parallelogram.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Related Posts