GithubHelp home page GithubHelp logo

rajkishorbgp / programming-principle-algorithm-bca-107-sem-i Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 13 KB

Submitted By: Raj Kishor (BCA – I Sem) -----> Submitted To: Mr. Manoj Kumar (Assistant Professor)

C 100.00%
practical-work-of-c-programming mit mit-college mit-college-lab-program bca rajkishorbgp

programming-principle-algorithm-bca-107-sem-i's Introduction

Lab-Program-List-BCA-I-Sem


         1. Write a c program to print “Hello World”.
         2. Write a c program to add two numbers.
         3. Write a c program to multiply two float numbers.
         4. Write a c program to perform arithmetic operation ( +, -, *, / ) on two integer number.
         5. The distance between two cities (in km.) is input through the keyboard. 
            Write a c program to convert and print this distance in meters, feet, inches and centimetres.
         6. Write a c program to calculate the area and circumference of the circle.
         7. Write a c program to interchange the value of two variables using third variable.
         8. Write a c program to interchange the value of two variables without using third variable.
         9. Write a c program to calculate simple interest.
        10. Write a c program to check whether input number is positive or negative.
        11. Write a c program to check whether input number is even or odd.
        12. Any year is input through the keyboard.
            Write a c program to determine whether the year is a leap year or not.
        13. Write a c program to find maximum of two numbers.
        14. Write a c program to find maximum of three numbers using nested if-else.
        15. Any character is entered through the keyboard,
            write a program to determine whether the character entered is a capital letter, 
            a small case letter, a digit or a special symbol.
        16. Write a c program to print table of any number.
        17. Write a c program to find the factorial value of any number entered through the keyboard.
        18. Two numbers are entered through the keyboard. 
            Write a c program to find the value of one number raised to the power of another.
        19. If a number is input through the keyboard, write a c program to calculate the sum of its digits.
        20. If a number is input through the keyboard, write a c program to reverse the number.
        21. Write a c program to calculate sum of first n numbers.
        22. Write a c program to calculate sum of given n numbers.
        23. Write a c program to determine whether a number is prime or not.
            A prime number is one, which is divisible only by 1 or itself.
        24. Write a c program to print out all Armstrong numbers between 1 and 500. 
            If sum of cubes of each digit of the number is equal to the number itself, 
            then the number is called an Armstrong number.
        25. Write a c program to determine whether a number is palindrome or not.
        26. Write a c program to find the binary equivalent of the entered number.
        27. Write a c program to add first seven terms of the following series:
            1/ 1!+2/2!+3/3!+ .............
        28. Write a c program to calculate the value of sine series.
        29. Write a c program to calculate the value of cosine series.
        30. Write a c program to find nCr factor of given number.
        31. Write a c program to print all factors of a number.
        32. Write a c program to print Fibonacci sequence. In a Fibonacci sequence the sum 
            of two successive terms gives the third term. Following are the first few terms of 
            the Fibonacci sequence: 
            0 1 1 2 3 5 8 13 21 34 55 89.....
        33. Write a c program to print following pattern:
               *
               **
               ***
               ****
               *****
       34. Write a c program to print following pattern:
               1
               2 3
               4 5 6
               7 8 9 10
      35. Write a c program to print Pascal triangle.
      36. Write a menu driven program which has following options: 
          1. Factorial of a number. 
          2. Prime or not 
          3. Odd or even 
          4. Exit 
      37. Write a c program to find GCD of two numbers.
      38. Write a c program to calculate area of circle using call by value.
      39. Write a c program for swapping two numbers using call by reference.
      40. Write a c program to calculate the factorial of a number using recursion.

programming-principle-algorithm-bca-107-sem-i's People

Contributors

rajkishorbgp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.