1) Write a program to take as input three integers for (a) incrementing, (b) skipping and (c)
ending. Your program should start counting from zero, incrementing by a, skip b and end
at c.
Example 1:
input: 2, 6, 12
output: 0, 2, 4, 8, 10, 12
2) Write a program that takes as input a class score. Output the grade for the class based on
the following guideline:
 90 and above is A
 80 and above is B
 70 and above is C
 60 and above is D
 Anything less than 60 is F
 Anything more than 100 or less than
0 is invalid input
can you help me to write this code

Recommended Answers

All 2 Replies

Why does this look so much like Homework 2 and 3 at http://c-class.weebly.com/homework.html

If anyone does this work for you, can we copy this to Art Wangperawong, PhD with your name too, just to be fair?

Sorry but I should have added this as well.

https://www.daniweb.com/welcome/rules notes:

Do provide evidence of having done some work yourself if posting questions from school or work assignments

This way we can see how far you progressed plus you can ask a question like "Why does line 42 not tell me the answer to the ultimate question of life, the universe, and everything,

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.