0% found this document useful (0 votes)
6 views2 pages

Malpractice

its a malpractice

Uploaded by

mukilan7605
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Malpractice

its a malpractice

Uploaded by

mukilan7605
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

C PROGRAMS :

Q1) To find volume.

Q2) To find area.

Q3) To find area of a circle.

Q4) To print every alphabet.

Q5) To print pattern.

Q6) To print pattern in order.

Q7) To print pattern for alphabet.

Q8) To print pattern for ‘*’.

Q9) Average of student marks.

Q10) Sorting elements in array (using 2 loops).

Q11) Sorting elements in array (using 1 loop).

Q12) Shifting the numbers.

Q13) Equilibrium index of an array.

Q14) Program to get rand numbers in sequence.

Q15) Print random alphabets using rand() & srand() to get different alphabets each time.

Q16) Print random alphabets using rand() & srand() to get different alphabets in SEQUENCE.

Q17) Divisibility test for the given numbers.

Q18) To find Even or Odd number in an array.

Q19) To find the unique element in the given numbers.

Q20) To print and transpose a matrix.

Q21) To find the Sum of diagonal elements in an Matrix.

Q22) To display the matrix spiral.

Q23) To display the matrix spiral (method 2 (with 4 for loops)).

Q24) To display whether the entered number is TOEPILTZ MATRIX or not.

Q25) To print cricket players name with their runs with using structure.

Q26) To Print the bank details of the person using Structure.

Q) Program to print the Z-Matrix.

Q Multiplying elements in a matrix with a scalar.

Q) Scanning and printing elements in a 2d Array in an Matrix.


Q) Sorting using for loop.

Q) Searching for an element in an array and also display its index.

Q) Code to find if any element in a number repeats itself.

Q) Array assignment during run time.

Q) Assignment into arrays.

Q) Printing pattern using for loop.

Q) Printing pattern using while loop.

Q) TO find sum of first N natural numbers.

C++ Programs:
Q27) To find Prime number or not.

Q28) C++ Program to swap two numbers using Pass by pointer.

Q29) C++ Program to swap two numbers using Pass by reference.

Q30) To Calculate Area and Volume of a Room in C++ using Class name as Room.

Q31) To Calculate Area of the Rectangle in C++ using Class name as Rectangle.

Q32) C++ program to convert binary number to decimal number using class.

Q33) C++ convert a string to uppercase string using Class.

Q34) To find BMI with Kilograms and Height.

Q35) Program to count the object number that has been called.

Q36) Prints “Mammal and other sentences” using multi-Inheritance.

Q37) Calculate the child pocket money that child got from father and mother and print the total
using multi inheritance.

Q38) Operator Overloading using Binary Operator:

Compare two numbers and find which number is lesser than the other number using Operator
overloading by binary operator.

Q39) Operator Overloading in unary operators to find Area of Rectangle.

Q40) Exception handling.


Q41) Merge two number sequence using Friend Class and Function in C++.
Q42) Sum of Two numbers using inline Function.

You might also like