0% found this document useful (0 votes)
45 views2 pages

Screenshot 2024-03-04 at 2.45.28 PM

The document contains a list of programming tasks to be implemented in C. These tasks include basic operations like interchanging values, calculating areas, and determining even/odd numbers, as well as more complex operations involving arrays, structures, and string manipulations. It also covers control structures such as loops and conditional statements.

Uploaded by

khotatharv85
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views2 pages

Screenshot 2024-03-04 at 2.45.28 PM

The document contains a list of programming tasks to be implemented in C. These tasks include basic operations like interchanging values, calculating areas, and determining even/odd numbers, as well as more complex operations involving arrays, structures, and string manipulations. It also covers control structures such as loops and conditional statements.

Uploaded by

khotatharv85
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Write a C program to interchange the values of a & b.

Input
the values of a & b from keyboard.
2. Write a C program to calculate area of circle.
3. Write a program to print square of given number.
4. Write a C program to add two integer numbers.
5. Write a C program to calculate sum of a five-digit
number(Use the modulus operator '%').
6. Write a program to display whether given number is even
or odd using conditional operators.
7. Write a program to print biggest number between two
numbers using conditional operators.
8. Write a program accept marks of 5 subjects calculate the
percentage and display grade of students from percentage.
(Grade Distinction, first class, second class, pass class, fail).
9. Write a program to find whether given number is even and
divisible by 5 or not.
10. Write a C program to determine whether a given leap year or
not.
11. Write a C program to determine whether a string is
palindrome.
12. Write a C program to print day of the week by taking
number from 1 to 7 using switch statement.
13. Display the season- Summer, Winter, Rain for given month
of year{Jan,Feb,--------,Dec}.
14. Write a C program to print English calendar months as per
using switch statements.(e.g if input is 4 then print "April").
15. Find the sum of digits of a given number using do-while
loop.
16. Write a program to reverse number of given number print
using While loop.
17. Write a C program to print numbers from 1 to 100.
18. Write a C program to print the tables of 5 up to 10
19. Write a program to produce following output.
1
2 3
4 5 6
7 8 9 10
20. Write a C program to produce following output.
*
* *
* * *
* * * *
21. Write a C program to input 5 numbers using array and
display sum of it.
22. Write a program to calculate addition of 3 X 3 matrix.
23. Write a program to calculate the length of the given string
without using standard string functions.
24. Write a program to print reverse of the given string
without using standard string functions.
25. Write output to accept and display information of 10
employee using array of structure.
26.Develop a program to demonstrate : Use of all String
handling functions.
27. Use of few Mathematical functions.
28. Write a program to find factorial of given number using
recursive functions 42. Write a program to print values of
variables and their addresses using pointers.
29.Develop a program to perform increment/decrement
operations on pointers.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy