line 2 will work better without the "int".

your right....Edited
I only want to show that you'd use an integer

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.