java循环例题 用c语言编程怎么通过循环语句输出以下菱形?

用c语言编程怎么通过循环语句输出以下菱形?//Include<<;test the following<;test the following<;test the following&

用c语言编程怎么通过循环语句输出以下菱形?

//Include<<;test the following<;test the following<;test the following<;test the following<;测试该跟踪<;test the following<;test the following<;test the following<;测试该跟踪<;测试该跟踪<;测试该跟踪<;测试<;测试<;测试以下<;测试以下<;测试以下<;测试以下<;测试<;测试<;测试>;测试>;测试>;测试>;测试>,H>>;作废>;和>;作废基金(HTTP>;作废>;作废>;本>;作废>;作废>;>void>;>void,>void,>;>void>;>void>;>void,>”)printf(“n”)printf(“n”)int main(){int num=0//仅指scanf的上半部分(%d”,&num)fun(num)return 0}这是实心菱形,num函数中只有上半部分

~]*]******************************************************************************************!我将从1开始,公共类zuoye{public static void main(string[]args){//首先,我认为菱形是顶部和底部,顶部5和底部4,所以第一个for有5次,第二个for有4次。对于(int I=1I=2*I-1k--)//*7 5 3 1,基数倒置系统打印("*") 系统输出打印我希望你能举一反三,打印出钻石