A programming assignment for students, requiring them to write two separate programs. The first program takes four integers as input from the user and displays each digit individually. The second program takes the radius of a circle as input and calculates and displays the diameter, circumference, and area of the circle.
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
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
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.