Computer Science, asked by agarwalasarita, 1 year ago

write an algorithm to input your name and address and display it

Answers

Answered by arnav129
33

Explanation:

1.Enter your name

2.Display your name.

3.Enter your address.

4.Display your address

Answered by mariospartan
18

Algorithm:

To input name and address and displaying it:

  • Step 1: Start
  • Step 2: Declare the variables name, address.
  • Step 3: Read values of name, address from the user.
  • Step 4: Display name, address.
  • Step 5: End

Explanation:

An algorithm can be defined as a set of rules or a collection of procedures, where it has to be developed in order to develop a solution for logical problems and as well as mathematical problems.

On a technical basis, the computer will be expecting the algorithm to provide very detailed instructions in order to run an operation or resolving a problem. Here, every algorithm is initiated, by declaring the main variables namely name and address. The values of the variables can get from users. Then the final output will be displayed has to be displayed.

Similar questions