No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
10 Posted Topics
so im tasked to write a program that converts decimals to binary numbers; the only problem is that im having trouble writeing this program. Write an HLA Assembly program that prompts for an int8 value to inspect and then prints it in binary format. For example, here would be the … | |
Having trouble starting this program which states that i have to create a 4x4 table using int8 which a user in puts a number and that number appears as an x paatern on the table with the rest of the numbers that fill in postions be less than nputed number. … | |
For a Class assignment i wrote a program that has to throw a logic_error and then catch it but my code doesn't work i don't know what am i doing wrong. #include <iostream> #include <iomanip> #include <exception> #include <stdexcept> using namespace std; std::logic_error; struct MyException : public exception { const … | |
i'm having trouble with this assignment for my cs class the directions say "Make operator+ combine together the contents of two TrashCan, as long as the contents does not exceed the size. Make operator- subtract one TrashCans contents from another, as long as the size or contents don't go negative. … | |
For an assignment for class i wrote this code right but the only problem i have is that i can't get the right value that assignment wants which is distance so far: 0 meters distance so far: 1000 meters distance so far: 0 meters distance so far: 0 meters distance … | |
i wrote this code for sending and recieve mail but i can't get the output that is required for class which is -Test 1-- Creating a new envelope Addressing from Muffin To Howie Inserting the message: Pet me! Affix Postage: 0.33 stamp Sealing the envelope Mailing the envelope --Test 2-- … | |
i need some help/ having trouble in making this program for homework: Create a C++ program which calculates student fees for those attending Santa Monica College. IN ORDER TO RECEIVE FULL CREDIT, YOU MUST CREATE FUNCTIONS TO SOLVE THIS PROBLEM WITH BOTH PASS-BY-VALUE AND PASS-BY-REFERENCE PARAMETER (No, main() doesn't count). … | |
I would like to know if this is a correct way to call and define a function for my program #include <iostream> #include <cmath> using namespace std; int math(double a, double b, double c); int main( ) { int math; char a,b,c; math = a + b + c; return … | |
so i made this program with a function call and definition and i keep having problems with the call function and i get error C2059: syntax error : 'return' when i build my program. #include <iostream> #include <cmath> #include <iomanip> using namespace std; int math (double cartons, double totalcost, double … | |
i wrote this program it c++ in response to this question "total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk (which will need to be a value rounded up to the nearest integer), the cost of producing the milk … |
The End.