# Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 25 Mar 2026 # Repo: https://github.com/notamitgamer/bsc # License: MIT # Print elements of vector using for loop. sample <- c(1:6) for(elem in sample) { print(elem) }