9. If you are given this code: #include #include #include int main() { float num1, num2; float calculation; float pi=3.14; float e 2.72; printf("\nEnter First Number:\t"); scanf("%f", &num1);...


9. If you are given this code:<br>#include<stdio.h><br>#include<stdlib.h><br>#include<string.h><br>int main()<br>{<br>float num1, num2;<br>float calculation;<br>float pi=3.14;<br>float e<br>2.72;<br>printf(

Extracted text: 9. If you are given this code: #include #include #include int main() { float num1, num2; float calculation; float pi=3.14; float e 2.72; printf("\nEnter First Number:\t"); scanf("%f", &num1); printf("\nEnter Second Number:\t"); scanf("%f", &num2); calculation = (num1*num2*pi)/(e); printf("\nThe calculation is: %f", calculation); printf("\n"); return 0; } Modify this code by using functions and global declarations (instead of locals).

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here