1

[ubuntu] scanf not working and program not running

view story
linux-howto

http://ubuntuforums.org – Code: #include<stdio.h> void main() {     int i,j,b[100],w[100],t[100],s[100],count,max=0,tq,temp=0,temp1,n;     float aw=0,at=0;     printf("\nENTER THE NUMBER OF PROCESSES:");     scanf(" %d",&n);// Warning: ignoring return value of ‘scanf’,  declared with attribute      //warn_unused_result [-Wunused-result] (a)     printf("\nENTER THE PROCESSES BURST TIMES:");     for(i=0;i<n;i++)     {         scanf(" %d",&b[i]); &nbs (Hardware)