C language basic questions
//so the above approach
#include <stdio.h>
// Driver code
int main()
{
// We can change values here for
// different inputs
float P = 1, R = 1, T = 1;
// Calculate simple interest
float SI = (P * T * R) / 100;
// Print Simple Interest
printf("Simple Interest = %f\n", SI);
return 0;
}