quando eu fui criar minha calculadora de raiz quadrada no BORLAND C deu este error:
Function 'SQRT' should have a prototype
#include <stdio.h>
#include <conio.h>
void main()
{
float x;
int a;
printf("Digite o numero da potencia");
scanf("%s",&a);
x=SQRT(a);
printf("a resposta é %s",a);
getch();
}
Question
athoslive
quando eu fui criar minha calculadora de raiz quadrada no BORLAND C deu este error:
Function 'SQRT' should have a prototype
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.