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
slava [35]
3 years ago
14

Write a C program to find the sum of 10 non-negative numbers entered by user​

Computers and Technology
1 answer:
valentina_108 [34]3 years ago
8 0

Answer:

Explanation:

#include <stdio.h>

void main()

{

   int  j, sum = 0;

   printf("The first 10 natural number is :\n");

 

   for (j = 1; j <= 10; j++)

   {

       sum = sum + j;

       printf("%d ",j);    

   }

   printf("\nThe Sum is : %d\n", sum);

}

You might be interested in
When developing an estimate, which of the following items is typically marked up with the highest percentage rate?
dmitriy555 [2]

Answer: D. Labor

Explanation:

8 0
2 years ago
I don’t understand how to make a hyperlink or put an image in an html file
Mademuasel [1]

To use image as a link in HTML, use the <img> tag as well as the <a> tag with the href attribute. The <img> tag is for using an image in a web page and the <a> tag is for adding a link. Under the image tag src attribute, add the URL of the image. With that, also add the height and width.

-tutorialspoint

8 0
4 years ago
What type of machine is a hand drill?<br><br> A. Simple machine <br> B. Compound machine
Shalnov [3]
<span>It is a Compound machine.</span>
7 0
4 years ago
Read 2 more answers
While reading, David encounters a word he doesn’t know. What is the first step he should take to figure out the meaning of the w
slavikrds [6]

Answer:

David should read around the unfamiliar word. Hope this helps! :)

8 0
3 years ago
Read 2 more answers
what do yall recommend for a laptop? The Dell xps 13 or MacBook Air? just to give not I'm not used to Apple but what matters to
Kazeer [188]

Answer:

what is your needs tell us first

7 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following statements about light-emitting diodes is correct
    11·1 answer
  • How do you italicise, bold, letters on this app?​
    11·2 answers
  • Explain the differences between apple and android
    14·2 answers
  • Convert the following into binary system<br>and vice versa.<br>106​
    6·2 answers
  • Necessary component of creativity
    11·1 answer
  • Write the definition of a class Counter containing:
    5·1 answer
  • Hi Alaza, when you submit this form, the owner will be able to see
    12·1 answer
  • ____ a British mathematician devolved the concept of a programmable digital computer and worked with Ada Lovelace to design the
    13·1 answer
  • Write the Flowchart to find Even number between 1 to 50<br>​
    9·1 answer
  • ¿Qué diferencia existe entre un virus biológico y virus informático?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!