Programming in Modern C++
Due on 2022-02-10, 23:59 IST
---------------------------------------------
Week 2 : Programming Assignment 1
---------------------------------------------
int test(int n){ //LINE-1
return (n-1); //LINE-2
--------------------------------------------
Week 2 : Programming Assignment 2
--------------------------------------------
#define CUBE(X) ((X)*(X)) //LINE-1
--------------------------------------------
Week 2 : Programming Assignment 3
--------------------------------------------
complex operator* (struct complex& c1, struct complex& c2){ //LINE-1
struct complex c = c1*c2; //LINE-2
----------------The End---------------------
No comments:
Post a Comment
Keep your comments reader friendly. Be civil and respectful. No self-promotion or spam. Stick to the topic. Questions welcome.