0% found this document useful (0 votes)
5 views1 page

Basic C Programs

The document outlines a series of tasks to be implemented in a C program, including basic operations, mathematical calculations, and control structures. It covers a variety of functions such as finding the area of a circle, checking for even/odd numbers, determining palindromes, and generating Fibonacci series. Additionally, it includes tasks for manipulating characters and displaying patterns using loops.

Uploaded by

Shrusti Moon
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)
5 views1 page

Basic C Programs

The document outlines a series of tasks to be implemented in a C program, including basic operations, mathematical calculations, and control structures. It covers a variety of functions such as finding the area of a circle, checking for even/odd numbers, determining palindromes, and generating Fibonacci series. Additionally, it includes tasks for manipulating characters and displaying patterns using loops.

Uploaded by

Shrusti Moon
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/ 1

Write C program

1. To print hello world.


2. Use of basic operators(+ ,-, *, / , %) and data types
3. To find area of circle
4. To find square root of number.
5. To find given number is even or odd
6. To check given number is palindrome or not.
7. To find largest number among 2 numbers and three number
8. Display sum of first 10 no.s
9. To find given number is prime or not
10. To find prime numbers from 0 to 100, print them and also calculate how many prime
numbers from 0 to 100.
11. To find factorial of given number
12. To Find Number of Digits in a Number.
13. To find reverse of 5 digit number.
14. To swap two numbers without using any temporary variable.
15. Generate Fibonacci series as 0,1,1,2,3,5,8,13,21.......
16. To convert upper case to lower case as well as lower case to upper case.
17. Any program using switch case.
18. Write a C program to print half pyramid as using number as shown below.
1
12
123
1234
12345
1
23
456
7 8 9 10

A
B C
D E F
G H I J
K L M N O

*
***
*****
*******

You might also like