Qu 1: Write a program to convert following datatypes:
- String "32" into
int
- Float "12.52" into
float
- Decimal "123.345" into
decimal
.
type
of value before converting.
Qu 2: Write a program to find all the even number between 12 and 42 using looping and conditional statements.
Qu 3: Write a program to display array on the screen. Array value should be like this.
2,6,2,55,62,64,67
Qu 4: Write a function for calculator with exception handling that returns division of two numbers.