Friday, October 30, 2015

Write a program to Find The Area of Rectangle.

CLS
Input " Enter Length " ;L
Input " Enter 
Breadth " ;B
Let Area = L*B
Print" Area of Rectangle is";Area
End 

8 comments:

  1. Write a qbasic program to get 2 values and find the greater number

    ReplyDelete
    Replies
    1. WAP to enter any two numbers and display the greater one.

      CLS
      INPUT “ENTER ANY TWO NUMBERS”; A, B
      IF A > B THEN
      PRINT A; “IS GREATER”
      ELSE
      PRINT B; “IS GREATER”
      END IF
      END

      Delete
  2. Please publish it fast tomorrow having practicals

    ReplyDelete
  3. In a mathematical case where 10 rectangles are given and required to find the area of each rectangle. Write a QBasic program that reads the length and breath of each rectangle. Find the area and print area?

    ReplyDelete
  4. Write the basic program to find 10 triangles

    ReplyDelete

Simple 7 Easy QBASIC Programs

#Write a program to find the area of the circle. Cls Input" Enter the radius " ;R Let A=22/7*R^2 Print " The area of circle ...