# Program 1: Convert Celsius to Fahrenheit
celsius = float(input("Enter temperature in Celsius: "))
fahrenheit = (celsius * 1.8) + 32
print("Temperature in Fahrenheit:", fahrenheit)
# Program 2: Calculate Circumference and Area of a Circle
radius = float(input("Enter the radius of the circle: "))
pi = 3.14
circumference = 2 * pi * radius
area_circle = pi * radius * radius
print("Circumference of the circle:", circumference)
print("Area of the circle:", area_circle)
# Program 3: Convert Kilometers to Miles
km = float(input("\nEnter distance in kilometers: "))
miles = km * 0.621371
print("Distance in miles:", miles)
# Program 4: Sum of Two Integers
a = int(input("\nEnter the first number: "))
b = int(input("Enter the second number: "))
sum_two = a + b
print("The sum is:", sum_two)
# Program 5: Area and Perimeter of a Rectangle
length = eval(input("\nEnter the length of the rectangle: "))
breadth = eval(input("Enter the breadth of the rectangle: "))
area_rect = length * breadth
perimeter = 2 * (length + breadth)
print("Area of the rectangle:", area_rect)
print("Perimeter of the rectangle:", perimeter)