我正在做我的 C 入门课程作业,我的任务是以下......
虽然我的知识很基础,但我相信我理解主要内容
//first and second double hold the scanf inputs
double first;
double second;
//unsure here - to reference c and d as parameters in the function, do I simply declare unfilled double variables here?
double *c;
double *d;
printf("Enter your first number\n");
scanf("%f\n", &first);
printf("Enter your second number\n");
scanf("%d\n", &second);
//call the function, first and second by …Run Code Online (Sandbox Code Playgroud)