test
This commit is contained in:
parent
37776af5db
commit
ab03d5f10c
4045 changed files with 286212 additions and 3 deletions
30
.config/Code/User/History/-50ff426c/ap8G.cpp
Normal file
30
.config/Code/User/History/-50ff426c/ap8G.cpp
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
Rafay Ahmad
|
||||
23I-2526
|
||||
*/
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
void print(char c, int i){
|
||||
if(i>=0){
|
||||
cout<<c;
|
||||
print(c, i-1);
|
||||
}
|
||||
}
|
||||
void helper(int i){
|
||||
|
||||
}
|
||||
void pattern(int n){
|
||||
if(n>0){
|
||||
print('*', n);
|
||||
cout<<endl;
|
||||
pattern(n-1);
|
||||
}
|
||||
}
|
||||
|
||||
int main(){
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue