[Scilab-users] [help] converting a simple C code to Scilab

Alessandro Schmitt aloha.schmitt at gmail.com
Fri May 2 01:41:09 CEST 2014


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.



More information about the users mailing list