Asked by wondu
how to write c++ program to compute to display natural number between 1 and 30 which are divisible by 12
Answers
Answered by
Damon
I guess I would let n = 0 and y = 0
then I would say n = n+1
y = 12 * n
if y > 30 go to the end immediately and stop
then I would store and print y
go back to that n = n+1
stop and end
then I would say n = n+1
y = 12 * n
if y > 30 go to the end immediately and stop
then I would store and print y
go back to that n = n+1
stop and end
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.