L
Lloyd Fuller
I've been working on this for a while, but I just can't seem to ring
that pole!
so here is my function:
const char * earth(int a)
{
const char *myearth;
if (a == 0) {
myearth = "15321.532";
else {
myearth = "a cool 600";
}
return myearth;
}
AND HERE is my main:
int main (void) {
printf("yofoo your earth is %s\n", earth(2));
}
But I get a lot of errors this is a mess. Any kind soul out there
with some advice to help me ring this pole?
that pole!
so here is my function:
const char * earth(int a)
{
const char *myearth;
if (a == 0) {
myearth = "15321.532";
else {
myearth = "a cool 600";
}
return myearth;
}
AND HERE is my main:
int main (void) {
printf("yofoo your earth is %s\n", earth(2));
}
But I get a lot of errors this is a mess. Any kind soul out there
with some advice to help me ring this pole?