Tuesday 17 December 2019

IBM off campus drive December 2019 coding programs

1. Sum of arithmetic progression numbers. Eg: 1+2+3+4+5 =15
2. Print number in reverse binary. Eg: Decimal =9      Binary= 1001
3. Convert number to Roman numerals.
          Eg:     Symbol         I      V        X        L
                     Value            1      5        10       50
4. Area of an ellipse.
5. Print the pyramid.
              *
           * * *
       * *  *  * *
6. Time taken to start a job , first come first serve(FCFS)

No comments:

Post a Comment