Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
data iris1;
input m1-m4 @@;
count ++ 1;
if mod(_n_,3) = 1 then count = 1;
cards;
5.1 3.5 1.4 0.2 7.0 3.2 4.7 1.4 6.3 3.3 6.0 2.5
4.9 3.0 1.4 0.2 6.4 3.2 4.5 1.5 5.8 2.7 5.1 1.9
4.7 3.2 1.3 0.2 6.9 3.1 4.9 1.5 7.1 3.0 5.9 2.1
4.6 3.1 1.5 0.2 5.5 2.3 4.0 1.3 6.3 2.9 5.6 1.8
5.0 3.6 1.4 0.2 6.5 2.8 4.6 1.5 6.5 3.0 5.8 2.2
5.4 3.9 1.7 0.4 5.7 2.8 4.5 1.3 7.6 3.0 6.6 2.1
run;
proc print;run ;
data test ;
do count = 1 to 3 ;
set iris1 ;
output ;
end ;
run ;
proc print;run;
#include<stdio.h>
int main()
{
int i;
for (i = 0; i < 10; i++)
{
printf ("Hello\n");
printf ("World\n");
}
return 0;
}
data _null_ ;
do i = 1 to 10 ;
put "Hello";
put "World";
end ;
run ;
*Print all integers whose sum does not exceed 20 ;
data _null_ ;
do i = 1 to 10 while (tot < 20) ;
put i= tot= ;
tot ++ i ;
end ;
run ;
output:
i=1 tot=0
i=2 tot=1
i=3 tot=3
i=4 tot=6
i=5 tot=10
i=6 tot=15