Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for bdl365

I am having difficulties writing the program. the program should ask user for a positive integer and print a factorial table. for example - Give me a positive integer: 5 1! = 1 = 1 2! = 2 x 1 = 2 3! = 3 x 2 x 1 = …

Member Avatar for Muhammad_331
0
2K
Member Avatar for bdl365

1. Create arr, an array of size six. Each element of arr is a random two-digit positive integer. (The program should make a random selection using the function rand.) Print the elements of arr. 2. Compute x as the average of the array. Print x. 3. Compute y as the …

Member Avatar for Lucaci Andrew
0
89
Member Avatar for bdl365

i need to write a program that ouputs any five positive integers to the screen? for (int i = 1; i <= 5; i++) cout << rand () // what goes here? usually when there's a range (lets say any 3 digit number) i usually do it like this cout …

Member Avatar for markaburlingame
0
85
Member Avatar for bdl365

I want to print the following using for loop. from the pattern, it's clear that when row and column is equal to each other it prints A that gives me A from top left to bottom right need clues A - A A - A A - A A-A ----A---- …

Member Avatar for WaltP
0
272
Member Avatar for bdl365

Need help to print grids of letters ..for example ABABA BABAB ABABA BABAB ABABA BABAB so when row and column numbers are the same (r == c) the program prints an A. Any clue as to how I should approach this problem will be appreciated? this is what i got …

Member Avatar for bdl365
0
196
Member Avatar for bdl365

If i want to print a grid of letters..for example AAAAA BBBBB AAAAA BBBBB AAAAA this is what I got so far. need some clues as to how I should approach the problem? #include <iostream> using namespace std; int main () { int n; cout << endl << "Enter a …

Member Avatar for bdl365
0
257
Member Avatar for bdl365

So i'm having troubles writing the codes for the following exercise - Write a C++ program that does the following. 1. Asks the user to enter some positive integers. 2. Reads the positive integers from the user. 3. Stops reading the positive integers once a non-positive integer is entered. 4. …

Member Avatar for bdl365
0
2K