1
#include <stdio.h>
main()
{
float n1,n2;
do {
printf("Informe dois numeos:");
scanf("%f %f", &n1, &n2);
if (n1>n2){
printf("DECRESCENTE"); }
else {
printf("CRESCENTE"); }
}
while (n1!=n2);
system("pause");
}
Can anyone tell me why it’s not spinning? Of those mistakes
C: Program Files (x86) Dev-Cpp Mingw64 x86_64-W64-mingw32 bin Ld.exe cannot open output file C: Users Andressa Lilja Desktop IF PROGRAMAÇÃO 5.4.exe: Permission denied C: Users Andressa Lilja Desktop IF PROGRAMAÇÃO collect2.exe [Error] Ld returned 1 Exit status
How you are compiling the program?
– thiagowfx
Although it doesn’t look very well written, the code is compiling, test here
– MarceloBoni
Which compiler are you using ?
– Edilson