R_Code-2.r (319B)
1 # Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 19 Mar 2026 2 # Repo: https://github.com/notamitgamer/bsc 3 # License: MIT 4 5 # How do you declare an explicitly integer variable (e.g., the number 14) 6 # so that its class returns "integer" instead of the default floating-point "numeric"? 7 8 num <- 12L 9 print(class(num))