请补充main函数,该函数的功能是:从键盘输入一个长整数,如果这个数是负数,则取它的绝对值,并显示
例如,输入:-3847652,结果为:3847652。
注意:部分源程序给出如下。
请勿改动主函数main和其他函数中的任何内容,仅在函数fun()的横线上填入所编写的若干表达式或语句。
试题程序:
include<stdio.h>
include<conio.h>
main()
{
long int n;
clrscr();
printf("Enter the data;\n");
scanf(【 】);
printf("*** the absolute value ***\n");
if(n<0)
【 】
printf("\n\n");
printf(【 】);
}