I'm having difficulties with this assignment. I thought I was doing it correctly but unfortuneatley I'm receiving parse errors. I'm writing this program in SSH Secure Shell.
Here is my current...
Type: Posts; User: SprinterSteve
I'm having difficulties with this assignment. I thought I was doing it correctly but unfortuneatley I'm receiving parse errors. I'm writing this program in SSH Secure Shell.
Here is my current...
This is what I'm suppose to do if it helps any....
Compute the area (A) and the volume (V) of a sphere with
radius R=1.0, R=1.1, R=1.2, ... , R=2.0 . Compute also the
total area (TA) and...
Great it worked by changing it as you said Dave but now my output loops way too many times... any suggestions..
Current Code;
/* Homework Two- compute area and volume of sphere */ ...
Only one parse error now....
Hw2.c: In function `main':
Hw2.c:9: parse error before numeric constant
Code after Mod's
I still am getting parse errors after removing the two para's. Only 5 this time though. Check it out....
w2.c:9: parse error before '=' token
Hw2.c:14: parse error before '=' token
Hw2.c:14:...
This is written in SSH Secure Shell
/* Homework Two- compute area and volume of sphere */
#include <stdio.h>
#include <math.h>
#define pi = 3.141593
main()