01/10/2018, 17:29
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", &n);
S = pow(X*X+1, n);
printf("tong gia tri cua S %.2f", S);
system("pause");
}
lỗi C2857 #include statement specified with the/ Yccpp command line option was not found in the source file
looix này fix làm sao ạ
Bài liên quan
scanf đâu phải bên
<iostream>
đâu.