Operators:

Q1: Declare a float variable named temperature and initialize it with a temperature in Celsius. Convert and print the temperature in Fahrenheit.

Q2: Write a program that calculates the area of a circle given its radius using the appropriate arithmetic operators.

Q3: Implement a simple calculator program that can perform basic arithmetic operations (addition, subtraction, multiplication, division) on two numbers based on the user's input.

Q4: Write a program that checks if a given year is a leap year using logical operators.

Q5: Develop a program that calculates the square of a number using only addition and subtraction operators.

Q6: Write a program to calculate the bitwise AND, OR, and XOR of two integers.

Q7: Implement a program that checks if a given number is a prime number using the modulo operator.

Q8: Implement a program that calculates the simple interest on a loan using arithmetic operators.

Q9: Implement a program to perform bitwise left shift and bitwise right shift operations on an integer.