No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Okay, I wrote a code to translate a character into Morse Code. However, I was reading back over my assignment and I was actually supposed to define a macro PRINT_DOT which prints a period, and a macro PRINT_DASH, which prints an underscore. Then define macros PRINT_A, PRINT_B, etc. Is there … |
|
I am writing a program that prompts a user to enter a line of text, and if there are consecutive blank spaces in the sentence, it will replace those with just one space. Here is the code: [code=c++] int main(int argc, char **argv) { AnsiString; Line; int Index; Line = … |
|
I know this is simple, but I need a bit of help. I need to write a program that will prompt the user to enter three integers, and should then print the numbers in ascending order. The hint the teacher gave was to use scanf three times? I'm just confused... |