No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
13 Posted Topics
OK I need the firstname astname and grade to all be put in an array i cant get it to work. Where do I put the array? [CODE]#include "stdafx.h" #include <fstream> #include <iostream> #include <string> using namespace std; const int MAX = 3; struct Person { string Firstname, Lastname; int … | |
ok after all of the grades and first and last names are entered, what do i need to do to get it to print the grades with the names out in order from heighest to lowest? [CODE]#include "stdafx.h" #include <fstream> #include <iostream> #include <string> using namespace std; const int MAX … | |
ok i got my loop to work but i need to make it where the user has to enter a grade between 0 and 100, I tried by using [CODE] int grade(0<100);[/CODE] but it doesnt work. what do i need to do? also how do i get the program to … | |
ok I need this program to run the first and last names and the grades of 20 people. how would i set up a for-loop to do this. [CODE]#include "stdafx.h" #include <fstream> #include <iostream> #include <string> using namespace std; const int MAX = 3; struct Person { string Firstname, Lastname; … | |
Hey what dod i need to do inorder to get my program to print out 2 decimal places after gross amount and amount donated? you will see what i mean when u run my program. for example i need it to print out $100.00 not just $100. [CODE]#include "stdafx.h" #include … | |
Hey I want to be able to put a movie title in the is more than one world and it goes crazy when i do, if you run my program and enter one word when it asks for the movie title it will work fine. but when u enter a … | |
What do I need to do in order to get my program to print out two decimal places? [CODE] #include "stdafx.h" #include <iostream> #include <ctype.h> using namespace std; int main() { char movie[50]; int adult_ticket_price, child_ticket_price; int adult_ticket_sold, child_ticket_sold; int percentage_of_gross_amount_donated; cout <<"Enter The Movie Name: "; cin >> movie; … | |
how do you print an array out in reverse order? lets say the program prints out the sum of a problem and that sum is 51. how do i get it to say 15, beccause thatwould be the reverse order? | |
ok my program works the only thing i cant figure out how to do is, print the sum, average and the numbers (entered) in reverse order. after it tells my the real sum and average. her is what i got so far [CODE]#include "stdafx.h"; #include <iostream> #include <string> using namespace … | |
Hey i need with this program it works, but i cant figure out how to make it not print out zeros when it is reversed. for example when the user types in 123000 it should print out 321. but my program prints out 000321 what can i do to make … | |
is there a way to tell the program to remove a certain charecter or number from a string with out giving it a position. for example i have a program that asks the user to enter a set of numbers and the program reverses the order of the numbers. so … | |
hey what would a basic string program look like, can some one show me? what would I need to do to make the numbers the user inputs in, go into a string? [code=c] #include "stdafx.h" #include <iostream> #include <ctype.h> #include <fstream> #include <string> using namespace std; int reverseDigit, integer; int … | |
Can anyone right a C++ program that does this? To make telephone numbers easier to remember, some companies use letters to show their telephone number. For example, using letters, the telephone number 438-5626 can be show as GET LOAN. In some cases, to make a telephone number meaningful, companies might … |
The End.