C Code to Calculate Simple Interest for two years

/* C Code to Calculate Simple Interest for two years */

#include <stdio.h>

int main() {
    float P, R, SI;
    float T = 2; 
    
    printf("Enter Principle and Rate:\n");
    scanf("%f %f", &P, &R); 

    SI = (P * T * R) / 100;
    
    printf("The SI for two years is: %f\n", SI); 

    return 0;
}