蓝桥杯每日一练

蓝桥杯每日一练,第1张

蓝桥杯每日一练
    题目如图所示


     

2.代码提供如下

import java.util.Scanner;

public class J23 {
	public static void main(String[] args) {
		Scanner scan=new Scanner(System.in);
		int a=scan.nextInt();//参加的天数
		int [] b=new int[a];//金牌数
		int [] c=new int[a];//银牌数
		int [] d=new int[a];//铜牌数
		int e=0;
		int f=0;
		int g=0;
		for(int i=0;i

3.这道题解法非常的简单 没有什么函数的学习 慢慢来吧

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5713290.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-18
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存