Creating a Variable in jsp

<% int weeks; weeks = 7; out.println("Days of the weeks = " + weeks); %>
<% int months; months = 12; out.println("Number of months = "+ months); %>