Si o no

Page 1

#include <stdio.h> #include <conio.h> #include <windows.h> #include <math.h> main() { int n; clrscr(); printf("programa numero\n"); printf("ingrese el numero\n"); scanf("%d",&n); if(n>0) { printf("positivo\n"); } else { printf("negativo\n"); } system("pause"); }


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.