Page 1 of 1

6. Explain what each line of this C program does. (15 Points) Numbers.c Date Created: 11/08/2019 Created By: SeeEss Thre

Posted: Sat May 14, 2022 6:48 pm
by answerhappygod
6 Explain What Each Line Of This C Program Does 15 Points Numbers C Date Created 11 08 2019 Created By Seeess Thre 1
6 Explain What Each Line Of This C Program Does 15 Points Numbers C Date Created 11 08 2019 Created By Seeess Thre 1 (35.76 KiB) Viewed 50 times
6. Explain what each line of this C program does. (15 Points) Numbers.c Date Created: 11/08/2019 Created By: SeeEss Three Ten 1 #include <stdio.h> #include <math.h> int main(void) { float num1,num2=5; printf("Please enter a number (such as 3.251): "); scanf("%f", &num1 ); printf("\n You entered: %f", num1 ); printf("\n\n%f raised to the 5th power is is: %.3f", num1, pow(num1,num2)); printf("\n\n"); return 0; }