Skip to content

Instantly share code, notes, and snippets.

@amirul12
Created September 23, 2016 17:52
Show Gist options
  • Save amirul12/6cb04d2af7c6730100abd762ddee8458 to your computer and use it in GitHub Desktop.
Save amirul12/6cb04d2af7c6730100abd762ddee8458 to your computer and use it in GitHub Desktop.
দুটি সংখ্যার মধ্যে বড় সংখ্যা নির্ণয়ের জন্য কন্ডিশন অপারেটর ব্যবহার করে সি প্রোগ্রাম
#include <stdio.h>
#include <conio.h>
main( )
{
int a,b,ans;
printf("Enter a number: ");
scanf("%d",&a);
printf("Enter another number: ");
scanf("%d",&b);
ans=(a>b)?a:b;
printf("Maximum number:%d",ans);
getch();
}
@masuk452
Copy link

masuk452 commented Apr 4, 2023

10
20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment