Wednesday, March 18, 2020

  • Session

    Input & Ouput
  • Question ID

    1111110056 : Big
  • Problem Description

    Malu and Doss have play game.The condition to this game is both have to collect bangles from bowl one by one at a given time. Finally the judge have to decide who is the winner based on the count.
  • Logic Test Case 1

    Input (stdin)
    10
    
    5
    
    
    Expected Output
    10
  • Logic Test Case 2

    Input (stdin)
    4
    
    7
    
    
    Expected Output
    7


#include <stdio.h>
int main()
{
  int a,b;
  
  scanf("%d%d",&a,&b);
  if(a<b)
    printf("%d",b);
   else 
     printf("%d",a);
    
  

return 0;
}

No comments:

Post a Comment

cisco Cybersecurity Essentials Quiz 8 answer in bold

Question  1 Correct Mark 2.00 out of 2.00 Flag question Question text A company has had several incidents involving users downloading unauth...