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
Tom [10]
3 years ago
5

In C please:

Computers and Technology
1 answer:
kumpel [21]3 years ago
7 0

Answer:

The C code is explained below. The highlighted code represents the "your solution goes here" section

Explanation:

//Header file section

#include <stdio.h>

//Program begins with a main method

int main(void)

{

//Declare the integer variables

int userNum1;

int userNum2;

//Initialized the values to the variables

userNum1 = 1;

userNum2 = 14;

// If userNum1 is less than 0, then print "userNum1 is negative".

// '\n' represents end with newline

if (userNum1<0)

{

 printf("userNum1 is negative. \n");

}

//If userNum2 is greater than 10, then convert userNum2 to 0.

//Otherwise, print "userNum2 is less than or equal to 10"

if (userNum2>10)

{

 userNum2 = 0;

}

else

{

 printf("userNum2 is less than or equal to 10.");

 //'\n' represents end with newline

 printf("\n");

}

//Print userNum2 value

printf("userNum2 is %d. \n", userNum2);

return 0;

}

You might be interested in
HURRRYYYY PLZZ!!
vivado [14]

Answer: A. How much is this vehicle's resale value?

6 0
3 years ago
Read 2 more answers
Cyber security class i need help​
makkiz [27]

Answer:

Explanation:

yooooo it b

5 0
2 years ago
A(n) ______________ ________________ attack keeps the target so busy responding to a stream of automated requests that legitimat
Tanya [424]

Answer:

denial-of-service (DoS) attacks

Explanation:

8 0
3 years ago
The sum of these 9 numbers is 36. 2, 2, 6, 2, 1, 8, 7, 5, 3 What is the mean of these 9 numbers?
fiasKO [112]

Answer:

4

Explanation:

The mean is the sum divided by the count of numbers, so 36/9 = 4

6 0
1 year ago
Read 2 more answers
Can anyone help me with these assignments??? Hands On Assignments- Insertion of Symbols, Special Characters, and Images.... and
Alekssandra [29.7K]

Answer:

yes send me the worksheet

Explanation:

5 0
2 years ago
Other questions:
  • What is the equivalent of film speed in digital cameras?
    6·2 answers
  • A security policy is a
    11·1 answer
  • Big data refers to huge collections of data that are difficult to process, analyze, and manage using conventional data tools. It
    13·1 answer
  • What will the following code print out: int numbers [] = {99, 87, . 66, 55, 101}; for (int i = 1; i &lt; 4; i++) cout &lt;&lt; n
    11·1 answer
  • Read the following example cover letter:
    7·2 answers
  • Percentage-wise, which renewable energy source is used most?
    13·1 answer
  • WHAT DOES THE SCRATCH CODE BELOW DO?
    6·1 answer
  • Look for at least ten materials tools or anything you see at home (tle)
    14·1 answer
  • Patricia Works in a coffee shop and manages the inventory of items.for each item she needs to recover the quantity in stock and
    12·1 answer
  • What is the difference between an html opening tag and a closing tag?.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!