There are given simple to advanced level programming is given below. If you need source code then you can download the code which is given below.
Assignment 1[DOWNLOAD]
- Program to print your name and address.
- a program that reads two nos. from key board and gives their addition, subtraction, multiplication, division and modulo.
- Write a program that swap two values.(Using third variable).
- Write a program that calculate the area and circumference of circle
- A program accept year and shows, weather is leap year or not.
- Write a program that accept three numbers from user and display maximum out of them using nested if else.
- Program that accept three subject marks from user and count the total and average of them. Also calculate and display grades on basis of percentage using else if ladder.
- Write a program that convert days into days and months.
Assignment 2[DOWNLOAD]
- Program that accept an integer from user and display whether the entered value is negative or positive until user says no. (using goto).
- Write a program to find sum of first N odd numbers.
- Write a program to display multiplication table.
- Write a program to print 1+1/2+1/3+1/4+………+1/N series.
- Write a program to find sum of all integers greater than 100 & less than 200 and are divisible by 5.
- Add, subtract and multiply two nos. using switch statement.
- w. a. p. to compute the electricity bill. The rules for electricity charges are given as follows.
Write a program for use of putchar( ) and getchar( ) function.
Program to print Patterns.
*
*
*
**
*
*
* * *
1
2 3 4 5
2
3 4 5
3
4 5
4
5
5
AAAAA
BBBB
CCC
DD
E
1
0
1
1
0 1
0
1 0 1
1
|
Write a program to print Fibonacci series. 1,1,2,3,5,……N
|
2
|
Write a program to reverse the digit.
|
3
|
Write a program to add two matrixes and multiplication of
two matrices.
|
4
|
Write a program to arrange given no of array in ascending
order.
|
5
|
W.A.P. to accept one number from user and find if it is
prime or not.
|
6
|
W.A.P to read array of integers and print it in reverse
order
|
1. Write a program to count total words
in text.
2. Write a program to implement total
no. of odd and even elements in one dimensional array and print the sum of
them.
3. Find length of string using strlen( )
function,
4. Write a program to copy one string to
another string.
5. Write a program to join two strings.
6. Write a program to remove all spaces
in the string.
7. Find given string is palindrom or not
using string library function.
Assignment-6
[DOWNLOAD]
1. Write
a function program to add first N numbers.
2. Write a function find out maximum out
of three numbers.
3. Write a function power that computes
x raised to the power y for integer x and y and returns double type value.
4. Write a program to find factorial of
a number using recursion.
5. Write a program that used user
defined function Swap ( ) and interchange the value of two variable.
6. Write a function prime that return 1
if it‘s argument is prime and return 0 otherwise.
7. Write a calculator
program(add,subtract,multiply,divide). Prepare user defined function for each
functionality.
Assignment-7
[DOWNLOAD]
1. Define a structure type, person, that would contain person name, date of
joining and salary. Using this structure, write a program to read this
information for one person from the key board and print the same on the screen.
2.
Define a structure called cricket that will describe the following
information:
a. Player name
b. Team name
c. Batting average
b. Team name
c. Batting average
3.
Write a function to enter rollno, marks of the three subject for 3
student and find total obtained by each student.
Assignment
- 8
[DOWNLOAD]
1.
Write a program using pointer and function to determine the length of
string.
2.
Write a program using pointer to compare two strings.
3.
Write a program using pointer to concate two strings.
4.
Write a program using pointer to copy one string to another string.
Assignment
- 9
[DOWNLOAD]
1. Write
a program that uses a table of integers whose size will be specified
interactively at run time.
2. Write a program to store a character string in block of memory space
created by malloc and then modify the same to store a large string.
Assignment-10
[DOWNLOAD]
1.
A program to illustrate reading files contents.
2.
A program to
illustrate the use of fgets( ).
3.
A program to illustrate the use of fputs().