英语翻译Write a function that takes three arguments:a character and two integers.Thecharacter is to be printed.The first integer specifies the number of timesthat the character is to be printed on a line,and the second integer specifiesthe number
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 19:35:43
英语翻译Write a function that takes three arguments:a character and two integers.Thecharacter is to be printed.The first integer specifies the number of timesthat the character is to be printed on a line,and the second integer specifiesthe number
英语翻译
Write a function that takes three arguments:a character and two integers.Thecharacter is to be printed.The first integer specifies the number of timesthat the character is to be printed on a line,and the second integer specifiesthe number of lines that are to be printed.Write a program that makes use of thisfunction.
英语翻译Write a function that takes three arguments:a character and two integers.Thecharacter is to be printed.The first integer specifies the number of timesthat the character is to be printed on a line,and the second integer specifiesthe number
写一个需要3个参数的函数
第一个参数是一个字母
第二个参数表示第一个参数(即字母)在一行里被打印的次数
第三个参数表示要打印几行
比如当函数使用( 'a', 5, 2 )作为参数时输出的结果应该如下:(两行,每行5个字母‘a’)
aaaaa
aaaaa