I have this program that I wrote a few weeks ago:
#include<stdio.h>
#include<conio.h>
int main()
{
float grade;
printf("\nEnter Grade:\n");
scanf("%f", &grade);
Type: Posts; User: asanchez1171
I have this program that I wrote a few weeks ago:
#include<stdio.h>
#include<conio.h>
int main()
{
float grade;
printf("\nEnter Grade:\n");
scanf("%f", &grade);
thanks for the link it was very helpful
Thank you for your help :biggrin:
#include<stdio.h>
int main(){
for(;;) {
printf("%d ",10);
}
return 0;
}
The output is an infinite loop. What causes it to be an infinite loop?
This is an code was given to me to run and explain why i got it. I just wanted to know how I got this output.
#include<stdio.h>
int main(){
int i=1;
for(i=0;i=-1;i=1) {
printf("%d ",i);
if(i!=1) break;
}
return 0;
}
#include<stdio.h>
int main(){
int x=011,i;
for(i=0;i<x;i+=3){
printf("Start ");
continue;
printf("End");
}
return 0;
}