Assignments [ Assignment 4 ] - C Programming
Assignment - 4
-------------------
- Write a program to print your name 10 times.
- Write a program to print the values from 1 to 10
- Write a program to print the values from 20 to 60
- Write a program to print the values from 80 to 60
- Write a program to print all even values from 1 to 20
- Input last limit and print all the numbers between 1 to that limit
- Input first and last limits and print all the numbers between the limits
- Input the first and last limits and print all the even numbers between those limits
- Input first and last limits and print all the numbers between those limits which are divisible by 2 but not divisible by 3
- Write a program to find the sum of all the numbers between 1 to 10
- Write a program to find the sum of only even values between 1 to 10
- Write a program to find the difference between the sums of even and odd values between 1 to 10
- Input two limits and find the sum of all those numbers which are divisible by 2
Comments
Post a Comment