Hi I know pseudo code is not a generic language... I've google about a little and found different / similar words with the same meaning, however I'm a little stuck on the

"toss = 1 + rand() % 2"

Which basically looks at the system clock ,creates a random number between 1 and 2 and stores it at int toss.

All I’ve thought of is this:
----------------------
Declare variable toss

Create random between 1 and 2

Store number at toss

------------------------

I’m not convince this is the best way

whatever suits you... though many people tend to go for a system that uses less words than you do.

any advise you can give to make it better? would be appricated

Be a part of the DaniWeb community

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