[codes=java]import java.io.*;
import java.util.*;
class thongtin{
public static void main (String args[]) {
Scanner input=new Scanner(System.in);
System.out.print(“Ten cua ban: “);
String str =input.nextLine();
System.out.print(“Nam sinh: “);
short ns=input.nextShort();
System.out.print(“Tuoi: “);
byte tuoi =input.nextByte();
System.out.print(“Diem”);
float diem =input.nextFloat();
System.out.println(“Ho ten: ” +str+ ” – Tuoi: “+tuoi+ ” – Diem: “+diem);
}
}
[/codes]
Last modified on December 9th, 2020 at 1:00 am
Nam Le
lequocnam
0 responds