The same way we do it in every other programming language: we start with the canonical "hello world" application:
#include<stdio.h>
int main (void) {
printf ("Hello world!\n");
return 0;
}
Every other C program is merely an extension of the hello world application.
Write a simple program in finding roots x^3-6x^2+11x-6.1=0
Reference:cprogramming-bd.com/c_page1.aspx#simpleinterest
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
a c program for creat a virus
Into the source program.
A+(B+C**3) (A-(+D+B/A+B)
It is the "Tower of Hanoi" and it is a puzzle. When you can solve the puzzle you can write the program, when you have learned enough to write simple programs. You do want to be able to write computer programs, don't you?
Write a c program to compute the surface area and volume of a cube
There is no need to write a C program for circuit analysis; there are lots of packages out there that already do that (for example, Spice).
To write a C program to determine if something is odd or even you need to be a programmer. To write a program in C is complicate and only done by programmers.
try Just Basic or DEV-C++
For first find an example program.