View Code of Problem 88

#include<stdio.h>

int main()
{
  int a1,a2,a3,a4,a5,a6;
  int sum=0;
  
  scanf("%d %d %d %d %d %d",&a1,&a2,&a3,&a4,&a5,&a6);
  
  sum=a6+a5+a4+(a3+3)/4;
  printf("%d\n",sum);
  
  return 0;
}

Double click to view unformatted code.


Back to problem 88