英语翻译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/07/01 23:16:18
![英语翻译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](/uploads/image/z/10091003-59-3.jpg?t=%E8%8B%B1%E8%AF%AD%E7%BF%BB%E8%AF%91Write+a+function+that+takes+three+arguments%3Aa+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%2Cand+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
英语翻译
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