DEPARTMENT OF EDUCATIONAL TECHNOLOGY
AND ENGINEERING
Course Code : ICT 4153
Course Title : Introduction to Programming
Assignment on : Problems and Their Solve Using C Programming
Submitted To: Submitted By:
Rubel Sheikh Md. Abrar Hossain
Lecturer ID no: 1902019
Department of EdTE
BDU
Date of Submission: 15th December, 2024
1. Convert a Person’s Name in Abbreviated
Answer:
2. Area and Circumference of a Circle
Answer:
3. Print Ascii Value of the Character
Answer:
4. Converting Temperature Celsius into Fahrenheit
Answer:
5. Factorial of a Given Number
Answer:
6. Character Is Vowel or Consonant
Answer:
7. Voting Eligibility Checker
Answer:
8. Leap Year or not
Answer:
9. Uppercase, Lowercase, Special Character, or Digit
Answer:
10. Check whether a number is divisible by 5 and 11 or not.
Answer:
11. Input Angles of a Triangle and Check Whether the Triangle is Valid or Not
Answer:
12. Find whether a number is even or odd.
Answer:
13. Calculate Profit or Loss
Answer:
14. Reverse A given Number
Answer:
15. Display Fibonacci Series
Answer:
16. Print A Calendar Taking Input From User Using Loop
Answer:
17. Count Number of Digits of an Integer
Answer:
18. Generate IP (Internet Protocol) Addresses Using For Loop
Answer:
19. Print Multiplication Table Using For Loop
Answer:
20. Find a Grade of Given Marks Using Switch Case
Answer:
21. Find Radius, Circumference and Volume of Cylinder Using Switch Case
Answer:
22. Remove All Vowels From A String Using Switch Case
Answer:
23. Calculator
Answer:
24. Remove Duplicates Items In An Array
Answer
25. Convert All Input String Simultaneously Into Asterisk ( * )
Answer:
26. Find a maximum and minimum element in an array – using recursion
Answer:
27. Count the total number of even and odd elements in an array.
Answer:
28. Count frequency of each element in an array.
Answer:
29. Merge two arrays to the third array.
Answer:
30.
Answer:
31. Subtract two matrices.
Answer:
32. Multiply two matrices
Answer:
33. The transpose of a matrix
Answer:
34. Find the length of a string.
Answer:
35. Convert lowercase string to uppercase.
Answer:
36. Find a total number of alphabets, digits or special character in a string.
Answer:
37. Find the highest frequency character in a string.
Answer:
38. Remove all extra blank spaces from the given string.
Answer:
39. Cube of any number using the function.
Answer:
40. Find diameter, circumference and area of a circle using functions.
Answer:
41. Find all prime numbers between the given interval using functions.
Answer:
42. Sum of all natural numbers between 1 to n using recursion.
Answer:
43. Find reverse of any number using recursion.
Answer:
44. Check whether a number is a palindrome or not using recursion.
Answer
45. Generate nth Fibonacci term using recursion.
Answer:
46. Find gcd (HCF) of two numbers using recursion.
Answer:
47. Create a file and write contents, save and close the file.
Answer:
48. Append content to a file.
Answer:
49. Count characters, words and lines in a text file.
Answer:
50. Add two numbers using pointers.
Answer:
51. Swap two arrays using pointers.
Answer:
52. Find the length of the string using pointers
Answer:
53. Concatenate two strings using pointers.
Answer:
54. Concatenate two strings using pointers.
Answer:
55. Find the reverse of a string using pointers.
Answer:
56. Bubble Sort in C
Answer:
57. Bucket or Radix Sort in C
Answer:
58. Heap Sort in C
Answer:
59. Selection Sort in C
Answer:
60. Binary Search in C
Answer:
61. Recursive Binary Search in C
Answer:
62. Sum of two numbers without using any operator
Answer:
63. Modify/add only one character and print ‘*’ exactly 20 times
Answer:
64. Sum the digits of a given number in a single statement
Answer:
65. Insertion Sort in C
Answer:
66. Number Is Divisible By 11 Using (VEDIC MATH)
Answer:
67. Sort A Float Array In Ascending And Descending Order Using loop
Answer:
68. Find roots of a quadratic equation using switch case
Answer:
69. Delete Element From Array At Desired Or Specific Position
Answer:
70. Add two numbers using pointers.
Answer:
71. Input and print array elements using a pointer.
Answer:
72. Swap two arrays using pointers.
Answer:
73. Find the length of the string using pointers
Answer:
74. Concatenate two strings using pointers.
Answer:
75. Access two-dimensional array using pointers.
Answer:
76. Find the reverse of a string using pointers.
Answer:
THE END