Docsity

Programming Assignment: Input and Display of Individual Digits and Circle Calculations, Exercises of Computer Engineering and Programming

Toggle sidebar
bg1
Assignment
1. Write a program that takes four integers as input from user. And shows the digits on the screen
separately i.e. if user enters 1234, it displays 1,2,3,4 separately
2. Write a program that takes radius of the circle from user and calculates the diameter,
circumference and area of the circle and display the result.
docsity.com

Partial preview of the text

Download Programming Assignment: Input and Display of Individual Digits and Circle Calculations and more Exercises Computer Engineering and Programming in PDF only on Docsity!

Assignment

  1. Write a program that takes four integers as input from user. And shows the digits on the screen separately i.e. if user enters 1234, it displays 1,2,3,4 separately
  2. Write a program that takes radius of the circle from user and calculates the diameter, circumference and area of the circle and display the result.

docsity.com