r/code • u/Oldmanprop • Jan 20 '23
Help Please I'm not a Coder, I need help.
I'm a Graphic Designer. My wife manages a department with two coders who are retiring and she's asked me to make a poster for them. I thought it'd be fun to add a code snippet that would output "Enjoy your Retirement."
Problem is, though, I don't know any code at all. Would someone help me with that?
Thanks!
4
2
Jan 20 '23
Hey,First of Here are your possibilitys:
-batch : { @echo Off Echo Herecomesyourtext }
-cpp (you need a Compiler for that) {
include <iostream>
using namespace Std; Int main() { Cout<<"your Text comes Here"; System("Pause"); Return 0; } }
Mayer Python ist your way to but idk how to do that, becouse its so stupidly easy
1
u/scrambledegg33 Jan 20 '23
You could put: console.log(“Enjoy your Retirement.”); On the t shirt, this is code that if you ran it in a JavaScript file it would print your message to the console.
6
u/aizzod Jan 20 '23
hello world is kind of the first tutorial for every programmer.
maybe something like hello retirement for them
would look like the first picture on this page.
https://www.programiz.com/c-programming/examples/print-sentence