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
ivanzaharov [21]
4 years ago
9

Write a demo main program that illustrates the work of BigInt(n) and prints the following sequence of big numbers 1, 12, 123, 12

34, …, 1234567890, one below the other.
Computers and Technology
1 answer:
Soloha48 [4]4 years ago
4 0

Answer:

The solution code is written in C++

  1. void BigInt(int n){
  2.    
  3.    int i, j;
  4.    
  5.    for(i = 1; i <= n; i++){
  6.  
  7.        for(j = 1; j <= i; j++){
  8.            
  9.            if(j < 10){
  10.                
  11.              cout<<j;                
  12.            }
  13.            else{
  14.              cout<<0;
  15.            }
  16.          
  17.        }
  18.        
  19.        cout<<"\n";
  20.        
  21.    }
  22. }
  23. int main()
  24. {
  25.    BigInt(10);
  26.    
  27.    return 0;
  28. }

Explanation:

Firstly, create a function BigInt that takes one input number, n.

Next, create a double layer for-loop (Line 5-21). The outer loop is to print one big number per iteration and the inner layer is keep printing the accumulated individual digit for a big number. To ensure the big number is printed one below the other, we print a new line in outer loop (Line 19).

In main program, we call the function to print the big number (Line 26).

You might be interested in
Which of the following has likely attended vocational school?
JulsSmile [24]

C- A graphic designer is the awnser

7 0
4 years ago
What is the minimum number of data points you should usually have to look for signs of improvement on a run chart?
nexus9112 [7]

Answer:

There Should be at least 10 Points

Explanation:

An execution graph becomes more powerful as you add more data points because there will be more opportunities to identify patterns. If you are looking for signs of improvement, you usually need at least 10 data points.

Performance charts (frequently acknowledged as line graphs outside the excellence management field) display the performance of the process over time

6 0
3 years ago
Using complete sentences post a detailed response to the following.
KatRina [158]

Answer:A couple disadvantaged are the migraines that is can cause. And it can cause eye strain there are alot of things that could hurt your eyes. Like being in virtual reality for to long. It can very rarely make you go blind.

Explanation: sorry if its wrong

8 0
3 years ago
Do you think Apple will eventually meet their goal of becoming a replacement for a physical wallet
Dmitry_Shevchenko [17]
Yes they are the leading tech innovators of the 21st century and have already made massive strides in this direction
8 0
3 years ago
The commands available here change depending on the activity taking place in the presentation window's main work area.
pickupchik [31]

task pane is correct!

7 0
3 years ago
Read 2 more answers
Other questions:
  • When a typist changes from a conventional typewriter to a word processor, his typing schema will have to _____ to incorporate th
    12·1 answer
  • What is a way to Procter your social security number and other sensitive information from identity theft
    9·1 answer
  • Which of the following is a true statement about psychological tests administered by computers? computers make standardization e
    9·1 answer
  • An indirect effect of an action, be it a cost or benefit, for a third party who did not agree to the action is known as a(n) ___
    8·1 answer
  • Which of the following is not a method of data management?
    15·1 answer
  • Which of the following hacker attacks against wireless networks are virtually undetectable?
    12·1 answer
  • Match the elements of a web page with their descriptions?
    15·2 answers
  • For this assignment, you will write a program that calculates gross and net revenue for a movie theater. Consider the following
    15·1 answer
  • The working window of a presentation is the O outline O handout 0 notes o slide​
    5·2 answers
  • What ethical concerns might arise from applying new IT to law enforcement?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!