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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.