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

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

#include  int 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!