#include <stdio.h>
void addnumbers(int,int);	//prototype
void addprices(float,float);

void main()
{
int x=6;
int y=4;
float myprice1,myprice2,myprice3,myprice4;
myprice1=1.4;
myprice2=4.5;
myprice3=6.78;
myprice4=102.4;
printf("Welcome to my program\n");
addnumbers(x,y);
addprices(myprice1,myprice2);//call function send two values
addprices(myprice3,myprice4);//call function send different values
}

void addnumbers(int a,int b)
{
int total;
total=a + b;
printf("%d",total);
}

void addprices(float p1,float p2)
{
float total;
total=p1+p2;
printf("%f\n",total);
}

