sample algorithm- assignment3

Upload: maryam-kausar

Post on 04-Apr-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 Sample Algorithm- Assignment3

    1/1

    SAMPLEALGORITHM FORASSIGNMENT3:Q1

    Enter a value for radius

    Using the value of radius calculate diameter diameter=radius 2

    Using the value of radius calculate circumference = 2r

    And so on..

    SAMPLE PSEUDOCODES FORASSIGNMENT3:Q1

    Procedure Circle Calculations

    radius 5diameter radius 2

    Print the value of diameter

    And so on..