I know this is the format for displaying outputs on to VF pages
<apex:pageBlock title="CustomObject">
<apex:pageBlockSection>
<apex:outputField value="{! CustomObject.var1 }"/>
<apex:outputField value="{! CustomObject.var2 }"/>
<apex:outputField value="{! CustomObject.var3 }"/>
<apex:outputField value="{! CustomObject.var4 }"/>
</apex:pageBlockSection>
</apex:pageBlock>
I was wondering if we can display independent variable values . for example-
<apex:outputField value="{!var5 }"/>
where var5 is an int value calculated in the custom controller and is not an attribute of the custom object.