Professional Documents
Culture Documents
NAME : SRISOWMIYA.N
REGNO : 119011012658
CLASS : B.TECH (CSE)
YEAR : 2
BATCH : 2019-2023
SEMESTER : 3
SUBJECT : OBJECT ORIENTED PROGRAMMING
PROCEDURE:
Class student
Step 4: Declare name, roll no, of student details and other 25 fields about
yourself in private access specifier.
Private:
Step 5: And declare the public access specifier in that we include cout and cin
operations.
RESULT:
OUTPUT:
PROCEDURE:
Step 3: Include public static void main (string arg []) for declaring some
variables.
Step 4: And include system.out.printin () for scanning the input otherwise print
the statement.
Step 5: Include the double for while giving the value is under double condition.
RESULT:
Thus the above java program has been created and executed successfully.
PROGRAM:
OUTPUT: