matsp:
Could you give me an example of how it should be with % and /??
So, it is wrong or what?? Now Iīm getting confused....:confused:
Type: Posts; User: Inti
matsp:
Could you give me an example of how it should be with % and /??
So, it is wrong or what?? Now Iīm getting confused....:confused:
Ok, but it should work too that way.
In the case M=4, this is what happens:
1234 4
0
This program reads an integer n of M digits (defined at the beginning) and a one-digit integer d; if d is in n it has to print n and and the sum (+) symbol below every occurance of d.
It compiles,...
Yes, I totally passed that out... and the compiler said nothing.
Regarding the prototype issue, why is that?? Why should I write the function again as a prototype?
Iīm aware that when I write a...
This one compiles but gives me an error when I execute it.
Itīs supposed to return 0 if a number is prime and 1 if itīs not.
Translation form spanish:
esprimo=isprime
ingrese un entero=input an...
excellent!
Now I must think why it doesnīt work the other way...
thanks!!!!
This program should return the number of roots of a 2nd degree polynomial, but it always returns 2 roots, whatever coefficients I put.
Whatīs wrong??
Itīs in spanish, so RAICES=ROOTS, and disc...