⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jiamisf.java

📁 小型的课程设计
💻 JAVA
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. *//** * * @author Administrator */public class jiamisf { public char jiamisuanfa(char sr,int key) {        char fh = 0 ;        int m;        char[] zm = new char[]{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'g', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'G', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'};        for (int i = 0; i < zm.length; i++) {                if (sr == zm[i]) {                    m = (i + key) % zm.length;                    fh = zm[m];                 }        }        return fh;    }       public char[] jiamizhuanhua(char[] yuan){    char[] fanhui=new char[yuan.length];     int j=0;    for(int i=0;i<yuan.length;i++){        fanhui[j]=jiamisuanfa(yuan[i], 4);        j++;    }    return fanhui;   }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -