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
Snowcat [4.5K]
3 years ago
13

Given a variable n refers to a positive int value, use two additional variables, k and total to write a for loop to compute the

sum of the cubes of the first n counting numbers, and store this value in total. thus your code should put 1*1*1 + 2*2*2 + 3*3*3 +... + n*n*n into total. use no variables other than n, k, and total.
Computers and Technology
1 answer:
maksim [4K]3 years ago
5 0
You could do it like this (example for n=5).

int n = 5;
int total = 0;
for (int k = 1; k <= n; k++) total += k*k*k;

You might be interested in
Sam would like to install a new application on every computer in his SOHO network. All the computers are currently connected in
lisabon 2012 [21]

Let us assume that Sam has an Active Directory Domain in his SOHO network.  He can use features that come with an AD domain to deploy software packages via Group Policy Objects. These features from Microsoft not only give us simple ways to deploy software, but also provide solutions to uninstall too. Another option to consider using is through 3rd party software solutions like PDQ Deploy. This tool will help deploy any Windows application to multiple PCs in the same workgroup.

4 0
4 years ago
Question # 2 Multiple Choice Which finger presses the H key on the keyboard? index finger on the right hand index finger on the
Lera25 [3.4K]
Index finger right hand!
Hope this helps! :)
8 0
3 years ago
How can you continue learning about computer science and improve your coding abilities?
Crank

Answer:

5 Ways to Improve Your Coding and Programming Skills

Take advantage of books and other free resources. ...

Sign up for a bootcamp. ...

Practice, practice, practice. ...

Engage with the computer science community. ...

Pursue a formal education in computer science.

7 0
3 years ago
Deciding whether to explode a process further or determine that it is a functional primitive is a matter of experience, judgment
pickupchik [31]

Answer:

The answer is "True".

Explanation:

The conceptual, abstract design is also known as a logical design. This design doesn't use to discuss in matter of the actual execution. It only has to identify the kinds of information.  

  • In the logical development process, it involves inserting information into a number, which includes the organizations and features of rational networks.
  • It is used to organize the entities, for example, tables for a relation database, in a given market environment into the database systems, that's why the given statement is true.
3 0
3 years ago
A server can be added to Server Manager by which of the following methods?
solmaris [256]
C. Importing a text file.  Server manager is where you can remotely administer your servers. Answer a. isn't true because you don't need a web server running to be remotely managed. b. Isn't true because wscript is old technology and microsoft would most likely use powershell, and DHCP is used to hand out IP addresses.
3 0
3 years ago
Other questions:
  • What devices are used to connect computers to a network?
    10·1 answer
  • Consider a classStudent. The following code is used to create objects and access its member functions. Which statement is true a
    6·1 answer
  • Consider the markets for monitors, USB drives, central processing units, and Microsoft’s Windows. Assume monitor manufacturers u
    7·1 answer
  • As of MySQL 5.5, which of the following is the default table storage engine?
    14·1 answer
  • Question # 2 Multiple Select You wrote a program to compare the portion of drivers who were on the phone. Which statements are t
    15·1 answer
  • A pizza delivery restaurant decides to stop hiring drivers and start hiring cyclers to deliver its pizza. The restaurant thinks
    15·1 answer
  • Find the domain and range of Y=x^3-9/x-3​
    14·1 answer
  • program 2. write a VB.NET program to solve the linear equation of the form Ax+B=C, i.e x=(C=B)/A (Eg:2x+3=7, where B and C are c
    15·1 answer
  • Define a function allEqual of type ''a list -&gt; bool that will return true will all element in the input list are all equal, f
    14·1 answer
  • What is the current situation of drone technology in emergency rescue and recovery
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!