C and C++ Programming Resources

looping(for loop,do-while loop and while loop)

Discuss .NET & C# programming, The Common Language Runtime (CLR), Intermediate Language (IL), Assemblies, .NET Classes and the role of C# in .NET Applications. Windows applications in .NET, Windows Forms, Windows Controls, and Custom Controls.

looping(for loop,do-while loop and while loop)

Postby message » Tue Aug 19, 2008 9:01 am

patulong naman bukas na ang pasahan. ASAP!!!!

TURBOC++ IDE po ito

sana mtulong ako kgad tnx..

dapat #include<stdio.h> at my (for loop,do-while loop and while loop)

ung cmula hnd po iostream

1.)<-------ganito po ang output dapat------>

input a number from (1-10): 5

5
10
15
20
.
.
.
100
<-------END------>

2.)<-------ganito po ang output dapat------>
display a 10 X 10 multiplication table
(1-10)pa din

input rows: 3
input columns: 4

1 4 3 4
2 5 6 8
3 6 9 12
<-------END------>

3.)<-------ganito po ang output dapat------>
input a number from (1-10): 4

****
***
**
*
<-------END------>

4.)<-------ganito po ang output dapat------>
input a number from (1-10): 5
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
<-------END------>

5.)<-------ganito po ang output dapat------>

input a number: 4
*
**
***
****

<-------END------>

6.)<-------ganito po ang output dapat------>
FIBONACCI SERIES
1 1 2 3 5 8 13 21 34 55 89 144...

ganyan po sana po my tumulong.
<-------END------>
User avatar
message
 
Posts: 1
Joined: Tue Aug 19, 2008 8:55 am
Location: Philippines

Return to .NET and C# Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron