design an algorithm using IF statement to assign grades to an exam marks:
1.Marks below 40 is F
2.Marks greater than or equal to 40 and less than or equal to 50 is D
3.Marks greater than 51 and less than 70 is B
4.Marks greater than or equal to 71 is A
auginiesta 0 Newbie Poster
phorce 131 Posting Whiz in Training Featured Poster
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.