This program works just how I want but there is only one bug. It doesn't convert from euro to dollar, it just gives me

> 
> 0.0 euro = 0.0 dollars;
> 
> 
> 

Can you guys help me please?

```
#include <stdio.h>
#include <stdlib.h>

void dollar(float dollar);

int main()
{
    char what;
    int howmany;
    int i;
    float dollar2;
    float euro2;

    printf("enter how many times do you want to convert\n");
    scanf(" %d", &howmany);
    printf("enter U if you want to convert from USD to Euro\n");
    printf("enter E if you want to convert from Euro to USD\n");

    for(i=0; i<=howmany-1; i++)
    {
        scanf(" %c", &what);
        if(what == 'E')
        {
            printf(" Enter how many euros do you want to convert\n");
            scanf(" %f", &euro2);
            euro(euro2);
        }
        if(what == 'U' ){
            printf(" Enter how many dollars do you want to convert\n");
            scanf(" %f", &dollar2);
            dollar(dollar2);
        }
    }
    return 0;
}

void dollar(float dollar)
{
    float euro = 0.94 * dollar;
    printf("%0.2f dollar = %0.2f euro\n", dollar, euro);
    return;
}

void euro(float euro)
{
    float dollar = 1.37 * euro;
    printf("%0.2f EURO = %0.2f DOLLAR\n", euro, dollar);
    return;
}

```