I have a question,,Its all about homework

Question score/item*50+50= Average,,How do I make the program of this situtation,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.