Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Design an algorithm to print integers divisible by 3, from 1 to N. N should be input by the user.

42 views
Skip to first unread message
Message has been deleted

Victor Bazarov

unread,
Mar 25, 2016, 2:35:19 PM3/25/16
to
On 3/25/2016 2:33 PM, Merve Tektaş wrote:
> 1. Design an algorithm to print integers divisible by 3, from 1 to N. N should be input by the user.
> a. Write pseudo code of your solution first.
> b. Write the c code for your solution.
>

Oh, "c code"? Wrong newsgroup. Down the corridor, to your left, try
'comp.lang.c'. They don't do homework either, though...

V
--
I do not respond to top-posted replies, please don't ask

Ben Bacarisse

unread,
Mar 25, 2016, 3:18:24 PM3/25/16
to
Victor Bazarov <v.ba...@comcast.invalid> writes:

> On 3/25/2016 2:33 PM, Merve Tektaş wrote:
>> 1. Design an algorithm to print integers divisible by 3, from 1 to
>> N. N should be input by the user.
>> a. Write pseudo code of your solution first.
>> b. Write the c code for your solution.
>>
>
> Oh, "c code"? Wrong newsgroup. Down the corridor, to your left, try
> 'comp.lang.c'. They don't do homework either, though...

... in fact it turns out they do! The OP got a solution with only a few
rough edges in about 21 minutes. (They posted to comp.lang.c first, I
think.)

--
Ben.

red floyd

unread,
Mar 25, 2016, 7:25:44 PM3/25/16
to
On 3/25/2016 11:33 AM, Merve Tektaş wrote:
> 1. Design an algorithm to print integers divisible by 3, from 1 to N. N should be input by the user.
> a. Write pseudo code of your solution first.
> b. Write the c code for your solution.
>
Do your own homework.
0 new messages