C Programming Blog

 
 
 
#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 into paisa :- 12.50

    The paisa of Rs. is equal to :- 1250
*/