Java第7次实验

Java第7次作业 1. public class Hestia { public static void main(String[] args) { int[] arr = {3, 7, 5, 2, 1, 40};//定义数组 int temp = a


Java第六次作业

JAVA第六次作业 1. public class Hestia { public static void main(String[] args) { int temp = 0; // 定义一个记录次数的变量 for (int i = 1; i <= 100; i++)


数据结构作业

数据结构程序 1.主函数 #include<iostream> #include"hestia1.h" #include<stdlib.h> using namespace std; int main(){ while(true){ rq(2024,4); zwjs(); cou


Java第四周作业

[作业记录]第四周作业 题目: 现有一个数组: int[] oldArr={1,3,4,5,0,0,6,6,0,5,4,7,6,7,0,5} ;要求将以上数组中值为0的项去掉,将不为0的值存入一个新的数组,生成的新数组为:int[] newArr={1,3,4,5,6,6,5,4,7,6,7,5}