joseleonweb

Untitled

Sep 22nd, 2019
125
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.util.Scanner;
  2.  
  3. public class ObtenirInformacioUsuari {
  4.     public static void main(String[] args) {
  5.         String nom; int edat;
  6.         Scanner teclat = new Scanner(System.in);
  7.         System.out.print(“Si us plau entri el seu nom >>);
  8.         nom = teclat.nextLine();
  9.         System.out.print(“Si us plau entri la seva edat >>);
  10.         edat = teclat.nextInt();
  11.         System.out.println(“El teu nom és “ + nom + “ i tens “ + edat);
  12.     }
  13. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×