[ home | files | links | topics | stickers | about ]



Todays Stats

Visitors: 139
Referrers: 9
User Agents: 56
Pages Served: 454
 
Total Pages
Served:

4732357


Search


Programming Challenge 2
programming : by Tommy - February 23rd 2011, 10:16PM
programming
Ok programmers and code monkeys, it's time for Programming Challenge 2. Nothing overly complicated this time. I was just messing around and thought you'd like this quick little brain teaser.
It's a "just for fun" challenge. Choose your favorite language for this one. Here it goes:

Part A: Display/print a vertical sin wave using * characters.
Part B: Display same sin wave horizontally using * characters.

Part A should get you going in the right direction (esp. if you've never played with the sin functions in your language), but Part B is a bit more tricky. No graphics libraries, cheater.

Post source in comments (must be logged in to comment).

Winner to receive 1 small shot of self satisfaction of completing trivial problem through useless challenge on obscure blog.

tags: programming sin_wave

( Comments : 4 | Full article )

 

-+- neodux blog -+-
Page generated for 54.167.245.235 in 0.01492 seconds.
rss 2.0 feed