hi savage, thanks for the reply.
Ok, for now if i use printf, what i need to put in the printf command?? is that number, line or column?...
User Profile
Collapse
-
Nested Loops
Hi friends, newbie here, appreciate your help to convert this program into C languages. I'm really-really beginner into C world
[CODE=cpp]#include <iostream.h>
#define MAX 10
int main()
{
int number, line, column;
for( line = 1; line <= MAX; line++ )
{
for( column = MAX; column >= line; column-- )
cout << ' ';
... -
what can i say that... 4 power to the left no.
4 power to 0 (left no) equal to 1
4 power to 1 (left no) equal to 4
4 power to 2 (left no) equal to 16
bla..bla..bla.. .ect..
i hope you can understand that..TQ...Leave a comment:
-
hi ilikepython, your note look great, but i still need your favour. As you provide me the coding i can't see what i have to put under the printf?? Really need your help as i really2 confuse right now. TQ in advanced...Leave a comment:
-
do..while statement
Hi friends, I'm a newbie into C/C++ world. So i hope you can help me with this question. I need to do a program using do..while statement in C languages to produce the following output
0 1
1 4
2 16
3 64
4 256
5 1024
6 4096
i have done something with this program and i only manage to get the following output
0 0
1 1
2 4
... -
Nested Loops, generate pyramids of digits
Hi friends,
Need your help. I want to generate the following pyramids but get confuse as i'm just a newbie for C Programming
Here is the pyramid
1
232
34543
4567654
567898765
i hope that i can get the statement in C Programming...
Looking forward for all of your favourable reply..
Regards//amir @ ...
No activity results to display
Show More
Leave a comment: