Sunday, 6 March 2022

Practical No.8: Write a program to input length in centimeter and convert it into meter

ACTIVITY 8

Practical No.8:
Write a program to input length in centimeter and convert it into meter





OR

By Sir Sajjad Akber Chandio


ALGORITHM

  • step 1: start
  • step 2: Declare variables for length and meter
  • step 3: Take input for length in centimeter
  • step 4: Convert it into meter by dividing centimeter value with 100
  • step 5: Print value in meter
  • step 6: End




No comments:

Post a Comment