How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Homework Help Your Own Question

Homework Help
Homework Help, Tutor
Category: Homework
Satisfied Customers: 8148
Experience:  Programming Expert since 5+ years. Expertise in C, C++, .Net, Java, Pseudocode, Cobol, Python.
14055801
Type Your Homework Question Here...
Homework Help is online now
A new question is answered every 9 seconds

Programming with C (This program header, except for this

This answer was rated:

Programming with C

(This program header, except for this sentence of course, is required in all submitted programs)

Program file: currency.c
Author: John Doe
Email: [email protected]
Date: September 15, 2021
Assignment: #1
Course #: 90.211.031
Objective: This program is a basic introduction to C.

Write a C program that calculates and prints three lines of output.
Once you create, compile, link and run your program, the following should be output
from your program(with your name inserted in line 1):

This program was written by Jim Sears.

Programming is fun, and programming in C is more fun.

Thanks for using the program.

Coding Guru :

Hi Welcome to JustAnswer.com I am Coding Guru and today, I will be trying my best to solve your issue.

Coding Guru :

What should be the file name?

Coding Guru :

Is it currency.c or something else?

Customer:

loukar1.c

I think I need to copy and paste the code into the compiler and save it that way. Big emphasis on think.

Coding Guru :

yes, it needs to output those lines, right?

Customer:

Correct

Coding Guru :

I will give you the code in 5 minutes

Customer:

Thanks!

Coding Guru :

You're welcome

Coding Guru :

Stand by please

Customer:

OK

Coding Guru :

thanks

Coding Guru :

#include<stdio.h>
int main()
{
printf("This program was written by Jim Sears.\n");
printf("Programming is fun, and programming in C is more fun.\n");
printf("Thanks for using the program.");
return 0;
}

Coding Guru :

This should be the code.

Coding Guru :

Let me know if any questions.

Customer:

How do I include the block at the beginning?

Customer:

I'm sorry, I mean the program header

Coding Guru :

Sorry, will give you the c file

Customer:

No, that part isn't necessary. I just wanted to know if I just copy and paste the program header into the beginning, before pasting in the code.

Coding Guru :

It should be something like the below

Coding Guru :

/*
Program file: currency.c
Author: John Doe
Email:[email protected]
Date: September 15, 2021
*/

#include<stdio.h>
int main()
{

printf("This program was written by Jim Sears.\n");
printf("Programming is fun, and programming in C is more fun.\n");
printf("Thanks for using the program.");
return 0;
}

Customer:

Excellent. Thank you so much.

Coding Guru :

You're most welcome. Please let me know if you have further questions.

Customer:

I will. Odds are you'll be seeing me again. :)

Coding Guru :

If you would like to work with me in future, I will be glad to help. :)

Coding Guru :

I am Gabriel - Coding Guru for your reference.

Customer:

Thank you very much, Gabriel. Have a great day.

Coding Guru :

Thank you.

Coding Guru :

You too have a great time!

Coding Guru :

Please do leave me a rating below using the smileys. :)

Homework Help and 2 other Homework Specialists are ready to help you