How to define this case

I met few lines code like:

const int itemPersreen = 7;
const int fontSize = 8;

and I need:
const int x = 8;

what can I do?

What is wrong with using

const int x = 8;

Is there any reason for x to be an int as its value is only 8 ?

1 Like

What does 'x' mean?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.