Advertisement
saira12tabassum19

Untitled

Jul 9th, 2019
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. //problem no 3 space x,blue origin
  2. #include<stdio.h>
  3. int main()
  4. {
  5. int t1,e1,t2,e2;
  6. double per_hour1,per_hour2;
  7. scanf("%d %d %d %d",&t1,&e1,&t2,&e2);
  8. per_hour1=e1/t1;
  9. per_hour2=e2/t2;
  10. if(per_hour1<per_hour2)printf("Space X\n");
  11. else printf("Blue Origin\n");
  12.  
  13.  
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement