/* Fig. 4.6: fig04_06.c
Calculating compound interest */
#include <stdio.h>
#include <math.h>
/* function main begins program execution */
int main()
{
double amount; /*...
Type: Posts; User: dot_rain
/* Fig. 4.6: fig04_06.c
Calculating compound interest */
#include <stdio.h>
#include <math.h>
/* function main begins program execution */
int main()
{
double amount; /*...
no , that's NOT my homework :p . I am learing C from a book , the above code is from the book , the second one is wat ima thinkin T_T
/* initialization phase */
total = 0;
counter = 0;
/* processing phase */
printf( "Enter grade, -1 to end: ");
scanf( "%d", &grade );
/* loop while Sentinel value is not entered */
while (...
any reply is appreciate sothat people go to the right direction .
Java is popular , but lots programmers seem don't like it that much .
Which fields they use Java in ?
/* simply exercise */
#include <stdio.h>
/* function main begins program execution */
int main()
{
int grade /* declare */
printf( "Enter your grade: " );
scanf( "%d", &grade...
C++ is a better of C . Do programmers just use C++ and push C aside ?