KEMBAR78
Java Basics Tasklist | PDF
0% found this document useful (0 votes)
0 views1 page

Java Basics Tasklist

The document outlines a task list for an intern at XploCode Infotech Private Limited focusing on Java basics. It includes tasks such as declaring variables, calculating totals, and obtaining user input for personal and book details. Each task specifies expected outputs to guide the intern's coding exercises.

Uploaded by

Surya Dharshini
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views1 page

Java Basics Tasklist

The document outlines a task list for an intern at XploCode Infotech Private Limited focusing on Java basics. It includes tasks such as declaring variables, calculating totals, and obtaining user input for personal and book details. Each task specifies expected outputs to guide the intern's coding exercises.

Uploaded by

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

XploCode Infotech Private Limited

Intern - Java Basics Tasklist


Day 1
1.​ Declare variables for a person’s name, age, and salary. Print all values.
2.​ Declare variables for three subject marks. Calculate and print the total.
3.​ My name is Rani
My age is 23
My height is 5.4
Write code using variables to produce the above output.
4.​ Task: Get name, roll number, and department from the user. Display them.
Expected Output :
Enter name: Rahul
Enter roll number: 101
Enter department: CSE
STUDENT DETAILS
***********************
Student Name: Rahul
Roll Number: 101
Department: CSE
5.​ Task: Get book title, author, and number of pages. Display them.
Expected Output :
Enter book title: Java Basics
Enter author: James
Enter pages: 300
Book Details
~~~~~~~~~
Title​ ​ :​ Java Basics
Author​ :​ James
Pages​ :​ 300

You might also like