What will the output of the following program be?   fn main() {             for x in 1..3             {                         print!("{} ",x);             } }

icon
Related questions
Question
  1. What will the output of the following program be?

 

fn main() {

            for x in 1..3

            {

                        print!("{} ",x);

            }

}

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer