自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 Java语言程序设计与数据结构(基础篇) 课后题练习 第七章

7.1import java.util.*;public class Test_7{ public static void main(String[] args){ Scanner input = new Scanner(System.in); System.out.println("Enter the number of students"); int n = input.nextInt(); System.out.println("Enter" + " " + n + " " +

2021-05-15 19:40:38 235

原创 Java语言程序设计与数据结构(基础篇) 课后题练习 第三章

第三章3.1import java.util.Scanner;public class Test3{ public static void main(String[] args){ System.out.println("Enter a, b, c:"); Scanner input = new Scanner(System.in); Double a = input.nextDouble(); Double b = input.nextDouble(); Double c =

2021-04-28 00:39:13 283

原创 Java语言程序设计与数据结构(基础篇) 课后题练习 第二章

2.1import java.util.Scanner;public class Test2_1{ public static void main(String[] args){ Scanner input = new Scanner(System.in); System.out.println("Enter a degree in Celsius:"); double Celsius = input.nextDouble(); double Fahrenheit = (9.0/5)

2021-04-11 23:14:30 220

原创 输入三个数,按照从小到大的顺序输出。

1.最笨的做法#include<stdio.h>void main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a > b) { if(b > c) { printf("%d %.d %.d\n",c,b,a); } else { if(a >

2021-04-10 21:12:19 1405

原创 C语言程序设计教程第3版课后习题练习 第五章

5.1#include <stdio.h>int main(){ char ch1,ch2; scanf("%c",&ch1); if((int)ch1>64&&(int)ch1<91){ ch2=ch1+32; } else if((int)ch1>96&&(int)ch1<123){ ch2=ch1-32; } printf("%c",ch2); return 0;}5.2#includ

2021-04-10 20:29:55 280

原创 Java语言程序设计与数据结构(基础篇)课后题第一章

###1.1public class Test1_1 { public static void main(String[] args){ System.out.println("Welcom to Java\n"); System.out.println("Welcom to Computer Java\n"); System.out.println("Welcom to Java\n"); }}###1.7public class Test1_7{ public static

2021-04-09 23:20:03 81

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除