i agree i it may look half-assed but I am not currently in a CS class. Im using Illustrating C to learn C and this is the second chapter: Concepts. There are 4 exercises at the end that challenge...
Type: Posts; User: Nik Brkic
i agree i it may look half-assed but I am not currently in a CS class. Im using Illustrating C to learn C and this is the second chapter: Concepts. There are 4 exercises at the end that challenge...
#include <stdio.h>
#include <math.h>
#include <string.h>
int main()
{
double degrees;
double answer;
char text[4];
double PI = 3.14159265358979323846264338327;
This is my new code. I am getting errors on lines 16, 17 and 20. error: expected expression before 'char'
Is my math allowed on lines 17 or 20?
Also, when i run the code, the scanf function...
Currently I am doing the first exercises from Illustrating C. The exercise that I am trying first is the one where someone can input degrees and the program will be able to put those in to sin or...