1
2
3
4
5
pub fn counter(start: i32, end: i32){
    for index in start..end{
        println!("Counter:{}",index);
    }
}