you cna you can only count backwards form 10-1
Chat with our AI personalities
Don’t know
Using n bits, you can count to 2n - 1. This is for unsigned integers. So 10 bits = 210 - 1 = 1023 14 bits = 214 - 1 = 16383 To count to 511 you need log2(511+1) = log2(512) = 9 bits. To count to 63 you need log2(63+1) = log2(64) = 6 bits.
There are several ways to increment a variable:$count = $count +1;$count += 1;$count++;++$count;
1. Start 2. Read Number (the number of which you want the table) 3. Count=1 4. Print N*Count ( multiplying the number,from step 2, with count) 5. Is count=10? If yes, then STOP. If no then Add one to the Count.
Mean = Sum/Count = 61/8 = 7.625