Computer Science, asked by shaun5, 1 year ago

write an algorithm and draw a
flowchart to print all numbers
between 1 and 1000 that are divisible by 7.​

Answers

Answered by meghana1308
5

Hlo mate here is ur ans....

ALGORITHMS AND FLOWCHARTS

A typical programming task can be divided intotwo phases:

Problem solving phase

produce an ordered sequence of steps that describesolution of problem

this sequence of steps is called an

algorithm

Implementation phase

implement the program in some programminglanguage

Steps in Problem Solving

Steps in Problem Solving

Steps in Problem SolvingFirst produce a general algorithm (one can use

Steps in Problem SolvingFirst produce a general algorithm (one can usepseudocode

Steps in Problem SolvingFirst produce a general algorithm (one can usepseudocode )

Steps in Problem SolvingFirst produce a general algorithm (one can usepseudocode )

Steps in Problem SolvingFirst produce a general algorithm (one can usepseudocode )Refine the algorithm successively to get step bystep detailed

Steps in Problem SolvingFirst produce a general algorithm (one can usepseudocode )Refine the algorithm successively to get step bystep detailedalgorithm

Steps in Problem SolvingFirst produce a general algorithm (one can usepseudocode )Refine the algorithm successively to get step bystep detailedalgorithm that is very close to acomputer language.

Steps in Problem SolvingFirst produce a general algorithm (one can usepseudocode )Refine the algorithm successively to get step bystep detailedalgorithm that is very close to acomputer language.

Steps in Problem SolvingFirst produce a general algorithm (one can usepseudocode )Refine the algorithm successively to get step bystep detailedalgorithm that is very close to acomputer language.Pseudocode

Steps in Problem SolvingFirst produce a general algorithm (one can usepseudocode )Refine the algorithm successively to get step bystep detailedalgorithm that is very close to acomputer language.Pseudocode is an artificial and informallanguage that helps programmers developalgorithms. Pseudocodeis very similar toeveryday English.

Pseudocode

Pseudocode:

Pseudocode:

Pseudocode:Input a set of 4 marks

Pseudocode:Input a set of 4 marks 

Pseudocode:Input a set of 4 marks Calculate their average by summing and dividingby 4

Pseudocode:Input a set of 4 marks Calculate their average by summing and dividingby 4 

Pseudocode:Input a set of 4 marks Calculate their average by summing and dividingby 4 if average is below 50

Pseudocode:Input a set of 4 marks Calculate their average by summing and dividingby 4 if average is below 50 Print “FAIL”

Pseudocode:Input a set of 4 marks Calculate their average by summing and dividingby 4 if average is below 50 Print “FAIL” else

Pseudocode:Input a set of 4 marks Calculate their average by summing and dividingby 4 if average is below 50 Print “FAIL” else Print “PASS”

❤️❤️Hope this helps u ❤️❤️

✌️Pls Mark as brainliest✌️

Answered by singhadiarmylover
1

Answer:

So we can do the following: Sum of odd consecutive integers from 1 to 100 = (Sum of all consecutive integers from 1 to 100) - (Sum of even consecutive integers from 1 to 100). Sum of odds = (100 x 101/2) - [2 x (50 x 51/2)] = 5050 - 2550 = 2500. Now, the set {3,5,7,9...✔✔

Explanation:

The number series 2, 4, 6, 8, 10, 12, . . . . , 200. Therefore, 10100 is the sum of first 100 even numbers.✔✔Write a C program that prints all even numbers between 1 and 50 (inclusive).

Pictorial Presentation:

C Code: #include <stdio.h> int main() { int i; printf("Even numbers between 1 to 50 (inclusive):\n"); for (i = 1; i <= 50; i++) { if(i%2 == 0) { printf("%d ", i); } } return 0; } ...

Flowchart:

C Programming Code Editor:✔✔

Similar questions
Math, 1 year ago