yeah I hadnt added the return 0 cuz i'm trying to figure out this program lol, but i will put that in the end, and thx for cataching the "%d"!
I've changed to code to this
#include...
Type: Posts; User: seal
yeah I hadnt added the return 0 cuz i'm trying to figure out this program lol, but i will put that in the end, and thx for cataching the "%d"!
I've changed to code to this
#include...
This is what I have so far...
#include <stdio.h>
int main ()
{
int agex;
double salaryy;
double savez;
I dont even know what kinda coding i'm supposed to write for this project :(
all I know is I gotta use loops, and at least 3 userdefined functions
I wish I could help you man... i'm new to programming too, and loops can confuse me...
english is not my 1st language, so I got a little bit confused I guess...
Here is the directions I have for my assignment
A student of the FAU Computer Science program graduates on their birthday at age X.
They are immediately hired by a company at salary Y (after...
dang... cant believe i missed those.... thx!
#include <stdio.h>
int main ()
{
double a;
double b;
double s1;
double s2;
double hyp;
printf ("please give the value of side a\n");
scanf ("%lf", &a);
cool thx man exactly it :D
say we divded 137 by 50... the asnwer is 2, now we have 37 left... is there a way to just store this info?
i was comparing 'pow' to batman pow not the pow ()
could have told me how to use it and saved us alot of trouble but oh well, thx for the help that u've provided
thx for showing me how to use pow () :)
actually you would get alot of references to POW as in prisoner of war...
last time i checked this was a msg board for programming, and it doesnt say no basic questions allowed
how do i use the pow?
i did
side1 = m pow(2) - n pow(2);
i dunno how to use pow :(
ok lemme try
What is wrong with this? cant figure it out... perhaps the square sign i'm using is the wrong square sign?
#include <stdio.h>
int main ()
{
double m;
double n;
there ya go...
thx!
http://img350.imageshack.us/img350/619/icon2dh.jpg
thats what i mean
and i dont see it there :rolleyes:
nonono....
http://img389.imageshack.us/img389/8255/icon7uv.jpg
the image that represents the program... :)
prolly not even program related, but i dunno how to change/assign icons... maybe...
awesome... got it thx :)
not sure if this is the right forum for this, but how do i put an icon instead of the console looking thingy so when I give the program to others, they dont see the console :D
i'm using dev-C++
...
Well I finally got my basic accoutning program done, but I want it so that it doesnt quit right after it computes the info (so people dont have to use command everytime....
I cant figure out where...
dont think so, the program runs smooth
why whats wrong with it and where?