I am trying to code a little program which calculates the price with fees.
There is two error messages :
7 : "Expected function body after function declarator"
9 : Expected identifier or "("
The code is :
#include <stdio.h>
#include <stdlib.h>
int main()
    var float : prix_ht,prix_ttc;
{
    //La taxe vaut 2,6 euros
    //Saisie du prix hors taxes
    printf("Saisir le prix hors taxes");
    scanf("%f",&prix_ht);
    prix_ttc==(prix_ht)+(2.6);
    printf("Le prix ttc est :%f",&prix_ttc);
    return 0;
}

 
     
    