User Profile
Collapse
-
Thank you .. All you see above is given .. He started the main and gave us the fuction prototypes and he wants us to use these 6 functions to obtain the output shown .. Can you help me start this ?... -
C++ Giants .. Please help me complete this
Hello brothers and sisters,
Please help me complete this program and get the output shown below.
Here is all I have
_______________ _______________ _______________ ______________
This homework involves reading sentences from a file and determining the makeup of the sentences, words and characters.
1. First, you will read in the sentences with the function
void readSentences(s tring sentences[],...Last edited by Niheel; Dec 10 '06, 03:54 AM. -
-
Help me in this "Switch Statement" Puzzle !
Write a switch statement that tests the value of the char variable response and performs the following actions:
if response is y , the message Your request is being processed is printed
if response is n , the message Thank you anyway for your consideration is printed
if response is h , the message Sorry, no help is currently available is printed
for any other value of response , the message Invalid entry;... -
-
Summation questions
PLEASE PLEASE PLEASE HELP ME ... I AM SO CONFUSED
Q1:
Given that two int variables, total and amount, have been declared, write a loop that reads integers into amount and adds all the non-negative values into total. The loop terminates when a value less than 0 is read into amount. Don't forget to initialize total to 0.
_______________ _______________ _______________ _______________ ____
Q2:... -
-
I Need Help With WHILE LOOP
Q1:
Given an int variable n that has already been declared and initialized to a positive value, and another int variable j that has already been declared, use a while loop to print a single line consisting of n asterisks. Thus if n contains 5, five asterisks will be printed. Use no variables other than n and j .
Q2:
Given an int variable k that has already been declared, use a while loop to print... -
-
Our analysis of your code: COMPILER ERRORS
Some suggestions:
Unexpected identifiers: A, R, Suppose
Just write an expression -- not a statement!
There is no need for an assignment operator here....Leave a comment:
-
I NEED HELP ---- REGARDING "IF" STATEMENT
Q1:
Write an expression that evaluates to true if the value of the integer variable numberOfPrizes is divisible (with no remainder) by the integer variable numberOfPartici pants . (Assume that numberOfPartici pants is not zero.)
Q2:
Write an expression that evaluates to true if the value of the integer variable widthOfBox is not divisible (with a remainder) by the integer variable widthOfBook . (Assume... -
-
Can't find output Dev C++
Hello comrades, I am a Dev-C++ beginner and need your help please.
I've downloaded Dev-C++ in my computer but it seems to be one problem.
After I type in my program,correct ly, in the EDITOR and click the COMPILE & RUN , the black OUTPUT window appears for a second then it disapears and I can't find it.
I need to solve this problem.
Please advise me guys.
Thanks in advance.Last edited by Niheel; Sep 5 '06, 12:37 AM.
No activity results to display
Show More
Leave a comment: