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
luda_lava [24]
3 years ago
8

. Write a program that prompts the user for an integer n between 1 and 100. If the number is outside the range, it should keep a

sking the user for a valid number. The program computes and prints at the end two things:
a.The sum of the numbers from 1 to n.
b.The average of the numbers from 1 to n.
Computers and Technology
2 answers:
Arlecino [84]3 years ago
8 0
The sum of the numbers from 1 to ñ
vazorg [7]3 years ago
4 0
A. the sum of the numbers from 1 to n
You might be interested in
Explain with examples: <br> What are the reasons of a successful and unsuccessful software project?
Darina [25.2K]

Answer:

A good starting point is by addressing some of the key reasons software projects fail.

Explanation:

Not Enough Time. ...

Insufficient Budget. ...

Poor Communication. ...

Never Reviewing Project Progress. ...

Inadequate Testing. ...

Testing in the Production Environment. ...

Lack of Quality Assurance. ...

Not Conforming to Industry Standards.

6 0
3 years ago
Use the horizontal scroll bar to navigate through the _______.?
soldier1979 [14.2K]
The answer is B, rows. 

You cannot scroll through tabs, you always click them. Worksheets just doesn't make sense and collums are vertical. This leaves your only answer as rows.
7 0
4 years ago
45 points!!
pav-90 [236]

Answer:

ENQUIRE database system

Explanation:

5 0
3 years ago
Read 2 more answers
3.34 LAB: Mad Lib - loops in C++
Ganezh [65]

Answer:

A Program was written to carry out some set activities. below is the code program in C++ in the explanation section

Explanation:

Solution

CODE

#include <iostream>

using namespace std;

int main() {

string name; // variables

int number;

cin >> name >> number; // taking user input

while(number != 0)

{

// printing output

cout << "Eating " << number << " " << name << " a day keeps the doctor away." << endl;

// taking user input again

cin >> name >> number;

}

}

Note: Kindly find an attached copy of the compiled program output to this question.

7 0
3 years ago
Why do you put www. in front of websites?
natulia [17]
WWW stands for world wide web
5 0
4 years ago
Other questions:
  • Linda has written a program that works well on various operating systems, but she needs to increase the readability of the progr
    14·1 answer
  • AI vs IA like the difference
    12·2 answers
  • Describing Editing Task
    6·1 answer
  • A client is asking for a printing solution that will print three sheets of paper with identical information on each page with a
    13·1 answer
  • What are three key characteristics of an OS process?
    11·1 answer
  • 6-1) (Math: pentagonal numbers) A pentagonal number is defined as n(3n–1)/2 for n = 1, 2, . . ., and so on. Therefore, the first
    10·1 answer
  • 4. Write technical term for the following statements
    15·2 answers
  • ILL GIVE BRAINLIEST TO FIRST ANSWER David is adopting an iOS app from a non-retina screen to a retina screen. The app currently
    13·1 answer
  • A gui allows you to interact with objects on the screen such as icons and buttons true or false
    7·1 answer
  • Identify the type of software that should be in main memory in order to use the keyboard? *
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!