an algorithm to find greatest of two numbers
Share
an algorithm to find greatest of two numbers
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
When the first number is input, set the variable “largest” equal to that number. As the next two numbers are input, check to see if the number that was input is greater than the variable stored in “largest”. If the number that was input is greater, then largest is set equal to the number that
HOPE IT HELPS YOU MATE