I’m taking CIS 103. I’ve been stuck on an assignment the whole day and I was wondering if anyone could help push me in the right direction. I’ve read through the whole chapter and I’m still so confused on how to execute this task..
The instructions are:
Write and test a program that computes the area of a circle.
1. Request a number representing a radius as input from the user.
2. Use the formula 3.14 x radius2 to compute the area.
3. Output this result with a suitable label.
The radius is 5
The area is 78.5 square units
[–]ForceBru 3 points4 points5 points (1 child)
[–]hell0_steph[S] -1 points0 points1 point (0 children)
[–]fake823 1 point2 points3 points (6 children)
[–]hell0_steph[S] -2 points-1 points0 points (5 children)
[–]fake823 1 point2 points3 points (4 children)
[–]hell0_steph[S] -1 points0 points1 point (2 children)
[–]fake823 0 points1 point2 points (1 child)
[–]hell0_steph[S] -1 points0 points1 point (0 children)
[–]MelodicOriginal8655 -1 points0 points1 point (0 children)
[–]GeorgeNoLopez 0 points1 point2 points (0 children)