编辑代码

#include <iostream>

int main() {
    int A;
    scanf("%d",&A);
    if(A>=0)
    A=A;
    else
    A=-A;
    printf("A=%d",A);

	return 0;
}