Guest User

Untitled

a guest
Dec 16th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. public class Codificador{
  2. public static void main(String[] args){
  3.  
  4. }
  5.  
  6. public string covertidor(string msj, string clave) {
  7. 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"]
  8. for(int i = 0; i < num; i++){
  9. if(vector[i] == param){
  10. return i
  11. }
  12. }
  13. }
  14. public int search_position(string param){
  15. 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"]
  16. for(int i = 0; i < num; i++){
  17. if(vector[i] == param){
  18. return i
  19. }
  20. }
  21. }
Add Comment
Please, Sign In to add comment