0% found this document useful (0 votes)
6 views3 pages

Assign 3

Uploaded by

Khaled Al zaky
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views3 pages

Assign 3

Uploaded by

Khaled Al zaky
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Advanced java programming

Dr. Yazeed almoayad

Assignment 3

Khaled Mahmoud
Ci893
Design one form to retrieve the data from project 2 :

Name : Yazeed Alsayed


Faculty : Faculty Of Computer & Info. Tech.
Department : Information Technology Dept. ‫قسم تقنية المعلومات‬
Academic No. : Ac301
Title : Asst. Prof. Dr.
Citizenship : MY
Email : [email protected]
Skype Id : almoayed2000

import java.util.Scanner;

public class DataForm {

public static void main(String[] args) {

Scanner input = new Scanner(System.in);

System.out.print("Name: ");

String name = input.nextLine();

System.out.print("Faculty: ");

String faculty = input.nextLine();

System.out.print("Department: ");

String dept = input.nextLine();

System.out.print("Academic No.: ");

String academicNo = input.nextLine();

System.out.print("Title: ");
String title = input.nextLine();

System.out.print("Citizenship: ");

String citizenship = input.nextLine();

System.out.print("Email: ");

String email = input.nextLine();

System.out.print("Skype ID: ");

String skypeId = input.nextLine();

System.out.println("Name: " + name);

System.out.println("Faculty: " + faculty);

System.out.println("Department: " + dept);

System.out.println("Academic No.: " + academicNo);

System.out.println("Title: " + title);

System.out.println("Citizenship: " + citizenship);

System.out.println("Email: " + email);

System.out.println("Skype ID: " + skypeId);

You might also like