Write a program to take one integer number as input and assign its value to another

In this program, we will take an input number and assign its value to another. 

This post content:-

  • Algorithm
  • Flowchart
  • C code
  • Output
  • Pdf notes

Algorithm:-

Step 1:-start.

Step 2:-declare the variables a and b.

Step 3:-take the input for variable a.

Step 4:-assign variable a to b.

Step 5:-print variable b.

Step 6:-end.


Flowchart:-


C code:-


Output:-

Comments

Popular posts from this blog

Develop and execute C Program to Add Two Distances given in kilometer-meter Using Structures.

Develop a c program to find the sum of all elements stored in a given array using a pointer.