this is the skeleton of your program.You must edit
nandFoat* functions to supply your instructions.
the other 2 helper functions are ok.

Code:
#include <stdio.h>

float nandFloatMul(float, float);
float nandFloatAdd(float, float);
float nandFloatSub(float, float);
int boolNand(int , int );
int bitWiseNand(int, int);

float nandFloatMul(float a, float b){
    return a*b;
}

float nandFloatAdd(float a, float b){
    return a+b;
}

float nandFloatSub(float a, float b){
    return a-b;
}

int boolNand(int i, int j){
    if (i!=0 && j!=0) return 0;
    return 1;
}

int bitWiseNand(int i, int j){
 return  !(i&j); 
}


int main(){
    float a=5.3,b=6.3;
    printf("\n%f*%f=%5.4f",a,b,nandFloatMul(a,b));
    printf("\n%f+%f=%5.4f",a,b,nandFloatAdd(a,b));
    printf("\n%f-%f=%5.4f",a,b,nandFloatSub(a,b));
    int a1=1,b1=1;
    printf("\nNAND(%d,%d)=%d",a1,b1,boolNand(a1,b1));
    printf("\nbitwise NAND(%d,%d)=%d",a1,b1,bitWiseNand(a1,b1));
    getchar();
    return 0;    
}
happy coding