CAT 1 Submission
CAT 1 Submission
Floating constants- represent numbers with decimal points or written in scientific notation
A literal is a fixed value directly written in the code representing constant data
No special spaces or characters, variable names can only include digits, letters and underscore
E. Write a program that prompts the user to enter the radius of a circle.The program should then
compute both area and circumference of a circle. PI should be declared as a constant
#include <stdio.h>
// Define PI as a constant
#define PI 3.14159
int main() {
float radius, area, circumference;
return 0;
F.