search

Home  >  Q&A  >  body text

Is my C language wrong?

#include<stdio.h>


#define a 0.5


int main()

{ int X;

int NB;

int BN;

int NBA;

int NBNBNB;

printf("Please enter the base: X=");

printf("Please enter the height: NB=");

printf("Please enter the hypotenuse: BN=");

scanf("%d";&X);

scanf("%d";&NB);

scanf("%d&quo

我狂我意我狂我意1954 days ago1431

reply all(1)I'll reply

  • 卢小强

    卢小强2019-10-21 11:58:38

    scanf("$d",$X); There is a comma in the middle, not a quotation mark

    reply
    0
  • Cancelreply