Intrest rate calculation

Jun 28th, 2015
Studypool Tutor
Aberystwyth University
Price: $25 USD

Tutor description

Interesting facts about the Art of Living course: • AOL is part of the training for NASA astronauts. • It is part of the training for Miss India contestants. . Teachers in a school in Basel, Switzerland get paid vacation to do AOL course. • Sudarshan Kriya has been acknowledged by All India Institute of Medical Sciences based on its medical research

Word Count: 1207
Showing Page: 1/18
/*Program to find simple intrest*/#include#includevoid main(){long unsigned int p,n,r,si;clrscr();printf("Enter the principle amount:");scanf("%d",&p);printf("\nEnter the number of years:");scanf("%d",&n);printf("\nEnter the rate of interest:");scanf("%d",&r);si=(p*n*r)%100;printf("\nThe simple intrest is: %d",si);getch();}Output:Enter the principle amount:5000Enter the number of years:2Enter the rate of interest:10The simple intrest is:1000/*program to convert temperature in Fahrenheit to Celsius*/#include#includevoid main(){int f,c;clrscr();printf("Enter the temperature in Fahrenheit:");scanf("%d",&f);c=(f-32)/1.8;printf("\nThe in Celsius is: %d",c);getch();}Output:Enter the temperature in Fahrenheit:100The in Celsius is:38/*program to compute perimeter and area of the circle*/#include#includevoid main(){int r,a,p;clrscr();printf("Enter the radius of the circle:");scanf("%d",&r);a=3.14*r*r;p=3.14*2*r;printf("\nThe area of the circle is:%d\nThe perimeter of the circle is:%d",a,p);getch();}Output:Enter the radius of the circle:7The area of the circle is:154The perimeter of the circle is:44/*Swapping*/#include#includevoid main(){int a,b,c;clrscr();printf("Enter two numbers:");scanf("%d%d",&a,&b);printf("Two numbers before swapping a=%d, b=%d\n",a,b);c=a;a=b;b=c;printf("Two numb

Review from student

Studypool Student
" excellent work as always thanks for the help "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1825 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors