At the request, here is my code--- God, I hope I posted it correctly-- hate to make anybody mad when I'm the one looking for help!!
Code:
#include <stdio.h>
#include <conio.h>
#define GBP 1.8904; /* British Pound conversion rate
constant*/
int main(void)
{
float usd;
float newrate;
int selection;
do
{
clrscr();
printf("This program will convert British Pounds to US Dollars\n");
printf("\n\nPlease Select The Number 1 And Press ENTER To Convert Pounds To Dollars:\n");
printf("[1] British Pound\n");
scanf ("%d", &selection);
printf("You entered %d\n", selection);
}
while (selection != 1);
printf("\n\nPlease enter the amount of money you want to convert to US Dollars\n\n\n");
scanf("%f", &usd);
newrate = usd * GBP;
printf("\nThat amount in US Dollars is: $%.2f \n\n\n", newrate);
printf("\n\nThank you! \nHave a great day! \nPress any key to exit\n");
getch();
return 0;
}