Hi, how would this be written using scilab?

   int vet[10];
   int i=0;

   do
   {
       vet[i]=i;
       i++;
   }
   while (i<5);

    printf("%i",vet[3]); //prints the number 3

Thanks.



--
View this message in context: 
http://mailinglists.scilab.org/help-converting-a-simple-C-code-to-Scilab-tp4030411.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to