Check out example codes for "30/8". It will help you in understanding the concepts better.

Code Example 1

int x = 30;
int y = 8;
int answer = x / y;
System.out.println(answer);

Learn ReactJs, React Native from akashmittal.com