Calculate the area of triangle in GWBasic



10 CLS
20 Input "Enter the value of base";vb
30 Input "Enter the value of vertical height";vh
40 let a =1/2*vb*vh
50 Print"Area of triangle is =";a
60 End


Share on Google Plus

About Rana Mehtab Alam

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment