SHARE
TWEET

Untitled

a guest Jul 17th, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.     double GBP, USD;
  5.     int i = 0;
  6.    
  7.     do {
  8.         scanf("%lf",&GBP);
  9.         USD = GBP * 1.58;
  10.         printf("%.2f\t%.2f\n",GBP,USD);
  11.         i++;
  12.     }while(i < 5);
  13.    
  14.     return 0;
  15. }
RAW Paste Data
Top