Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Classwork 21st Feb

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

Practice programs

Date: 21st February, 2022

1. WAP that computes the area and circumference of circle of


radius 3.0 using constant pi value.
2. WAP to input 3 numbers and print their sum of cubes.
3. WAP that accepts a number in the range 1 to 99 and then
display if the entered number is single digit or double-digit
number.
4. WAP to calculate and print the sum of cubes of even numbers in
range 1 to 10.
5. Print following pattern using nested for loop:
1
13
135
1357
13579

You might also like