dotfiles/.config/Code/User/History/1591c2fd/WA3W.cpp

37 lines
307 B
C++
Raw Normal View History

2024-06-16 18:53:25 +05:00
/*
Rafay Ahmad
23I-2526
*/
#include <iostream>
using namespace std;
class Complex{
int real;
int img;
public:
Complex(){}
Complex(int real, int img) : real(real), img(img){}
};
int main(){
Complex c1(1, 2);
Complex c2(2, 3);
return 0;
}