/*Output Section */
printf ("\nThat height is equivalent to " "%1f" " feet and " "%2f" " inch(es).\n");
scanf ("%f", &FEET);
scanf ("%f", &INCHES);
azn_sweet 0 Newbie Poster
Recommended Answers
Jump to PostThe printf() statement contains %s and %f, but there are no arguments for them
char message[] = "Hello World"; printf("%s\n", message);
In the above, mssage is passed as an argument to printf(). Your printf() needs similar arguments.
All 2 Replies
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Aia 1,977 Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.