C选项有什么问题吗?看看我的想法错在哪 vc6.0怎么查看错误

5727℃ DOLORES

C选项有什么问题吗?看看我的想法错在哪vc6.0怎么查看错误

vc中怎么查看错误在哪里

出错后,你看下方那个有很多字的地方,往上拉,软件会标出它认为有问题的地方,有的命令错误他会直接写在那里,有的问题比如少了个“;”这种他就不一定指正确,但是也会注明程序运行到哪一步出错了。你鼠标点上去后你输入区会被选中

刚做个C,大家看一下错误在哪里,怎么改,求解决

#include <stdio.h>

#include <limits.h>

#include <float.h>

int main(void)

{

printf("Variables of type char store values from %d to %d",CHAR_MIN, CHAR_MAX);

printf("\nVariables of type unsigned char store values from 0 to %u" ,UCHAR_MAX);

printf("\nVariables of type short store values from %d to %d",SHRT_MIN,SHRT_MAX);

printf("\nVariables of type unsigned short store values from 0 to %u", USHRT_MAX);

printf("\nVariables of type int store values from %d to %d",INT_MIN,INT_MAX);

printf("\nVariables of type unsigned int store values from 0 to %u",UINT_MAX);

printf("\nVariables of type long store values from %ld to %ld",LONG_MIN,LONG_MAX);

printf("\nVariables of type unsigned long store values from 0 to %lu",ULLONG_MAX);

printf("\nVariables of type long long store values from %lld yo %lld",LLONG_MIN,LLONG_MAX);

printf("\nVariables of type unsigned long long store values from 0 to %lu",ULONG_MAX);

printf("\n\nThe size of the smallest non-zero value of type float is %.3e",FLT_MIN);

printf("\nThe size ofthe largest value of type float is %.3e",FLT_MAX);

printf("\nThe size of the smallest non-zero values of type double is %.3e",DBL_MIN);

printf("\nThe size of the largest values of type double is%.3e",DBL_MAX);

printf("\nThe sizeof the smallest non-zero values ~CCC of type long double is %.3Le",LDBL_MIN);

printf("\nTHe size of the largest value of type long double is%.3Le\n",LDBL_MAX);

printf("\nVariables of type float provide %u decimal digits precision.", FLT_DIG);

printf("\nVariavles of type double provide %u decimal digits precision.", DBL_DIG);

printf("\nVariables of type long double double provide %u decimal digits precision.",LDBL_DIG);

return 0;

}

16行,ULLON_MAX -> ULLONG_MAX

17行, FLT+MIN -> FLT_MIN

24行"LDBL_DIG -> ", LDBL_DIG

语文病句题,c选项哪里错了

后面,“推出**措施”错了,应该是“推出政策”。

大家c语言高手看看下面的编程出错在哪里?

#include "stdio.h"

void main()

{

int sex,gyp,san;

float father,mother,tall;

printf("请输入小孩性别(1-男孩,2-女孩):");

scanf("%d",&sex);

printf("请输入父亲身高:");

scanf("%f",&father);

printf("请输入母亲身高:");

scanf("%f",&mother);

printf("该小孩是否喜欢体育锻炼(1-喜欢,0-不喜欢):");

scanf("%d",&gyp);

printf("该小孩是否有良好的卫生饮食习惯(1-有,0-没有):");

scanf("%d",&san);

if(sex==1)

{

tall=(father+mother)*0.54;

if(gyp)

tall=tall*1.02;

if(san)

tall=tall*1.015;

}

else

{

tall=(father*0.923+mother)/2;

if(gyp)

tall=tall*1.02;

if(san)

tall=tall*1.015;

}

printf("该小孩成人后身高预测为:%.1fcm",tall);

}