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;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author 250405
|
||||
* @author Bots!!
|
||||
*/
|
||||
public class BotsEncrypter {
|
||||
|
||||
public static void main(String[] args) {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
System.out.println("Olaaa!!");
|
||||
Scanner scn = new Scanner(System.in);
|
||||
|
||||
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