bombhorridsuperman bombhorridsuperman
  • 01-10-2020
  • Computers and Technology
contestada

PLZ HELP ME ITS URGENT PlZ PLZ PLZ
Write a program to check whether the given number is positive or negative(c++)

Respuesta :

dancekrazeayushoffic
dancekrazeayushoffic dancekrazeayushoffic
  • 01-10-2020

Answer:

#include <stdio.h>

void main()

{

int num;

printf("Input a number :");

scanf("%d", &num);

if (num >= 0)

printf("%d is a positive number \n", num);

else

printf("%d is a negative number \n", num);

}

Explanation:

good luck.

hope it helped you.

pls mark brainleist

Answer Link

Otras preguntas

From their sweet feeding in the fruit; / The droning of the bees and flies/ Rises gradual as a lute;
HELP PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
4. Describe how Steinbeck characterized Route 566.
consider a charge of -15.0 mCmoving to the right a 2.00x10^6 m/s in a mganetic field of .0300 T pointing upwards. What is the magitude and direction of the forc
Leah sent 574 text messages last week. Write and solve an equation to find, on average, how many messages she sent each day?
The woman who met us had an imposing beauty. She was y’all and large boned. Her face was strongly molded, with high cheekbones and the skin the color of mahogan
ended up getting the last one, i'm on a whole new practice lesson now...please help. giving brainliest.
What is the formula for wave velocity?
Determine whether the points (-3, -5) OR (3,1) are solutions to the system of equations. Analyze each point individually when detailing your answer. In order to
completely Factor the expression -18 P - 9​