base feita
This commit is contained in:
@@ -1,18 +1,35 @@
|
|||||||
/*
|
|
||||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
|
||||||
*/
|
|
||||||
|
|
||||||
package com.mycompany.botsencrypter;
|
package com.mycompany.botsencrypter;
|
||||||
|
|
||||||
|
import java.util.Scanner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* @author Bots!!
|
||||||
* @author 250405
|
|
||||||
*/
|
*/
|
||||||
public class BotsEncrypter {
|
public class BotsEncrypter {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
for (int i = 0; i < 10; i++) {
|
Scanner scn = new Scanner(System.in);
|
||||||
System.out.println("Olaaa!!");
|
|
||||||
|
boolean rodando = true;
|
||||||
|
|
||||||
|
while(rodando == true){
|
||||||
|
System.out.println("Selecione uma das opções:\n"
|
||||||
|
+ "1- Encriptar\n"
|
||||||
|
+ "2- Decodificar\n"
|
||||||
|
+ "3- Sair");
|
||||||
|
int opcaoS = scn.nextInt();
|
||||||
|
scn.nextLine();
|
||||||
|
switch(opcaoS){
|
||||||
|
case 1 -> Encoder();
|
||||||
|
case 2 -> Decoder();
|
||||||
|
case 3 -> rodando = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
private static String Encoder(){
|
||||||
|
return "nada";
|
||||||
|
}
|
||||||
|
private static String Decoder(){
|
||||||
|
return "nada";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user