Loading...
Submission
# When Author Problem Language CPU Memory
3928 2022-01-01 10:25:51 abidhussen351 Max Number C 2 ms 1460 kb Wrong Answer - 1
Test Cases
# CPU Memory Points
1 2 ms 1460 kb 0 Wrong Answer
2 0 ms 0 kb 0 Skipped
3 0 ms 0 kb 0 Skipped
4 0 ms 0 kb 0 Skipped
5 0 ms 0 kb 0 Skipped
6 0 ms 0 kb 0 Skipped
7 0 ms 0 kb 0 Skipped
Source Code
  1. #include<stdio.h>
  2. void main()
  3. {
  4. int num1,num2,num3,n,max;
  5. printf("Enter the number of test case :");
  6. scanf("%d",&n);
  7. printf("enter three number:");
  8. scanf("%d %d %d",&num1,&num2,&num3);
  9. if(1<=n<=1000000000000000000){
  10.  
  11. if(num1>num2 && num1>num3)
  12. {
  13. printf("%d is the max number.",num1);
  14. }
  15. else if(num2>num1 && num2>num3)
  16. {
  17. printf("%d is the max number",num2);
  18. }
  19. else
  20. printf("%d is the max number.",num3);
  21. }
  22. }
  23.  
  24.