Step 1. StartStep 2. Input the value of radius R.
Step 3. Let PI=3.14.
Step 4. Calculate the circumference=2*PI*R.
Step 5. Display/Print the circumference.
Step 6. Stop
Oh, what a lovely question! To compute the sum of the squares of N numbers, you can create a simple algorithm. Start by initializing a variable to hold the sum, then loop through each number, square it, and add it to the sum. Once you've done this for all N numbers, you'll have the sum of their squares. Just like painting a happy little tree, take your time and enjoy the process.
write an algorithm to compute the weekly average rainfall given the daily rainfall for four weeks
Here is the algorithm of the algorithm to write an algorithm to access a pointer in a variable. Algorithmically.name_of_the_structure dot name_of_the _field,eg:mystruct.pointerfield
a write the algorithm to concatenate two given string
dfgbrgffee
PoTang Ina Ni CLARK CORTEZ
Oh, what a lovely question! To compute the sum of the squares of N numbers, you can create a simple algorithm. Start by initializing a variable to hold the sum, then loop through each number, square it, and add it to the sum. Once you've done this for all N numbers, you'll have the sum of their squares. Just like painting a happy little tree, take your time and enjoy the process.
10001/999900
{A program to compute the area of a triangle} {by Ogboin W. Meshach} Var; b,h:real; BEGIN Writeln('Triangle'); Write('Base: '); Readln(base); Write('Height: '); Readln(height); area:=0.5*base*height; Writeln('Area: ', area :0:2); End.
write an algorithm to compute the weekly average rainfall given the daily rainfall for four weeks
Here is the algorithm of the algorithm to write an algorithm to access a pointer in a variable. Algorithmically.name_of_the_structure dot name_of_the _field,eg:mystruct.pointerfield
Write an algorithm to find the root of quadratic equation
1. Start 2. Input the the value of radius R 3. Let PI=3.14 4. Calculate area=PI*R*R 5. Print area 6.End
a write the algorithm to concatenate two given string
Well, isn't that just a happy little question! To find the perimeter of a circle, you can use the formula P = 2 * π * r, where P is the perimeter and r is the radius of the circle. Just plug in the radius value into the formula and you'll have your perimeter ready to go. Remember, there are no mistakes in algorithm-writing, just happy little accidents waiting to be fixed!
First, you have to write this down:you get a computer, Erase the R.and you have to get tensthen get a ion.And there you have it, Compute Tension
You don't write an algorithm for a C++ program, unless you are documenting the C++ program after-the-fact. The normal procedure is to write the algorithm first, in a language independent fashion, and then translate that stated algorithm into C++ code, or into whatever language you wish.