Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C Program for FUNCTION OF COUNT THE INTEREST
float si(float,float,float);
void main()
{
float p=0,r=0,n=0,k=0;
clrscr();
printf("ENTER THE PRINCIPAL: ");
scanf("%f",&p);
printf("ENTER THE RATE OF INTEREST: ");
scanf("%f",&r);
printf("ENTER THE PERIOD: ");
scanf("%f",&n);
k=si(p,r,n);
printf("THE SIMPLE INTEREST IS %f",k);
getch();
}
float si(float p,float r,float n)
float k=0;
k=(p*r*n)/100;
return(k);
OUTPUT :
ENTER THE PRINCIPAL : 10000
ENTER THE RATE OF INTEREST : 5
ENTER THE PERIOD : 1
THE SIMPLE INTEREST IS 600.00
Aim: To implement a program to find area of rectangle, surface area of box and volume of box using virtual functions. Code: class rect {
how to fill the blank spaces in the board of 4*4 matrix with the minimum of 4 colors and the condition is the adjacent element should not have the same colour
main() { int a[5]={1,3,6,7,0}; int *b; b=&a[2]; } The value of b[-1] is
Define the Logical Operators in c language? The Logical operators deals with the ways the relationships are able to connected. C has the following three logical operators
find area uder the curve y=f(x) between x=a and x=b
the problem description. The order of the C Program should be as follows: Variables and constants Use #define statements to define the constants. Use arr
What is default constructor? explain it.
Object Initialization An object of a derived class can be initialized to an object of a base class. If both the classes have similar data members, then no specific constructor
how to define a contanst in a flowchart like we do in c language
how to create the programs in c++ knowledge
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd