to find area and perimeter of a rectangle
Placing a question mark at the end of a statement does not make it a sensible question. Try to use a whole sentence to describe what it is that you want answered.Yes, it is possible to input a number and find whether it is positive or negative. Yes, it is possible to write an algorithm to do that. But what is it that you want?
I shared out 48 apples between a number of student(s) so that each got the same number of apples. How many student(s) were there?
How do you write 250% as a mixed number
How do you write 0.259 as a mixed number.
You can write out this algorithm. This will then be programmed into the device to make determining prime numbers easier.
1.Start Algorithm 2.Enter first number 3.Enter second number 4.Enter third number 5.Enter fourth number 6.Enter fifth number 7.Add five number 8.display five number / 2 9.Display result 10.End Algorithm
Type your answer here... i think we should first enter 1 number then check it
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.
Yes. But why?
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
flow chart to swap two number
By preparing test cases we can test an algorithm. The algorithm is tested with each test case.
a write the algorithm to concatenate two given string
The first step you should take when creating a program is to write an algorithm for it. An algorithm is a programming tool that offers a step by step solution to a programming problem.
The following algorithm works for any number of integers: Assume the first number is the maximum - maximum = (first number). Compare your assumed maximum with the second number. If the second number is larger than the assumed maximum, replace the old assumed maximum with the second number. Repeat for the third number, for the fourth, etc. - always copying the nth. element to the assumed maximum if you find one that is larger than your previous maximum.