# Title: Double or half number # Author: Cooper # Date: 27/11/2025 # Version: 2 # Purpose: #This program asks the user for a whole number and stores it in a # variable called number If the number is less than or equal to 10 the #program outputs the number doubled Otherwis it outputs the number divided #by 2 Finally it displays a message stating that the program has ended. # number = int(input("What is your number (whole Number) ")) if number <= 10: print("Your number doubled = ", number * 2) else: print("Your number divided by 2 = ", number / 2) print("The program has ended")