answersLogoWhite

0


Best Answer

step 1:Scan no step 2:check condition if(no<50) If yes than no is less than 50 step 3:if no than else if(no>50) IF true than no >50 step 4:if false than no=50

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the algorithm that reads number from user in range 1-100 Then checks whether the number is greater than less than or equal to 50?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write an algorithm to check whether a number is a prime number or not?

You can write out this algorithm. This will then be programmed into the device to make determining prime numbers easier.


What happens to the product when you multiply a whole number by a number greater than one?

You get another number whose magnitude will be greater than the original number. Whether it is bigger or smaller will depend on whether the whole number was positive or negative.


Write an algorithm to check whether the given number is odd or even?

Type your answer here... i think we should first enter 1 number then check it


How can you tell whether the percent of a number will be greater than less than or equal to the number?

100% equals the number. Less than 100% is less than the number. Greater than 100% is greater than the number.


How does keygens work?

Serial numbers for computer software have a specific pattern, which allows the installer or application to detect whether or not it is a legit key. A very simple example would be that every serial number has exactly three occurances of the number 5 in it - so 1932-1253-2319-5512 would be a working serial number. In a real-life scenario the relationships between the numbers would of course be more complicated. The shipped software contains an algorithm that checks whether or not a serial is valid. The software creator has a piece of software that allows him to create serial numbers for the product. To create a keygen, a cracker group (people specialized in breaking copy protection schemes) analyze the program executable to find the part that checks the serial. They then reconstruct the algorithm to create the serials based on the checking code. The finished keygen is an app applying the algorithm to create a serial number. Sometimes keygens do not really contain the algorithm, but rather a list of valid serial numbers, of which one is selected at random. The keygen for Windows xp in the later service packs was more complicated, because Microsoft checked not only whether a key was valid, but also whether it had been sold with a copy and was not already in use on another computer. The keygen sent mass requests to the Microsoft server to check whether or not it was a working key.


How do mathematicians determine whether or not really large numbers are prime?

A primality test is an algorithm for determining whether an input number is prime, but I'm willing to bet that a lot of mathematicians type "prime number calculator" into their web browsers.


How can you tell whether the sum of two fractions with a common denominator is greater than one?

A fraction is greater than one if the the top number (numerator) is greater than the lower number (denominator).


Is there an algorithm that yields only prime numbers?

What exactly do you mean "yields only prime numbers"? If you mean a formula that when given the numbers n=1, 2, 3, ... and so on generates the nth prime number (or a different prime number for each n) then no. If you mean an algorithm whereby a number can be tested to be a prime number then yes. (Using this prime_test algorithm, a simple algorithm can be written that would supply numbers one at a time to it and use its result to decide whether to yield the tested number or not, only yielding those numbers which pass the test.)


What are steps of algorithm?

the number of steps of an algorithm will be countable and finite.


Algorithm to convert a number representing radix r1 to r2?

algorithm to convert a number representing radix r1 to radix r2


What is greater a negative or a fraction?

Since fractions can also be negative numbers, we cannot necessarily say whether a negative number or a fraction is greater, however, any positive fraction is greater than any negative number.


When a number is written in scientific notation how can you tell whether or not it is equal to or greater then 1?

If the exponent is not negative, then a number written in scientific notation is greater than or equal to 1.