Advertisement
Rehan_Rahman26

uri 2670

Jul 9th, 2021
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1.  #include <stdio.h>
  2.  int main(){
  3.      int a,b,c,t;
  4.      scanf("%d",&a);
  5.      scanf("%d",&b);
  6.      scanf("%d",&c);
  7.      t=(a*2)+(c*2);
  8.      printf("%d\n",t);
  9.      return 0;
  10.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement