What does “Permission denied” “Id returned 1 exit status” mean?

I am taking a class on C, and I’m not very good at it , so I would like to ask you, how do I solve the problem: “Id returned 1 exit status”, I have been struggling with it for quite a while, so I would really appreciate your help.

#include <stdio.h>
#include<conio.h>
#include<windows.h>
int main()
{
  int P, N, NP=0;
  printf("Introduzca en nombre del producto:\n");
    scanf("%f", &N);
  printf("Introduzca en precio del producto:\n");
    scanf("%f", &P);
  if (P <= 1500)
        NP=P*1.11;
  else 
        NP=P*1.08;
   printf("El producto %d cuesta %d", NP, N);
   getche();
   return 0;
}

The full list of errors is:

Permission denied

Id returned 1 exit status

Leave a Comment