#define NTRATE 31.34;
#include<stdio.h>
#include<stdlib.h>
int main(){
double USdollar,NTdollar;
printf("How many US do you have: ");
scanf("%lf",&USdollar);
NTdollar=USdollar*NTRATE;
printf("You can exchang %.2fNTdollar\n",NTdollar);
system("pause");
return 0;
}
沒有留言:
張貼留言