High level languages
High level languages were developed for make programming easier.Tgese languages are called higher level languages.Because there syntax is more like human language than assembly or machine language code.Higher level programming languages use familiar words rather than make up machine instructions.To express computer operations.These languages use operators such as the + and - sign that are the familiar components of mathematics.As a result people can read,Write and understand computer programmes much more easily when using a high level language.Still the instructions must be translated inyo machine language before the computer can understand and carry them out.
Simple interest #include < stdio.h > void main() { int amount, rate, time, ans; printf("\nEnter Principal Amount : "); scanf("%d", &amount); printf("\nEnter Rate of Interest : "); scanf("%d", &rate); printf("\nEnter Period of Time : "); scanf("%d", &time); ans = (amount * rate * time)/100; /*Simple interest formula*/ printf("\nSimple Interest : %d",ans); }
Comments
Post a Comment