473,406 Members | 2,336 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Printing letters in triangle pattern

please can u help me out in the following patterns
A
ABA
ABCBA
ABCDCBA
ABCDEDCBA
ABCDEFEDCBA

PATTERN 2:
4 4 4 4
3 3 3
2 2
1
2 2
3 3 3
4 4 4 4

PATTERN 3:
PASCAL'S TRIANGLE..



THIS IS URGENT PLZZZZ HELP ME OUT ALLL HAV 2 BE DONE USING LOOPS NO ARAYS AND USE ONLY INT,DOUBLE,CHAR,PLZZZZZZZ
Jul 17 '07 #1
7 6147
JosAH
11,448 Expert 8TB
please can u help me out in the following patterns
A
ABA
ABCBA
ABCDCBA
ABCDEDCBA
ABCDEFEDCBA

PATTERN 2:
4 4 4 4
3 3 3
2 2
1
2 2
3 3 3
4 4 4 4

PATTERN 3:
PASCAL'S TRIANGLE..



THIS IS URGENT PLZZZZ HELP ME OUT ALLL HAV 2 BE DONE USING LOOPS
So you expect me or someone else to give you the working code which you are
going to hand in (that's cheating) and you hope to pass your exam this way?
Imagine that you get a programming job somewhere; I pity your future colleagues
then because they have to help you out all the time because you cheated in the
past and are not capable to do any programming work at all. (that's fraud).

You give it a try first and when you're stuck we might help you out but we don't
do your homework for you.

kind regards,

Jos

ps. I visit Sun's Java developer forums as well and they don't like cheaters there
either. They're more nasty though: they try to track down your school and inform
your teacher about your cheating attempts.
Jul 17 '07 #2
These codes hav been tried many times but i fail to understand...plzzz help
Jul 19 '07 #3
scruggsy
147 100+
These codes hav been tried many times but i fail to understand...plzzz help
If you've tried them many times before, then post one of your attempts so someone can advise you.
Isn't it nice that a forum exists where people actually enjoy helping you with your homework?
Don't expect anyone to volunteer to do your work for you, though. You won't learn anything that way.

Hope this helps.
Jul 19 '07 #4
sicarie
4,677 Expert Mod 4TB
These codes hav been tried many times but i fail to understand...plzzz help
Have you read the Posting Guidelines? I think you might find them illuminating and incredibly helpful.
Jul 19 '07 #5
r035198x
13,262 8TB
Have you read the Posting Guidelines? I think you might find them illuminating and incredibly helpful.
Ah, now sicarie. This is one of those times when you don't want to point someone to the posting guidelines.
Jul 21 '07 #6
JosAH
11,448 Expert 8TB
Ah, now sicarie. This is one of those times when you don't want to point someone to the posting guidelines.
<high squeaky voice>
Take him to the attic!
</high squeaky voice>

kind regards,

Jos ;-)
Jul 21 '07 #7
<code snipped>

This is the code for
A
ABA
ABCBA
ABCDCBA
.....

Please don't spoonfeed the OP; we don't do boilerplate homework code here,
it doesn't help anyone at all.

kind regards,

Jos
Jul 21 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Abby Lee | last post by:
I ask the user to enter a time in the formatio 12:30 PM. onChange I send the string to this function. I'm using alert boxes to test it...and am always getting the "Does not work" alert box. What am...
1
by: Tony Johansson | last post by:
Hello Experts! I'm reading about design patter in the GAMMA book and there is something that I don't understand. That's why I ask you. It says "Pluggable adpters. A class is more reusable when...
9
by: Jim Lewis | last post by:
Anyone have experience with string pattern matching? I need a fast way to match variables to strings. Example: string - variables ============ abcaaab - xyz abca - xy eeabcac - vxw x...
0
by: Jordan Richard | last post by:
I'm designing a new .NET 2.0 Windows Forms application to support users who, amongst other things, need to print letters and envelopes. They currently do such printing by manually managing a...
1
by: orel | last post by:
Please, As i tried hundreds different implementation to make it work and actually didn't succeed, can someone here help me to understand and use the implementation of the Object Factory design...
4
by: orel | last post by:
<o_r_l_25@yahoo.frwrote, As the message says, to help the compiler with template parsing, I add 'typename' as you said, it now understands the expression, but but i have now those complier...
5
by: keirnna | last post by:
I am trying to display only the line that ends with a . or , or ? that has the in the line that ended with .|,|? So here is my pattern-matching operator: m/the/ .. /(\.|\?|\,)$/im I am not...
4
by: xhani | last post by:
Hi , can anyone help me about writing a given sentence in Floyd's triangle . e.g , printf("Write a sentence:\n"); sentence=getchar(); ( I should not use arrays ,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.