单项选择题

A、n=Math.round(Math.random(100))+1;
B、n=Math.round(Math.random()*100)+1;
C、n=Math.floor(Math.random(100))+1;
D、n=Math.floor(Math.random()*100)+1;