Câu hỏi của Phong Tran

Cho hỏi là sao e viết hàm float ở sau hàm main lại bị lỗi ạ. e viết trên hàm main thì vẫn chạy như bình thường

#include <stdio.h> #include <conio.h> #include <math.h> float Circle(); int main() { float radius; printf("Input radius: "); scanf("%f", &radius); printf("The area of circle (r = %.2f) is %.2f", radius, Circle(radius)); } float Circle(float radius) { ...

Phong Tran viết 12:31 ngày 01/10/2018 chỉnh sửa
1