Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Codificador{
- public static void main(String[] args){
- }
- public string covertidor(string msj, string clave) {
- vector = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
- for(int i = 0; i < num; i++){
- if(vector[i] == param){
- return i
- }
- }
- }
- public int search_position(string param){
- vector = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
- for(int i = 0; i < num; i++){
- if(vector[i] == param){
- return i
- }
- }
- }
Add Comment
Please, Sign In to add comment