User Profile

Collapse

Profile Sidebar

Collapse
breed3000
breed3000
Last Activity: Apr 23 '15, 02:50 AM
Joined: Nov 20 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • breed3000
    replied to how to initialize multiple loops
    in C
    Will do! Thank you so much for your patience and much needed suggestion.
    See more | Go to post

    Leave a comment:


  • breed3000
    replied to how to initialize multiple loops
    in C
    thank you soo much weaknessforcats ! That helped me tremendously. I appreciate you taking time out of your day to be of assistance to me.
    I really need to read more on while and do while statements and execution any suggestions? Thank you so much
    See more | Go to post

    Leave a comment:


  • breed3000
    replied to how to initialize multiple loops
    in C
    Hi weaknessforcats!
    Thank you so much for replying. So do I use
    Code:
    do
    {
    cout << number << endl;
    number += 1;
    }
    
    while (number > 0);


    also I am using Microsoft Visual Studio 2010 Professional, not quite sure that matters, but just in case it does.

    Code:
    #include <iostream>
    using namespace std;
    int main()
    {
    ...
    See more | Go to post

    Leave a comment:


  • breed3000
    started a topic how to initialize multiple loops
    in C

    how to initialize multiple loops

    hi everyone I am a newbie to C++. I have an assignment that has multiple loops. I have to use a for, do, while loops.
    I have to ask user to input numbers based on (test data 75, 62, 13,-35,55,0. My program should loop processing input from the user until user indicates user wants to quit by entering 0 for an integer.
    If the number is a multiple of 5, print all multiples of 5 from 5 through number entered. Use a For loop to generate...
    See more | Go to post
No activity results to display
Show More
Working...