Monday, July 7, 2025

U25CCPY2 - PROGRAMMING IN C AND C++ LAB

  


Semester – i

Allied II

PROGRAMMING IN C

AND C++

 

Course Code: U25CCPY2

Hours: 5

Credits: 4


Simple Programs: 

List of Programs

  1.  Write a C program to find the roots of the given Quadratic equation.
  2.  Write a C Program to find the sum of individual digits of a positive integer.
  3.  Write a C program to generate the n Fibonacci numbers
  4.   Write a C program to arrange the elements of an integer array in sorted order.
  5. Write a C program to check whether the given string is palindrome or not without using Library functions.
  6. Write a C program to count the number of lines, words and characters in a given text. 
  7. Write a C program to generate Prime numbers in a given range using user defined function. 
  8. Write a C program to find factorial of the given number using recursive function. 
  9. Write a C++ program to accept and display the details of a student using class. 
  10. Write a C++ program to calculate the area of rectangle, square and circle using class. 
  11. Write a C++ program to demonstrate the usage of constructor and destructor in a class. 
  12. Write a C++ program to demonstrate inline and friend function in a class. 
  13. Write a C++ program to demonstrate simple inheritance
  14. Write a C++ program to demonstrate the function overloading. 
  15. Implement polymorphism in C++ program
  16. Write a C++ program read and write a file.

 

No comments:

Post a Comment

INTERNET OF THINGS

  Core XII: INTERNET OF THINGS SEMESTER: IV                                  CODE: P25CA412 UNIT- I  Introduction to Internet of Things:  In...