SHOWSIGN.C
Upload User: qq5388545
Upload Date: 2022-07-04
Package Size: 29849k
Code Size: 0k
Category:

GUI Develop

Development Platform:

C/C++

  1. #include <stdio.h>
  2. void main ()
  3.  {
  4.    int neg_int = -5;
  5.    int pos_int = 5;
  6.    
  7.    float neg_flt = -100.23;
  8.    float pos_flt = 100.23;
  9.    printf("The integer values are %+d and %+dn",
  10.      neg_int, pos_int);
  11.    printf("The floating point values are %+f %+fn",
  12.      neg_flt, pos_flt);
  13.  }