Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class HoHasEncertat {
- public static void main (String[] args) {
- int m = 23;
- int n = 12;
- //.... Suposem que x pren un valor.
- if((x < n)||( x > m)){
- System.out.println("Estàs fora del marge de valors correcte.");
- }else{
- System.out.println("Ho has encertat!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement