I have spent countless hours on this and I am stuck.
This program is currency conversion program. A user selects a currency then an amont anthe selects the currency to conver to.

firstchoice() is the procedure the fisrt selection is made and in getchoice() the second selection is made.

The amount thats enterd is fist converted to US and then to the currency.

I cant get it to complie.

Here is source Code
#include <stdio.h>
#include <math.h>
int getchoice(void);
int firstchoice(void);
int beginconv(void);
int main(void)
{

#define EURO .926698 //conversion rate for Euro
#define FRANC 6.07874 // conversion rate for France Franc
#define YEN 120.300 // conversion rate for Japanese Yen
#define D_MARC 1.81246 // conversion rate for Germnay Deutshce Marc
#define POUND 0.619579 // conversion rate for UK pound

/************************************************** ***
1 US dollar = 0.926698 Euro
1 US dollar = 6.07874 Franc
1 US dollar = 120.300 Yen
1 US dollar = 1.81246 Deutsche Marc
1 US dollar = 0.619579 Pound
************************************************** *****
*****/


float amount =0.00;


printf("\n\n\n");
printf("1. Franc\n");
printf("2. yen\n");
printf("3. Euro\n");
printf("4. D_MArc\n");
printf("5. Pound\n");
printf("6. US\n");

beginconv();


}
/////////////
int beginconv(void)
{
int amount;
int choice;
float answer;
int myVar1 ;
int myVar2;

myVar1 = selection1(FRANC, EURO, POUND);
myVar2 = selection2(FRANC, EURO, POUND);



printf("%s select cuurency you want to convert to: ");
scanf ("%d", &choice);
if (scanf (choice <= '6') || (choice >= '1') );


switch( choice )
{
case 1: if ((myVar1 == int FRANC , int EURO, int POUND) &&(myVar2 == int FRANC, int EURO,int POUND));
answer = (amount/selection1)*myVar2;
break;

case 2: printf("\n test 2\n");
break;


}

return 0;
}

//////////////////
int firstchoice(void)
{
int selection1;
float currency1;
float currency2;
float currency3;
float currency4;
float currency5;
float currency6;

while ( (selection1 = getchoice()) != 'q')
{
switch (selection1)
{
case 'a' : currency1 = FRANC;
break;
case 'b' : currency2 = YEN;
break;
case 'c' : currency3 = EURO;
break;
case 'd' : currency4 = POUND;
break;
case 'e' : currency5 = D_MARC;
break;
case 'f' : currency6 = US;
break;
default : printf("Program error!\n");
break;
}
}
return 0;
}


//////////////////////
int getchoice(void)
{
int selection2;
float currency1;
float currency2;
float currency3;
float currency4;
float currency5;
float currency6;

while ( (selection2 = getchoice()) != 'q')
{
switch (selection2)
{
case 'a' : currency1 = FRANC;
break;
case 'b' : currency2 = YEN;
break;
case 'c' : currency3 = EURO;
break;
case 'd' : currency4 = POUND;
break;
case 'e' : currency5 = D_MARC;
break;
case 'f' : currency6 = US;
break;
default : printf("Program error!\n");
break;
}
}
return 0;
}