I need help To comment this program for my college work

#include <stdio.h>

int main()
{
    int a;
    a = 0;
    while (a <= 300)
    {
		  printf("%4d degrees F = %4d degrees C\n",
            a, (a - 32) * 5 / 9);
		  a = a + 20;
    }
    return 0;
}

Recommended Answers

All 3 Replies

That is a C program, not C++. What parts don't you understand ?

What help u want from this program.....

wat do u dont understand???

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.