Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

So I have never done any sort of programming in my life and I\'m trying to do my

ID: 3619889 • Letter: S

Question

So I have never done any sort of programming in my life and I'm trying to do my cs homework but I'm stuck and need help desperately!
Okay here's the one I'm stuck on:
"Write a single statement that will print the message "first is " followed by the value of first, and then a space, followed by "second = ", followed by the value of second. Print everything on one line and go to a new line after printing. Assume that first has already been declared as a double and that second has been declared as an int. Assume also that the variables have already been given values."

Any help would be awesome!

Explanation / Answer

please rate - thanks you never answered my message as to what language. because of this statement I'm assuming the language is C
printf("first is %f second = %d ",first,second);
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote