/wx優に
/wx優に
全部文章
分类
题解(2)
归档
标签
去牛客网
登录
/
注册
/wx優に的博客
全部文章
(共2篇)
[编程题]字符串分隔
static String changeTo8N(String str) { if (!("".equals(str)) && str != null) { //System.out.println(8 - (str.length()%8)); ...
2019-11-24
0
639
写出一个程序,接受一个由字母和数字组成的字符串,和一个字符,然后输出输入字符串中含有该字符的个数。不区分大小写。
import java.util.*;public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.ne...
2019-11-21
0
674