Login


User Name | Register
Password | Remembe


Twitter: Follow My Tweet...

Posting tweet...

Powered by Twitter Tools

Need Help On My C Program.?

include
#include
#include
#define AUD 42.67
#define CHF 43.21
#define CNY 6.47
#define EUR 69.93
#define HKD 5.7
#define JPY 0.41
#define USD 44.45
double in_Php(double Php)
{printf(“Enter amount in Php:\n”);
scanf(“%lf”, &Php);
return Php; }
char in_cur(char cur)
{printf(“Which of the currencies would you like to convert it to?\n”);
printf(“Enter the letter of your choice:\n”);
scanf(“%c”,&cur);
printf(“A. Australian Dollar\nB. Swiss Franc\nC. Chinese Yuan Renminbi\nD. Euro\nE. Hong Kong Dollar\nF. Japanese Yen\nG. US Dollar\n”);
return cur; }
double convd(double Php, double cur)
{double cond;
cond=Php*cur;
return cond; }
main()
{ double A,C; char B; clrscr();
A=in_Php(A); B=in_cur(B); C=convd(A,B);
B=toupper(B);
switch(B)
{ case ‘A’: C=A*AUD; printf(“%.2lf Php is %.2lf AUD”, A, C); break; }
getch(); }
my problem is whenever I run it, I enter the amount first. But then, when I try to choose a letter, the program immediately ends… something wrong with my coding?

How Can One Be Aud 158 And Other Jpy 6,500?

http://go.zuji.travelpn.com/hotel/HotelA… 7http://www.japanican.com/hotels/List.asp…
But same hotel

Where Is The Best Place To Exchange Aud To Jpy In Melbourne, Australia?

Is it better I exchange in AU or JP?

I Read Somewhere About Making A 6.25% Return On The Aud/jpy Currency Pair. Could Someone Clarify It For Me?

I was reading an internet thread about investing, and someone talked about buying a currency pair with high income and low interest rates. It was said that AUD had a 6.25% rate (no idea what that means) and JPY had a 0% rate.
The post said that when you trade on the forgein exchange, you are margin lending, like shares (I don’t know what margin lending is). It said you had a 98% LVR (again no idea).
Could someone clarify what this person meant, and also the elements of forgein exchange and jargon that I didn’t understand?
Thanks very much.

Page 1 of 212