October 3, 2014

## Real Sequences – Applied Mathematics I

Course Details Field of Study: Applied Mathematics Course Name: Applied Mathematics I Course Description: Real Sequences – Applied Mathematics I

Skip to content
#
Hameroha.com

##
Real Sequences – Applied Mathematics I

##
C Programming for Fare Calculation

##
C Programming code to calculate area of a circle

##
C program to find sum and average of two numbers

Ethiopian Social Network

October 3, 2014

Course Details Field of Study: Applied Mathematics Course Name: Applied Mathematics I Course Description: Real Sequences – Applied Mathematics I

October 1, 2014

C Programming for Fare Calculation for the following criteria For 1 to 3 km, the fare is 2 dollar fixed For >3 km, the fare is 0.5 dollar per km Algorithm Accept the number in km Check the number positive or negative If the number is negative, display error massage as km can’t be negative

October 1, 2014

C Programming code to calculate area of a circle by defining pi as 3.1415 Algorithm Define pi as 3.1415 since pi is not a predefined constant in C Accept the radius of the circle Calculate the area of the circle Display the output Code #include<stdio.h> #include<conio.h> #define pi 3.1415 void main() { clrscr(); int r;

October 1, 2014

C program to find sum and average of two numbers with repeating the calculation as log as the user wants to calculate any number of calculation. Algorithm Accept the first number Accept the second number Calculate sum and average Ask the user if he/she wants to compute again If yes, repeat the above steps else