Câu hỏi của Phúc Khiêm Tốn

Lỗi C2857 #include statement specified sửa như thế nào?

// ConsoleApplication1.cpp : This file contains the 'main' function. Program execution begins and ends there. #include <iostream> #include<cmath> using namespace std; void main() { float X, S; int n; printf("nhap x la "); scanf_s("%f", &X); printf("nhap n la "); scanf_s("%d", ...

Phúc Khiêm Tốn viết 17:29 ngày 01/10/2018 chỉnh sửa

Lỗi gì thế này ạ e tra mạng không ra

em viết chuong trình như vậy #include <stdio.h> void main() { float x, y1, y2; printf(“nhap vao x= “); scanf(”%f”, &x); y1 = x / 3 ; y2 = x/ 7 ; printf(" so y1 la %.2f", y1); printf(" so y1 la %.2f", y2); } máy báo lỗi LNK 2005 main already defined in source .obj LNK1169 one or ...

Phúc Khiêm Tốn viết 17:27 ngày 01/10/2018 chỉnh sửa

Hỏi về lỗi trong chương trình?

This post was flagged by the community and is temporarily hidden.

Phúc Khiêm Tốn viết 17:26 ngày 01/10/2018 chỉnh sửa
1