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
Code is the code or instructions used to create a Web page or<br> program.
Paha777 [63]
Answer:
HTML
Explanation:

5 0
3 years ago
What is a device that makes it possible for multiple customers to share one address is called a/n
chubhunter [2.5K]
I'm totally not sure but I think sec midterm flashcards
4 0
4 years ago
How many components of a computer? ​
zepelin [54]

Answer:

There are five main hardware components in a computer system: Input, Processing, Storage, Output and Communication devices. Are devices used for entering data or instructions to the central processing unit.

Explanation:

8 0
3 years ago
Web page typically contains _______, which contains the formatting instructions for displaying the web pag
MatroZZZ [7]

The answer in the blank is HTML or also referred to as Hypertext Markup Language as this is always included with the World Wide Web pages for they are always essential and needed. It is because it is a standardized system that would help the resources of the internet that is to be displayed on the page.

6 0
3 years ago
Convert 7.125 base 10 to binary​
Ipatiy [6.2K]

Answer:

The binary [base] is 2

Explanation:

7.12510 in binary

111.0012

8 0
2 years ago
Other questions:
  • Manipulate the SQL statement to pull ALL fields and rows from Customers table that have a PostalCode of 44000. TIP: Since Postal
    13·1 answer
  • Which option will enable Mina to apply several formats to the spreadsheet cells at the same time? A. cell content B. cell patter
    13·1 answer
  • When you use a mouse to select a row or column in a table, word displays a(n) ____?
    5·1 answer
  • Businesses finance their operations using a mixture of ______. debt,
    14·1 answer
  • 1. Write a recursive method to determine if a character is in a list of characters in O(logN) time. Mathematically prove (as we
    13·1 answer
  • Create an application named TurningDemo that creates instances of four classes: Page, Corner, Pancake, and Leaf. Create an inter
    7·1 answer
  • Program 1: I’m buyin’ a Ferrari! If you’ve ever travelled to another country, you know that working with different currencies ta
    6·1 answer
  • What led to fall of axum?
    15·2 answers
  • Select the true statement about HTML. HTML is a language that is used to create Web pages. HTML tags tell a web browser when to
    7·2 answers
  • So this is what i use to code and all of that
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!