Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A collection of solved C++ programming exercises for students studying computer science. Each exercise focuses on key programming concepts, problem-solving, and demonstrating the output when program is executed. 1. Search an Integer: Develop a C++ program to search for a specific integer within a list. 2. Counting Sales: Create a program to count the number of sales made by a salesman. 3. Grading Students based on Marks: Implement a program that accepts the marks of different subjects entered by the user and calculates the grade for each student based on defined criteria. 4. Matrix Equality Check: Write a program that takes the number of rows and columns as input, followed by the elements of two matrices, and determines whether the matrices are equal. 5. Transpose of a Matrix: Design a program to compute the transpose of a matrix. 6. Diagonal Elements of Matrix: Develop a program that accepts elements of a matrix as input and outputs only the left and right diagonal elements.
Typology: Exercises
1 / 13