User profile: abhishekm71

User info
User name:abhishekm71
History
Joined:
Number of posts:124
Latest posts:

Why am i getting an error when i try to compile this?
check the spelling of heigt

counting characters without strlen
@Pebble your code will not count the number of zeroes entered by the user. (or did you mean '\0'?)

counting characters without strlen
you are first reading the string of characters in the variable 's'. However, you are not using this...

prime numbers
it is a standard pattern of array checking and then prematurely breaking out of the for/while loop. ...

prime numbers
try this: [code] for(i=3;i<100;i++) { bool isPrime = 1; // first assume that the candidate is a...