C Program Code to convert rupee into paisa

/* C Program Code to convert rupee into paisa */

#include <stdio.h>

int main() {
    float r, p;

    printf("Enter amount in rupees:\n");
    scanf("%f", &r);

    p = r * 100;

    printf("The amount in paisa is %f\n", p); 

    return 0;
}