No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Hi guys i've been stuck by this program for a while... Although you might find it easy,, but i'm still a beginner on c++ so please please help me on this program.. Write a program that will display a pattern depending on the value of n entered by the user. …
uhmmm try this one... input a number first then press enter: [code=cplusplus] #include<iostream.h> int main() { int num, row; cin>>num; for(row=0;row<num;row++) { for (int a=0; a<=row;a++) { cout<<"*"; } for (int b=num;b>row+1;b--) cout<<" "; cout<<endl; } cin.ignore(); cin.ignore(); return 0; } [/code]
GREEDY COUPLE A party game has the fourteen party guests sitting in a circle on chairs numbered, in a clockwise direction, one to fourteen. A cup of beverage is passed from person to person around the circle in a clockwise direction, starting with the person sitting on chair number one. …
The End.
Foo_with_a_floo