Assembly Languages
Assembly languages are developed by short English like abrivation.Common elements of machine code to develop software in an assembly language.A programmer uses a text editor (A simple word processor) to create source file.To convert source files into object code the developer uses a special translator program called an assembler to convert each line of assembly language into one line of machine code.Although assembly language are highly detailed they are still much easier to use than machine language.
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