='A'&&str [i]<='Z,) str [i]+=l;\relse if (str[i]='z'‘str[i]='Z')\rstr[i]-=25;\r)\r)\r#endif\rprintf(" /> ='A'&&str [i]<='Z,) str [i]+=l;\relse if (str[i]='z'‘str[i]='Z')\rstr[i]-=25;\r)\r)\r#endif\rprintf(" />

全文预览

C程序设计第四版习题答案

上传者:徐小白 |  格式:pdf  |  页数:182 |  大小:8496KB

文档介绍
;\r#if(CHANGE).\r{for(i=0;i<MAX;i++)\r{if(str[i]!='\0')\rif (str[i]>=, a &&str[i]<"z' | | str [i] >='A'&&str [i]<='Z,) str [i]+=l;\relse if (str[i]='z'‘str[i]='Z')\rstr[i]-=25;\r)\r)\r#endif\rprintf("output:\n%s\n"str);\rreturn 0;\r)\r12-1\r#include <stdio. h>\rint main ()\r(unsigned a, b, c, d;\rprintf ("please enter a:)!\rscanf ( % o, &a);\rb=a’4;\rc=/vC 0 “ 4 ) ;\rd=b & c;\rprintf (”o, %d\n%o, %d\n"z, a, a, d, d); return 0;\r12-2.\rttinclude <stdio. h>\rint mainO\r{unsigned short a,b, c; int n;\rprintf ("please enter a & n:\n)0 scanf (z/a=%o, n=%d"z, &a, &n) ; b=aY(16-n);\rc=aZn;\rc=c b;\rprintf (z'a:%o\nc:%o\n"/, a, c) ; return 0;}

收藏

分享

举报
下载此文档