c语言做心理测试程序,c语言程序:心理测试.docx

c语言程序:心理测试

//#include#include#includevoid menu();void character_test(){int sum=0;char choice;printf("\n\t\t\t\t性格测试\n\n"); printf("注意:您每一道只能选择回答yes或no!若选择yes,请输入y,若选择no,请输入n!\n\n");printf("1.你是否愿意同时做几件不同的事(如打电话,举行会谈,在本子上记录 ,来回转动你的椅子,所有这些事都在同一时间进行)?\n");printf("yes or no ?--------");getchar();scanf("%c",&choice); if(choice=='y') sum=sum; if(choice=='n') sum=sum+1; printf("\n"); printf("2.你是否在休息时会产生一种总有该做之事的负罪感?\n"); printf("yes or no ?--------");getchar();scanf("%c",&choice); if(choice=='y') sum=sum+1; if(choice=='n') sum=sum; printf("\n"); printf("3.你是否很快就厌烦了与别人的谈话?你是否发现自己总想判断对方,或替他们把话讲完,或采取手段催促他们?\n");printf("yes or no ?--------");getchar();scanf("%c",&choice); if(choice=='y') sum=sum; if(choice=='n') sum=sum+1; printf("\n"); printf("4.你是否想把谈话引入你感兴趣的而不是倾听别人感兴趣的话题?\n"); printf("yes or no ?--------");getchar();scanf("%c",&choice); if(choice=='y') sum=sum; if(choice=='n') sum=sum+1; printf("\n"); printf("5.你是否急于把手上的活儿干完,以便接手另一项任务?\n");printf("yes or no ?--------");getchar();scanf("%c",&choice); if(choice=='y') sum=sum+1; if(choice=='n') sum=sum; printf("\n"); printf("6.你是否不太留意与你工作无关的事?\n"); printf("yes or no ?--------");getchar();scanf("%c",&choice); if(choice=='y') sum=sum+1; if(choice=='n') sum=sum; printf("\n"); printf("7.你是否更愿意占有而不是被占有(即体验你的占有物而不是体验你自己)?\n");printf("yes or no ?--------");getchar();scanf("%c",&choice); if(choice=='y') sum=sum+1; if(choice=='n') sum=sum; printf("\n"); printf("8.你是否总以最快的速度完成大部分事(吃,说,行)?\n"); printf("yes or no ?--------");getchar();scanf("%c",&choice); if(choice=='y') sum=sum; if(choice=='n') sum=sum+1; printf("\n"); printf("9.你是否发现你这种人容易引起争议?\n"); printf("yes or no ?--------");getchar();scanf("%c",&choice); if(choice=='y') sum=sum+1; if(choice=='n') sum=sum; printf("\n"); printf("10.你是否身体上感到紧张和警觉?\n"); printf("yes or no ?--------");getchar();scanf("%c",&choice); if(choice=='y') sum=sum+1; if(choice=='n') sum=sum; printf("\n"); printf("11.你是否对赢而不只是对参与和自我享受更感兴趣?\n"); printf("yes or no ?--------");getchar();

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值