1)write a program to read in an integerN>2 and determine if N is prime number.
2)y=x^4_5x^2+7x-8 write a program which calculate y for values of x from -4 to 4in steps of 0.2. prite x and itscorresponding y value on diffferent lines.
3)print each two-digit odd number N,N^2,N^3 on different lines. the program should be written so that the column of N is headed by NUMBER, N^2 by SQURE,N^3 by CUBE.
2006-10-28
08:20:26
·
1 answers
·
asked by
kater al nada
2
in
Computers & Internet
➔ Programming & Design