Advertisement
Radoan_Ahmed

Untitled

Oct 13th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5.     int age,x,y;
  6.     printf("Inter your age: ");
  7.     scanf("%d",&age);
  8.     x = 85 - age;
  9.     y = x + 1934;
  10.     printf("Your birth year is %d",y);
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement