Skip to content

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...

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.

2 participants