Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Department of Computer Science and Information Technology

Cotton University, Guwahati-01

Assignments for HS Second Year Students, 2021

List of Assignments on C++ Programming Languages

1. WAP to find the sum of the digits of a positive integer.


2. WAP to generate first n terms of the Fibonacci Series.
3. WAP to find the factorial of a positive number.
4. WAP to generate all the Prime numbers between 1 and N.
5. WAP to find the number of Vowels and Consonants present in a sentence.
6. WAP to convert a Decimal number into Binary and Octal numbers using Function.
7. WAP to find the multiplication of two matrices.
8. WAP to find the percentage of marks in HS Final Examination of a Science student
using Structure.
9. WAP to show the use of Constructor and Destructor.
10. WAP to show the use of the following
a. Single Inheritance
b. Multiple Inheritance
c. Multilevel Inheritance

You might also like