test
This commit is contained in:
parent
37776af5db
commit
ab03d5f10c
4045 changed files with 286212 additions and 3 deletions
22
.config/Code/User/History/17d3e36f/Du76.cpp
Normal file
22
.config/Code/User/History/17d3e36f/Du76.cpp
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
Rafay Ahmad
|
||||
23I-2526
|
||||
*/
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
class BasicShape{
|
||||
double area;
|
||||
public:
|
||||
double getArea(){
|
||||
return area;
|
||||
}
|
||||
virtual void calcArea() = 0;
|
||||
};
|
||||
|
||||
int main(){
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue