Summer Vacation Holiday Homework for Computer

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Summer Vacation Holiday Homework for Computer

Class – IX Date-30-06-2021

1.Write a program to find out the quotient and remainder for integer 23 divided by 3.

Ans :

2. Write a program to print the sum of three given numbers 123, 456, 432.

Ans :

3. Write a program to find the perimeter of a triangle with sides measuring 15 cm, 17
cm and 19 cm. [Hint: perimeter of triangle= side1+side2+side3]

Ans :
4. Write a program to calculate simple interest for any principal amount(p), with rate(
r) as 8% and time(t) as 3 years.[Hint: SI=(p*t*r)/100]

Ans :

5. Write a program to determine the length of the wooden strip required to frame a
photograph of length(l) 32 cm and breadth(b) 21 cm . [Hint: Perimeter of rectangle=
2*(l+b)]

Ans :

By – PRATYUSH PAUL

You might also like