Computers & Internet Logo

Related Topics:

Posted on Jul 12, 2011
Answered by a Fixya Expert

Trustworthy Expert Solutions

At Fixya.com, our trusted experts are meticulously vetted and possess extensive experience in their respective fields. Backed by a community of knowledgeable professionals, our platform ensures that the solutions provided are thoroughly researched and validated.

View Our Top Experts

Do while statement in c - Microsoft Computers & Internet

1 Answer

Chris Larocque

Level 3:

An expert who has achieved level 3 by getting 1000 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Vice President:

An expert whose answer got voted for 100 times.

  • Master 367 Answers
  • Posted on Jul 12, 2011
Chris Larocque
Master
Level 3:

An expert who has achieved level 3 by getting 1000 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Vice President:

An expert whose answer got voted for 100 times.

Joined: May 11, 2011
Answers
367
Questions
0
Helped
109723
Points
1105

Here is a simple example of do while statements in C
x=10;
do { x--; } while ( x > 0 );
We set the x variable to 10 at the top of the code, and then do a "do while loop". The loop will continue until the x variable = 0. To write it out in english it is basically:x equals ten. loop the code inside the {} while x is greater then zero. Once x is zero exit the loop. Inside the {} we are de-incrementing x by minus 1 each time the loop is performed until x equals zero, and that is how the loop code is controlled.
Hope that helps.
Chris

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1helpful
1answer

How do i compile statement of profit and loss

Jack, compile statement of profit and loss. Check the attached links,instruction and guides, Good luck
"I hope this helped you out, if so let me know by pressing the helpful button. Check out some of my other posts if you need more tips and info."
How to Prepare Profit and Loss Income Statement Edward Lowe Foundation
Sample Profit Loss Statement
What is the difference between compiled and certified financial statement...
statement of profit and loss format Google Search
0helpful
1answer

What Types Of Financial Statements Do I Need For My Business?

There are three statements that are always required for borrowing money such as business loans or for most types of business dealings. Those are the balance sheet, income statement, and cash flow statement.
0helpful
1answer

I need to see my charges for December 2014. How can I access that statement?

Use the Citi customer portal: https://online.citibank.com/US/JPS/portal/Index.do
0helpful
1answer

How do I get an account statement online?

you have to be enrolled in online banking to get statements.
Contact the branch you deal with for help.
0helpful
1answer

I need to print out my bank statement.

To print out your bank statement, follow these steps: Log in to your online banking account. Navigate to the section where you can view your account statements. Select the account statement you want to print. Click the print button or the download button to save the statement as a PDF file. Open the PDF file and select the Print option. Choose the printer you want to use and the number of copies you need. Click on the Print button to start printing your bank statement. If you have any trouble with these steps, you can contact your bank's customer service for assistance.
Apr 11, 2014 • Finance
0helpful
1answer

Give me some example of if else statement in turbo C

Syntax:
if(Condition)
{
//Statement
}
else if(Condition)
{
//statement
}
else
{
//statement
}
0helpful
1answer

Runtime error 365

This is a VB error right?

All i can advice is remove the unload from the event. in case, you can add a timer in your form, in the click event start the timer, and remove the objects in the Timer event (and remember to stop the Timer)


And while scanning for more solution, i bumped into this site and here's a solution that i think might help you.

  • There is an Unload statement in the Paint event for the form or for a control on the form that has the Paint event. Remove the Unload statement from the Paint event.
  • There is an Unload statement in the Change, Click, or DropDown events of a ComboBox. Remove the Unload statement from the event.
  • There is an Unload statement in the Scroll event of an HScrollBar or VScrollBar control. Remove the Unload statement from the event.
  • There is an Unload statement in the Resize event of a Data, Form, MDIForm, or PictureBox control. Remove the Unload statement from the event.
  • There is an Unload statement in the Resize event of an MDIForm that is trying to unload an MDI child form. Remove the Unload statement from the event.
  • There is an Unload statement in the RePosition event or Validate event of a Data control. Remove the Unload statement from the event.
  • There is an Unload statement in the ObjectMove event of an OLE Container control. Remove the Unload statement from the event.

0helpful
1answer

What is the use of open curly braces in turbo c?

Curly braces are used in C (Turbo and otherwise) to group statements. A group of statements inside a pair of curly braces is treated semantically as a single statement. For example, a for-loop controls one statement. If you want more than one statement within the loop, you use curly braces to group them together.
3helpful
1answer

Statements in QuickBooks

If you do not want your statements to reflect any payments, go to the top of your tool bar, click on Edit, go down to "Preferences", find the "Sales and Customers", go to "Company Preferences", and at the bottom you have the option to "Automaticly apply Payments", make sure that is not checked.

If this helps, please rate me. Thanks, Patty
Not finding what you are looking for?

248 views

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

k24674

Level 3 Expert

8093 Answers

Brad Brown

Level 3 Expert

19187 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...