Code for PROGRAM TO READ THE PRICE OF AN ITEM IN DECIMAL FORM LIKE (10) AND PRINT THE OUTPUT IN PAISE LIKE(1000) in C Programming
#include<conio.h>
#include<stdio.h>
void main()
{
float rs;
int PAISA;
clrscr();
printf("Enter The Rs. You Want To Convert To Paisa : ");
scanf("%f",&rs);
PAISA=rs*100;
printf("\n The PAISA of you Rs. Equal To : %d",PAISA);
getch();
}
****************************** OUTPUT *********************************
Enter The Rs. You Want To Convert To Paisa : 50
The PAISA of you Rs. Equal To : 5000
***********************************************************************