Thursday, 3 October 2019

Qbasic programming to find the area of triangle

Write a program to find the area of triangle.

CLS
INPUT "Enter base"; b
INPUT "Enter height "; h
A = 1 / 2 * b * h
PRINT "Area of triangle ="; A
END

No comments:

Post a Comment

Internet of Things (IoT)

  IoT is the technology or platform that connects any device into network and helps human beings to make their work amazingly faster and eas...