C program for Selection Sort

Write a C Program For Selection Sort  In Selection sort, the smallest element is exchanged with the first element of the unsorted list of elements (the exchanged element takes the place where smallest element is initially placed). Then the second smallest element is exchanged with...

C Program for Simple and Compound Interest

Write a C program to Calculate Simple Interest #include<stdio.h> main() {  float p,r,t,simpleInterest;  printf(“Enter Principaln”);  Scanf(“%f”, &p);  printf(“ Enter Rate in percentage n”);  scanf(“%f” ,&r);  printf(“Enter Time in years(decimals)n”);  scanf(“”%f” ,&t);  simpleInterest=(float)(p*r*t)/100.0;  printf(“Simple Interest is %fn”, simpleInterest); } Output Enter Principal 2000 Enter Rate in...