Dinner With Aminvai

Aminvai is a famous programmer of the world. He has a lot of fans & followers. Unfortunately, he has no enough time for talking to all of his fans and followers. Recently, his PA has announced an offer. They who will be able to solve this problem, may get the opportunity to have dinner with Aminvai on 29th February 2021.


This is a companion discussion topic for the original entry at https://toph.co/p/dinner-with-aminvai
#include <stdio.h>
int main()
{
int a,i; 
scanf("%d",&a); 
for(i=0;i<a;i++){ 
int b,c,d,e,f; 
scanf("%d",&b); 
c=b+4; 
d=c*2; 
e=d-8; 
f=e/2; 
printf("%d\n",f);}
    return 0;
}

Where is the prblm