Skip to content

Comments

max two number algo#1739

Closed
hafizapatel04-bit wants to merge 1 commit intoleachim6:mainfrom
hafizapatel04-bit:add-max-of-two
Closed

max two number algo#1739
hafizapatel04-bit wants to merge 1 commit intoleachim6:mainfrom
hafizapatel04-bit:add-max-of-two

Conversation

@hafizapatel04-bit
Copy link

/*

  • Algorithm: Find Maximum of Two Numbers

  • This simple C++ program defines a function findMax that takes two integers
  • and returns the greater of the two using a conditional (ternary) operator.
  • The program then accepts two numbers from the user and displays the larger one.
  • Example:
  • Input: 10 25
  • Output: Maximum is: 25
  • This implementation demonstrates:
    • Use of conditional operator
    • Function creation and function calling
    • Standard input/output handling in C++
      */

@hafizapatel04-bit
Copy link
Author

Hi! Just checking — could you please merge this PR if it looks good? Hacktoberfest ends soon. Thanks!

@onion108
Copy link

I don't think this pr is related to the project...

@Baburao2342
Copy link

You got the wrong project mate

@hafizapatel04-bit
Copy link
Author

hafizapatel04-bit commented Nov 5, 2025 via email

@Richienb Richienb closed this Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants