C PROGRAM ASSIGNMENT
BATCH 48 AND 49
Assign Date: 04.07.2023(TUESDAY)
Due Date: 09.07.2023 (SUNDAY)
Problem to be done:
1. Write a C program to find simple interest.
2. Write a C program to display student name, rollno, total and average of 5
marks for a student using scanf() and printf().
3. Write a C program using arithmetic operator for a calculator operation.
4. Write a C program to find biggest of three numbers using nested if concept.
5. Write a C program to reverse a number using while loop.
6. Write a C program to determine odd or even number from 20 to 50
numbers using for loop.
7. Write a C program for calculator using switch case.
8. Write a C program to accept 5 numbers and print whether the number is odd
or even using array concept.
9. Write a C program for string concatenate and string copy.
string concatenate: string1: C string2: Programming
output: C Programming
string copy: string1: C string2: Programming
output: Programming
10. Write a C program to find whether the string is palindrome or not.
11. Write a C program for multiplication table of 5 using function with
arguments and with return type.
12. Write a C program for swapping of two numbers (using temp variable) using
pointer concept.
13. Write a C program to print student grade using structure.
14. Write a C program to print employee details using union
15. Write a C program to print your name using file operation.