1986年颁布的《中华人民共和国义务教育法》规定我国普及义务教育的年限为()
A.7年
B.8年
C.9年
D.10年
参考答案:C
In relation to the Labour Contract Law of China:
(a) state the remedial measures an employee is entitled to take if an employer delays in paying, or fails to pay, wages or salaries; (4 marks)
下列给定程序中,函数fun()的功能是:用下面的公式求π的近似值,直到最后一项的绝对值小于指定的数(参数num)为止。π/4≈1-1/3+1/5-1/7+… 例如,程序运行后,输入0.0001,则程序输出3.1414。 请改正程序中的错误,使它能得出正确的结果。 注意:不要改动main函数,不得增行或删行,也不得更改程序的结构。 试题程序: #include <math.h> #include <stdio.h> float fun(float num) int s; float n,t, pi; t=1 ;pi=0; n=1; s=1; /**************found***************/ while (t>=num) pi=pi+ t; n=n+2; s=-s; /**************found**************/ t=s% n; pi=pi*4; return pi; main ()float n1, n2;clrscr ();printf ("Enter a float number: ");scanf ("%f", &n1);n2=fun (n1);print f (" %6.4 f\n ", n2);