Qualification > Miscellaneous

Computer studies help HERE only !!

<< < (10/55) > >>

Ghost Of Highbury:
its C programming + logical statements..

we are taught like this in our school

we learn this from 8th grade...

Ghost Of Highbury:
i think the logic is correct

cactus_360:
this is the correct one:::

set c, d, v, b = 0: set count = 0
repeat
input code
if code >= 1000 and code < 2000 then c = c + 1 }
else if code >= 2000 and code < 3000 then d = d + 1 }
else if code >= 3000 and code < 4000 then y = y + 1 }
else if code >= 4000 and code < 5000 then b = b + 1 }
else print “error” 1 mark
count = count + 1
until count = 5000
print c, d, v, b


HOPE U GET IT NOW ::) ;D ;)

cactus_360:

--- Quote from: eddie_adi619 on May 24, 2009, 07:45:36 am ---i think the logic is correct



--- End quote ---

YES!!!!!!!

Ghost Of Highbury:
its not about being correct or wrong..

the logic has to be correct,,,

it does not depend on the way u present it...

it can be algo. pesudo, or even programming..(like i did)

and ya what cactus said is also correct...its the same in the markscheme

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version