- Program to print "CAPSCOM TECHNOLOGY"
- Program to display output as given below.
Name Rama Age 18 Country India
Variable based programs
- Program to create a variable that will store student age.
- Program to create a variable that will store salary with decimal part.
Operator based programs
- Program to add, subtract, multiply, divide two number.
- Program to calculate area of following shapes
Circle π*radius2 Square side * side Rectangle length * width Right angle triangle 0.5 * base * height
- Program to calculate perimeter of following shapes
Circle 2*π*radius Square 4*side Rectangle 2*(length+ width) Right angle triangle side1 + side 2 + side 3