Assignments [ Assignment 4 ] - C Programming

 Assignment - 4

-------------------

  1. Write a program to print your name 10 times.
  2. Write a program to print the values from 1 to 10
  3. Write a program to print the values from 20 to 60
  4. Write a program to print the values from 80 to 60
  5. Write a program to print all even values from 1 to 20
  6. Input last limit and print all the numbers between 1 to that limit
  7. Input first and last limits and print all the numbers between the limits
  8. Input the first and last limits and print all the even numbers between those limits
  9. Input first and last limits and print all the numbers between those limits which are divisible by 2 but not divisible by 3
  10. Write a program to find the sum of all the numbers between 1 to 10
  11. Write a program to find the sum of only even values between 1 to 10
  12. Write a program to find the difference between the sums of even and odd values between 1 to 10
  13. Input two limits and find the sum of all those numbers which are divisible by 2



Comments