(Solved) : Using Geany Write Following C Program Include Inxmain Void Int 3 B 4 E Double F 4 C D D B Q43981694 . . .
- Using Geany, write the following C program as is:#include <stdio.h>inxmain (void){ int a = 3; b = 4, e; Double f = 4, c, d; d = a + b; c = a / (f – b); printf (The value of d is %d”n, d) return (0);}
- Compile the program.
- This program contains syntax errors. On a piece of paper,indicate each one of them and make the appropriatecorrections.
- Write your answers in a text file.
- Try to correct the errors. Compile and build the program withall the corrections made.
- Once the syntax errors have been corrected, there are twoerrors that remains when you try to run it (one is called a runtimeerror because you are trying to do something illegal, the other isa logic error because you made a small mistake in the program).What are they? Tell your TA or ask for hints!
- Correct the errors and compile and run the program again. Whatvalue of d is displayed?
Expert Answer
Answer to Using Geany, write the following C program as is: #include inx main (void) { int a = 3; b = 4, e; Double f = 4, c, d; d…
OR