C語言常用函數(shù)庫:
http://blog.csdn.net/qq_36955347/article/details/71511900
一、怎么使用數(shù)學(xué)運(yùn)算符
作業(yè)1:產(chǎn)生一個(gè)0到10間的函數(shù):
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
srand((unsigned) time(NULL));
//產(chǎn)生隨機(jī)數(shù)的起始數(shù)據(jù)(以時(shí)間為種子)
int n = rand() %10;
printf("%d\n",n);
}