Jump to content

Array program needed

- - - - -

  • Please log in to reply
2 replies to this topic

#1
harshareddy75

harshareddy75

    Newbie

  • Members
  • PipPip
  • 20 posts
Hi guys,

I actually need a program which has arrays (int preferable but no char of strings), loops (nested also) and if conditions and the program has to be 2-4 pages long. Can anybody point me to the right direction. I realize that this is not strictly a programming problem. Apologies for that.

Regards,
Harsha

#2
witheredOldMale

witheredOldMale

    Newbie

  • Members
  • Pip
  • 7 posts
Sure, have one if condition 1 page long, with just a big multi-line comment inside it. Next page has two nested for loops, with just a big multi-line comment inside it. In the comments, write an erotic story you fantasie about, or copy one from literotica.com. Ofcourse decalre an unused array variable with a vulgar name.
What else do you deserve as an answer?

Edited by witheredOldMale, 03 March 2011 - 10:10 AM.


#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Programs are not defined in terms of "pages". That's a function of the font and paper size when you print them. Have you searched for any code at all? Most tutorials will have code that meets those criteria.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users