0% found this document useful (0 votes)
2 views15 pages

QBasic

The document contains a list of programming tasks that involve basic mathematical calculations and output formatting. Tasks include calculating areas and perimeters of geometric shapes, generating multiplication tables, summing even numbers, and printing sequences. Each task is presented as a separate program requirement.

Uploaded by

gptc4241
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views15 pages

QBasic

The document contains a list of programming tasks that involve basic mathematical calculations and output formatting. Tasks include calculating areas and perimeters of geometric shapes, generating multiplication tables, summing even numbers, and printing sequences. Each task is presented as a separate program requirement.

Uploaded by

gptc4241
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1) Write a program to input a side of a square.

Calculate and print the area of a square.


2) Write a program to compute the area and
perimeter of a circle.
3) Write a program to find the area of the four
walls of a room.[Hint:-
Area=2*(length+breadth)*height]
4) Write a program to print out the multiplication
table of 5.
5) Write a program to find out the sum of all even
numbers between 0 and 50.
6) Write a program to print your name and
address 10 times.
7) Write a program to compute the area of a
triangle, given its base and height.
8) Write a program to accept the length and
breadth of a rectangle and calculate the perimeter
of the rectangle.
9) Write a program to evaluate gross salary for
basic pay typed in through keyboard with house
rent 30% of basic pay and dearness allowance
50% of basic pay.
10) Write a program to read two numbers [25 and
2] and print their quotien and remainder.
11) Write a program to find the area of circle.
12) Write a program to print all the even numbers
from 1 to 10 and display them.
13) Write a program to print multiples of 5 from 1
to 100.
14) Write a program to print the squares of
numbers from 1 to 10.
15) Write a program to print these series.
1
12
123
1234
12345

You might also like