Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class H53Oef4 {
- public static void main(String[] args) {
- // TODO Auto-generated method stub
- // declaratie
- String woord,deel1,deel2;
- //invoer
- woord=Invoer.leesString("geef het woord in");
- woord = woord.toUpperCase();
- // bewerking
- deel2=woord.substring(woord.indexOf("E"));
- deel1=woord.substring(0,woord.indexOf("E"));
- deel1 = deel1.toLowerCase();
- woord=deel1+deel2;
- System.out.println(woord);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement