Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~17.5K People Reached
Favorite Forums
Favorite Tags
c++ x 53
Member Avatar for hq1

Write a program that can be used by a small theater to sell tickets for performances. The theater’s auditorium has 15 rows of seats, with 30 seats in each row. The program should display a screen that shows which seats are available and which are taken. For example, the following …

Member Avatar for happygeek
0
9K
Member Avatar for hq1

Hello. I'm supposed to store the two numbers in two int arrays of size 30, one digit per array element. If the number is less than 30 in length, enter enough leading zeroes (to the left) to make number 30 digits long. I will need a loop to add the …

Member Avatar for danb737
0
1K
Member Avatar for hq1

I will arrange my output in well-alligned columns, but I don't think I should use 3D char arrays since my teacher just wants us to stick with what we've learned so far. Check out my code. I'm happy about it, but I just can't get the alignment right. [CODE]//File: lab9.cpp …

Member Avatar for Dingbats
0
621
Member Avatar for hq1

A magic square is an N by N array of integers. The sum of the values of each row, each column, and the main diagonals are equal. Write a program that reads the size of a square, then each row, and verifies if the square is a magic square using …

Member Avatar for jonsca
0
3K
Member Avatar for hq1

Hi so I have this assignment for one of my classes, im having some issues with it. I was hoping someone could have a look at it and tell me what i am doing wrong and what I need to fix. Thanks! heres what the assignment is: The High Fashion …

Member Avatar for hq1
0
281
Member Avatar for hq1

Hi so I have this program to find the largest odd number from an array of 50, the program runs fine, but the problem is after reading the numbers from file it says the largest odd number is 0. Can some one please have a look for me and tell …

Member Avatar for spetro3387
0
2K
Member Avatar for hq1

Ive been working on this code for a bit but cant figure out what im doing wrong, If someone could have a look Id appreciate it a lot. Thanks! heres what its suppose to do: Write a function that displays the left margin of the screen a solid square of …

Member Avatar for Taywin
0
122
Member Avatar for hq1

Hey so I wrote this blackjack program to read from file but i'm getting these errors on the specified lines: Error 1 error C2059: syntax error : 'while' line: 46 Error 2 error C2228: left of '.ins' must have class/struct/union line: 48 Error 3 error C2050: switch expression not integral …

Member Avatar for Ryaether
0
135
Member Avatar for hq1

Hi, so I wrote this program to find the GCD of two numbers, the program runs just fine its that I also need it to display how many times it loops, I cant get it to do that. Can some one please tell me what I'm doing wrong, Thanks! [CODE] …

Member Avatar for hq1
0
86
Member Avatar for hq1

Hi I'm tryingt to write this program: Write an interactive computer program that will find the greatest common divisor of two integers using Euclid's Algorithm. The program should be independent of the order in which the two numbers are input. EUCLID'S ALGORITHM Divide the smaller number into the larger. If …

Member Avatar for Unimportant
0
111
Member Avatar for hq1

I have an assignment that i need to do and i have no idea how to do this, I was hoping someone would be nice enough to help me out, its a begginner program that needs to be done in visual stdio c++: Heres the assignment: Try to write a …

Member Avatar for Fbody
0
443