Question: Can someone please help me, I cannot find out what is wrong with the scan_f portion of my code to make it not have any

Can someone please help me, I cannot find out what is wrong with the scan_f portion of my code to make it not have any errors. If anyone has knowledge I am trying to create this to have FUNCTIONAL CORRECTNESS. I do not know my errors. here is the raw code for pasting
#includeint main() { printf("Hello, World! "); int i = 0; float f = 3.14; double d = 7.67; char c = 'g'; char* str = "Welcome!"; printf("%d", i); // Add a printf for each of the data types printf("Please enter a number: "); scanf_s("%d", &i); printf("You entered %d", i); return 0;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
