一个c语言问题(英语大神进)While we‘re on the subject of silly songs,anot

一个c语言问题(英语大神进)
While we‘re on the subject of silly songs,another old standby is "This Old Man" for which the first verse is This old man,he played 1.He played knick-knack on my thumb.With a knick-knack,paddy-whack,Give your dog a bone.This old man come rolling home.Each subsequent verse is the same,except for the number and the rhyming word at the end of the second line,which gets replaced as follows: 2-shoe 3-knee 4-door 5-hive 6-sticks 7-heaven 8-pate 9-spine 10-shin Write a program to display all 10 verses of this song.
尴尬了,,英语不好c语言题目都看不懂
jancyshaw 1年前 已收到1个回答 举报

换个id来ss 幼苗

共回答了21个问题采纳率:85.7% 举报

叫你写一个程序来显示这个歌的歌词。这个歌每段只有前一句有变化,其他不变。变的方法是 1 - one,
2 -two ....10 - ten, 以及 thumb 依次变 shoe,knee,。。。shin。
程序如下。8 可能是 gate.

#include
main(){
char s[11][20]={" ","thumb","shoe","knee","door","hive","sticks","heaven", "gate", "spine", "shin"};
char n[11][8]={" ","one","two","three","four","five","six","seven","eight","nine","ten"};
int i;
for (i=1;i

1年前

5
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 16 q. 0.028 s. - webmaster@yulucn.com