Skip to content

Practice Problem 1

Seanti edited this page Mar 26, 2025 · 2 revisions

1. Data Types and Variables

Problem:

Create a program that stores the following details of a student:

  • Name (String)

  • Age (int)

  • Grade (double)

  • Is enrolled (boolean)

Then, print all the details in a formatted output.

Sample Output:

Student Information:
Name: Juan Dela Cruz
Age: 18
Grade: 89.5
Enrolled: true

Clone this wiki locally