Sections

Description:

If the number of seats allowed to a particular branch in engineering exceeds 60, then where will be multiple sections in that branch. Given the number of seats allotted to a branch write a C program to determine whether there will be a single section or multiple sections Input Format: Input consists of 1 integer which corresponds to the number of seats allotted to a branch Output format: Output consists of string "Single Sections" or "Multiple Section" Refer sample input and output for further formatting specifications Test Case 1 Input (stdin) 61 Expected Output Multiple Sections Test Case 2 Input (stdin) 60 Expected Output Single Section

Program :

  • #include<stdio.h>
    int main()
    {
      int a;
      scanf("%d",&a);
      if(a<=60)
        printf("Single Section");
      else
      printf("Multiple Sections");

     
      return 0;
    }