Run id: 114649

Main.cc: In function 'int main()':
Main.cc:9:11: error: 'i' was not declared in this scope
     for ( i=1;i<=10;i++){;
           ^
Main.cc:12:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
     printf("%d",h);
                  ^