Introduction to Computers Programming (ICP-132)

Main Page

Assignment 01
Assignment 02
Assignment 03
Assignment 04
Assignment 05
Assignment 06
Assignment 07
Assignment 08
Assignment 09
Assignment 10
Assignment 11
Assignment 12
Assignment 13

Coding rules (pdf)
Sample code
Prob: Set 1
Prob: Set 2
Compiler options
Submission

Forum
Teaching Assistants
Links
Trivia

Assignment 10

Construct a class 'B' that has members p, q and and a method r. The function should have a method that prints the sum of p and q. r gives that number of times the class is operated for the sum and should be tamper-free from the rest of the code for this purpose.


PS: The program should be coded in C++.