Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
c++ mouse
/* **samuel ugochukwu nwutobo **sammycageagle@gmail.com */ #include <iostream> using namespace std; const int height = 10; const int width = 10; void draw(); int x; int y; int main() { cin>>x>>y; draw(); } void draw() { for(int i =0; i <height ;i++) { for(int j =0; j <height ;j++) { if(j ==0 ) cout<<"¤"; if(j==x&&i==y) cout<<"*"; else cout<<" "; if(j==width-1) cout<<"¤"; } cout<<endl; } for(int i =0; i <height ;i++) cout<<"¤ "; cout<<endl; }
run
|
edit
|
history
|
help
0
Fungsi dan for
shared_ptr deleter
count pairs with given sum hashing
RegexMatch
Regression Line
decode
K edit distance
Trace
UtilityPair2
pangram