## Problem 2.2 :: Write a program to read the price of an item in decimal form (like 15.96) and print the output in paisa ( like 1596).


## Solution ::


##Write down headers yourself.

void main()
{float d;
long p;
clrscr();
printf("Enter your taka:");
scanf("%f",&d);
p=d*100;
printf("\n\n%f Taka = %ld Paisa",d,p);
getch();
}

0 comments