Hi,

In my assignment , I need to print out the ID,Name and more in a line..with no space bar allowed..besides using the \t ,is there any method to print out...

Student Student Course bla bla
ID Name Info

xxx xxxxxxxxxxxx xxxxxxxxx

when i use the \t, my output aint arranged properly...plz help...

Recommended Answers

Telling you the answer would basically be doing the whole assignment for you. You need to think harder. You're using printf?...

Jump to Post

All 3 Replies

Telling you the answer would basically be doing the whole assignment for you. You need to think harder. You're using printf?...

thats only a part of the assignment..i have got my input output codes done...but i have problem with formatting the output - to arrange the output neatly...yes im using printf and spacing using \t..but sometimes my output became messy if i have a longer input for name etc.

Post your code if you want help with your code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.