题解列表

筛选

数列问题 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; int a=3,b=4,c=5; int sum=0; scanf("%d",&n); for……

ASCII码和toupper函数的结合

解题思路:用strlen求出本次输入的数组长度再根据ASCII码对应的小写字母范围用toupper函数调整注意事项:函数原型:externinttoupper(intc);在ctype.h文件中如果c为小写英文字母,则返回对应的大写字母;否则返回原来的值。