flowchart into a program using BASIC-256.
Write a program using BASIC-256 satisfying the following conditions.
(a) Find whether the input number is divisible by 7.
(b) If yes, output statement - is divisible by 7.
(c) If not, the program should find the nearest number that is divisible by 7.
(d) Output statement in that case - "The number is not divisible by 7 but the nearest
number divisible by 7 is
Answers
Answered by
4
Answer:
flowchart into a program using BASIC-256.
Write a program using BASIC-256 satisfying the following conditions.
(a) Find whether the input number is divisible by 7.
(b) If yes, output statement - is divisible by 7.
(c) If not, the program should find the nearest number that is divisible by 7.
(d) Output statement in that case - "The number is not divisible by 7 but the nearest
number divisible by 7 is
Similar questions