Hi guys, first post and so hello to you all.
I am learning programming from scratch for the first time.
I have completed challenge one, and the answer is correct, but i am not sure wether or not my use of double is correct, or even if it’s written properly.
could any of you guys have a look and point out any flaws or suggestions:
int main(int argc, const char * argv)
//Declare 2 variables a and b float a; a = 3.14; float b; b = 1.86;
//Declare variable to hold the sum of A and B
c = a + b;
printf("ere %f.\n", c); return 0;
Any help is greatly appreciated!