1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
WITCHER [35]
4 years ago
5

Read the following code carefully and do as directed: int main() { // Initialising starting number int num = 1; int n=7 // Outer

loop to handle number of rows // n in this case for (int i = 0; i < n; i++) { // Inner loop to handle number of columns // values changing acc. to outer loop for (int j = 0; j <= i; j++) { // Printing number cout << num << " "; // Incrementing number at each column num = num + 1; } // Ending line after each row cout << endl; } You need to answer following questions. 1. Draw Control Flow Graph for the given code 2. Highlight all regions in the flow graph separately 3. Using cyclometic complexity formula, calculate number of basis path tests.
Computers and Technology
1 answer:
Wittaler [7]4 years ago
4 0

Answer:

81

Explanation:

12734

You might be interested in
It keeps saying telling me that this code:
Luda [366]

Answer:

your code looks correct. I think your issue is just indentation. with Python you want to be very careful with spacing.

Explanation:

c = 0

while (True):

  user_input = input("Please enter the next word: " )

  if user_input == "STOP":

     break

  c += 1

  print ("# {}: You entered {}".format(c, user_input))

  print("All done. {} words entered.". format(c))

7 0
3 years ago
Read 2 more answers
can you pls sub to my youttube channel, its called Yakobu, pls i will give you 30 points. pls dont just take points and not sub.
xxMikexx [17]

Answer:

Sure

Explanation:

I would love 2

5 0
3 years ago
To nest one structure within another structure, you a. define both structures and then create a data member of the nested struct
Lubov Fominskaja [6]

Answer:

Hence the correct option is option a) define both structures and then create a data member of the nested structure type within the other structure.

Explanation:

To make Address nested to Employee, we've to define Address structure before and out of doors Employee structure and make an object of Address structure inside Employee structure.

For example, we may need to store the address of an entity employee in a structure.

5 0
3 years ago
To be a forensic technician, do you have to go to a police academy?
sergejj [24]
Yea  i think u do sry if im wrong

6 0
4 years ago
Which is an example of a student practicing ethical behavior online??
professor190 [17]

Answer:

Zohar abides by his school’s Internet policy and does not visit questionable websites.

Explanation:

Only the first one is ethical behavior. The second choice is an example of plagiarism. The third & fourth choices could be examples of cyberbullying.  

4 0
3 years ago
Read 2 more answers
Other questions:
  • Race conditions are possible in many computer systems. Consider a banking system with two methods: deposit(amount) and withdraw(
    14·1 answer
  • A system with an availability of 99.999% can be down for a maximum of 52 minutes per year.
    15·1 answer
  • An existing document that you use as a starting point for a new document; it opens a copy of itself, unnamed, and then you use t
    15·1 answer
  • How many integer types are there in python​
    8·1 answer
  • Cloud computing is the fastest growing form of computing. <br> a. True <br> b. False
    9·1 answer
  • Select the correct text in the passage.
    5·1 answer
  • Compare and contrast fair use to copyright.
    5·1 answer
  • Kelvin owns a small trading firm. Recently, he suspected that some of his employees were using fraudulent activities for their p
    5·2 answers
  • What should you do before using a website to store student information ? A. Read and understand the website’s privacy contract
    11·2 answers
  • A. Modify the FitnessTracker class that includes data fields for a fitness activity, the number of minutes spent participating,
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!