Set i3 to the number of times through the loop

Assignment Help Management Theories
Reference no: EM132263910

How to do this program

Starting with the following C++ program:

#include <iostream>

using namespace std;

void main ()

{

unsigned long i1;

unsigned long i2;

unsigned long i3;

unsigned long i4;

_asm

{

}

cout << "results are "  << (unsigned long) i1 << ", "

<< (unsigned long) i2 << ", "

<< (unsigned long) i3 << ", "

<< (unsigned long) i4 << endl;

}

Set i1 and i2 to each have a value of 1.

Create a loop that will do the following for each iteration of the loop:

1)   Add 3 to i1 and store the result into i1;

2)   Multiply i2 by 3 and store the result into i2;

Terminate the loop if either i1 becomes greater than 100

OR

if both the following

are true: more than 15 iterations of the loop have occurred

AND

i2 has reached a

value of at least 999999.

After the loop terminates do the following:

1) Set i3 to the number of times through the loop

2) Set i4 to the remainder of i1 divided by i3

Reference no: EM132263910

Questions Cloud

How you use the p09 control objectives to organize : Explain how you use the P09 Control Objectives to organize identified IT risks, threats, and vulnerabilities so you can then manage
How are the replication costs monitored : How are the replication costs monitored? How frequently? What configuration changes might be needed and how frequently?
What best describes attack : A network admin has noticed that several machines on her network are infected with malware that is sending a flood of packets to a target external to the networ
Determine the variable type : When a programmer writes a variable definition but lets the compiler determine the variable type, which of the following is NOT true?
Set i3 to the number of times through the loop : 1) Set i3 to the number of times through the loop 2) Set i4 to the remainder of i1 divided by i3
Describe your it decision making : What in these areas is your organization doing right? What in these areas could your organization improve?
Which of the common core state standards for english : Which of the Common Core State Standards for English Language Arts for grade level K-5 might be a focus for this lesson, and why?
Determine the initial estimates of level : 201CEM Operational Research Techniques Assignment - Forecasting and Inventory control, Coventry University, UK. Determine the initial estimates of level
Discussion about the organizational weakness and a threat : How would one distinguish between an organizational weakness and a threat to the organization? Min 250 words main post-2 citations apa format.

Reviews

Write a Review

Management Theories Questions & Answers

  Explain the membership and organizational structure

Choose any article/ publication/ annual report/ speech from the website and give a brief summary and review of the content.

  Design an entity-relationship diagram for baseball database

Design an Entity-Relationship diagram for the baseball database and enter the design using a data-modeling tool such as ERWin.

  Is dr vidricksen a general partner

At this time, the business developed financial difficulties and went into bankruptcy on September 11. Eight days later, Vidricksen filed a renunciation of the business's profits. Is Dr. Vidricksen a general partner?

  Review the case of the tombs

The Tombs. You have joined your friends at the local watering hole, The Tombs, for your weekly debate on international finance.

  Benefits of joining such a professional organization

Do research to find any professional organization or code of ethics associated with your current or desired future career.

  Define the term multitasking

Multitasking-doing two or more things at once, or rapidly switching from one task to another-is a characteristic of the Millennial generation.

  Philips versus matsushita

Carefully read Case 4-1, Philips versus Matsushita, on pp. 331-347 of the Transnational Management textbook. Consider the organizational development of each firm and its implications on that company’s strategic capability.

  Describe the organizational structure of your company

Describe the organizational structure of your company/organization. How does communication flow throughout the organization? What are the prime methods of communicating and what pros/cons do you see with these communication methods

  What are the major foreign industries

What are the major foreign industries in which U.S. business have chosen to place direct investments? What are the major industries in the United States in which foreigners place direct investments?

  Discuss the case of the sac capital advisors

Two affiliates of a hugely successful hedge fund, SAC Capital Advisors, were charged with insider trading by the SEC. CR Intrinsic Investors and Sigma Capital.

  Example of the notation in the audit work papers

Appendix A lists audit procedures that the auditor must undertake to ensure that the board has a formal schedule of matters specifically reserved to it. For each audit procedure:

  Was craig a holder in due course of the note

Prior to doing so, however, she negotiated the note to Craig, who pu r chased it at a discount with notice that it was in default. Was Craig a holder in due course of the note? Why or why not?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd