Computer Science, asked by samiarabegum960, 7 months ago

राइट ए प्रोग्राम टो एक्सेप्ट प्रिंसिपल अमाउंट रेट ऑफ इंटरेस्ट एंड टाइम पीरियड इन ईयर सेंटर इन द सिंपल इंटरेस्ट​

Answers

Answered by karkeiraj753sobit
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);

}

getch() ;

hope it will helpful please don't forget to mark me BRAINLIEST thank you

Similar questions