Wednesday, 14 November 2012

PROGRAM TO CONVERT RUPEES TO PAISA




#include<stdio.h>
main()
{
float rupee;
float paisa;
printf("Enter the amount:");
scanf("%f",&rupee);
paisa=rupee*100;
printf("\n %f rupees is equal to %f paisa",rupee,paisa);

}

OUTPUT:


Enter the amount:10
10.000000 rupees is equal to 1000.000000 paisa