Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 HELP!!!!!!
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
maybe




PostPosted: Tue Jan 20, 2004 5:17 pm   Post subject: HELP!!!!!!

can someone make a person's name or their input show up on the output screen like this

---- R
--- Ry
-- Rya
-Ryan

but with the input of n e name
Sponsor
Sponsor
Sponsor
sponsor
shorthair




PostPosted: Tue Jan 20, 2004 5:39 pm   Post subject: (No subject)

MAbye if you cange your topic name il tell you how to do it Twisted Evil
Andy




PostPosted: Tue Jan 20, 2004 6:59 pm   Post subject: (No subject)

change ur name but since i'm in a good mood

code:

var input : string
get input
for i : 1 .. length (input)
    put repeat ("-", length (input) - i + 1), input (1 .. i)
end for
maybe




PostPosted: Tue Jan 20, 2004 8:42 pm   Post subject: (No subject)

thankx, but i need one more thing, wat code do i put to center the output??? for any length name
AsianSensation




PostPosted: Tue Jan 20, 2004 8:48 pm   Post subject: (No subject)

code:
var word := "AsianSensation"
locate ((maxcrow - 1) div 2, (maxcol - length (word)) div 2)
put word


that's as close as you can get with the put function.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: