摘要:
//编写程序包含8个元素的int类型数组,用for循环设置数组元素,用do while循环显示元素值。 #include <stdio.h>int main(void){ int num[8],index,i,pow; for (index=0,i=0,pow=1;index<=7;index++) 阅读全文
摘要:
6.07 让用户输入一个单词,并倒序打印这个单词 #include <stdio.h>#include <string.h>int main(void){ char word[20]; size_t size; int index; printf("Please enter a word:"); s 阅读全文