Hello there!

I am having trouble in school with some basic and easy (not for me) C++ programming.
If you could help me, I need codes for these programs to pass a high school grade. I study IT school, but I study multimedia and presentation, but they want basic programming too and I have no idea what to do with it.

Thanks for any help guys!

Create a program, which determines every prime number in interval <1;100> and then print to screen:
Prime numbers in range 1 – 100
number of prime numbers: NN
prime numbers: N N N N N N N N … N

http://prntscr.com/14dmw1 (this is printscreen for another project, by operator I mean + - * /)

Create program, which declarates field formed by matrix named OKTO[8;8]. Matrix’s elements will be saved to file named OKTO_DATA, from element 1,1 to 8,8 where 1,1 to 1,8 is one entry.
For calculation value of elements you have to apply I+1 is double of I.

http://wikisend.com/download/135354/moonlanding.jpg (link for image of flowchart)

I beg anyone who can help me to help me, I know really nothing about programming, so I cant discuss this
any help will save my pass to another year of high school, I would be very very very thankfull if anyone helps.
PS: sorry for grammar or any english mistakes, it isnt my native language.