Physics, asked by manvisharma25, 1 month ago

spread awareness amongst the youth to stay away from the bad habits of consuming hard drinks in the form of a self written pledge

write a pledge plz plz plz ​

Answers

Answered by raj8825222129
0

Answer:

#include <stdio.h>

int main()

{

float principle, rate, sinterest;

int time;

printf("Enter Principle Amount, Rate %% per Annum and Time\n");

scanf ("%f %f %d", &principle, &rate, &time);

sinterest = (principle * rate * time)/ 100.0;

printf ("Principle Amount = %5.2f\n", principle);

printf ("Rate %% per Annum = %5.2f%\n", rate);

printf ("Time = %d years\n", time);

printf ("Simple Interest = %5.2f\n", sinterest);

}

Similar questions