Computer Science, asked by kimaya4007, 1 year ago

Write a a algorithm for a program that adds two digits numbers divisible by 3

Answers

Answered by Anonymous
9

Answer:

                                                                   false-> i++

Click to let others know, how helpful is it

2.0

1 vote

THANKS 6

Report

Amitnrw★ Brainly Teacher ★

Answer:

Sum = 0 + 12 + 15 + ................................+ 99

Explanation:

START

Input  N , S

N = 12  S = 0

if N < 100

S = S + 12

N = N + 3   ( go back to N < 100)

Print S

END

S = 0

For ( N = 12 ,  N < 100 , N = N + 3)

{

S = S + N

}

Print S

Sum = 0 + 12 + 15 + ................................+ 99

Answered by Anonymous
0

Answer:

                                                                   false-> i++

Click to let others know, how helpful is it

2.0

1 vote

THANKS 6

Report

Amitnrw★ Brainly Teacher ★

Answer:

Sum = 0 + 12 + 15 + ................................+ 99

Explanation:

START

Input  N , S

N = 12  S = 0

if N < 100

S = S + 12

N = N + 3   ( go back to N < 100)

Print S

END

S = 0

For ( N = 12 ,  N < 100 , N = N + 3)

{

S = S + N

}

Print S

Sum = 0 + 12 + 15 + ................................+ 99

Similar questions