filmov
tv
Chapter 6 : Preparatory Practice Programs with Visualized Program Control Flow

Показать описание
Let’s Learn:
Program 2. Accept a persons name and greet that person by the name.
Program 3. Accept the full name of a person and wish that person by the full name.
Program 4. Accept radius from user and find the area of a circle (pi * r * r). Use pre-processor directive to define value of pi as 3.1415
Program 5. Accept 2 numbers and find their sum, difference, product and quotient.
Program 6. Declare variables a, b with values 10, 4. Assign b to a. Change b to 7. Print final values of a, b. Declare constant c with value 5. Print c. Can you change c to 15 ?
Creating a Strong foundation for Programmers & Geeks. Learn from scratch. Evolve your Career.
Program 2. Accept a persons name and greet that person by the name.
Program 3. Accept the full name of a person and wish that person by the full name.
Program 4. Accept radius from user and find the area of a circle (pi * r * r). Use pre-processor directive to define value of pi as 3.1415
Program 5. Accept 2 numbers and find their sum, difference, product and quotient.
Program 6. Declare variables a, b with values 10, 4. Assign b to a. Change b to 7. Print final values of a, b. Declare constant c with value 5. Print c. Can you change c to 15 ?
Creating a Strong foundation for Programmers & Geeks. Learn from scratch. Evolve your Career.