-
-
Save programmingfaster0226/3511f4cdba1a68c2c5e6dc4aa0eb696e to your computer and use it in GitHub Desktop.
proggrammingfaster.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<conio.h> | |
int main() | |
{ | |
int a,b,c; | |
int*ptra=&a,*ptrb=&b,*ptrc=&c; | |
printf("enter three values"); | |
scanf("%d%d%d",ptra,ptrb,ptrc); | |
printf("the values of a=%d\n b=%d\n c=%d\n",*ptra,*ptrb,*ptrc); | |
if((*ptra>*ptrb && *ptra>*ptrc)) | |
printf("biggest number=%d",*ptra); | |
else if((*ptrb>*ptra && *ptrb>*ptrc)) | |
printf("biggest number =%d",*ptrb); | |
else | |
printf("biggest number=%d",*ptrc); | |
getch(); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment