Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#include
using namespace std; void lay(int height, int width, int length, int depth ); void brick(int height, int width); void head(); int main(){ int width=1; int height=1; int length=1; int depth=1; //just make bricks red in strig output, and stoke width 1 for now cout << " input brick width " ; cin >> width; cout << "\n input brick height "; cin >> height; cout << "\n input how many bricks long "; cin >> length; cout << " input depth of bricks "; cin >> depth; head(); lay( height, width, length, depth); //output da bricks return 0; } void head(){ cout << "\n"; cout << "
\n"; } void lay(int height, int width, int length, int depth ){ float halfBrick = width/2; //x+=x for n length //y+=y for n depth //for every other line, insert off int x=0; int y=0; /* *
// end rectangle * */ for(;x
"<< endl; //end rectangle } cout << "
" << endl; //end svg }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)