okay! i fixed my code and it works like I wanted. Can you please critiqued it and comment how I could make more efficient.
#include <stdio.h>
#include <stdlib.h>
int series()
{
int u_input...
Type: Posts; User: tru.cutru
okay! i fixed my code and it works like I wanted. Can you please critiqued it and comment how I could make more efficient.
#include <stdio.h>
#include <stdlib.h>
int series()
{
int u_input...
Thanks for pointing out the rest of the errors. Going back to the parallel formula (and dividing and multiplying in general). If user inputs 0 for multiplication, the result will always print out...
My assignment is to create a program that has 3 options:
a) add in series
b) add in parallel
c) quit
So far this is what I have. However, I'm stuck in the parallel function, I can not figure...
This is my code and this is my logic
#include "stdafx.h"
#include "stdio.h"
#define SIZE 7
int main()
{
indeed it works. I am confused as to how it exactly works but I will dig into it, thank you.
I didnt even know I was calling the main "recursively" Can you further explain what is that? Or Ill look it up. So taking the main() out will get the job done. But If I take out the main() then how...
please? lol
Is a menu and the only thing that works as of now is the option 0 and q to terminate. Everything works fine but the only thing that bothers me is that when I ran the program I can press q and the...
OH JESUS. I probably had that wrong on my other code too. Thanks
I am pretty sure my code is right i copied it right out of the book. But for some reason I get this error message
First-chance exception at 0x667f6af2 (msvcr90d.dll) in doingWallE.exe: 0xC0000005:...
the % instead of the & was indeed a typo (I had moved on and changed my code, and I clicked undo several times and modified the code, only so I could post my question). Actually I've encountered...
oh okay thanks. So is only use for boolean? is not use for anything other than boolean expressions. Thank you
why is it wrong? i put the 'q' i just took them out by mistake when i put it on the thread
i can move the code around and make the 'q' a number 10 or i could use the switch case itd be much easier but i wanna struggle with if statements for now. Why wouldnt the appointed line work? why...
holy moly you are a big baller lol :) i had that scanf but not the spaces, I didnt know that could impact the code so much. WOOOW, thanks alot
thats tricky stuf right there
tried it just now it doesnt work
tried it just now doesnt make a difference
in this case when i put 21 for desicionTime() the line that says "again?" prints out on the screen but it does not wait for an answer and it goes straight back to the main menu.
i dont know which return you are talking about but i tried taking each of them at a time and it didnt help. Can you be a little more specific?
i am studying c on my own because i need it for my senior project and i also want to know it for my own.
Objective: Make menu with 10 options. Option 0 takes u to a silly "prelab" sub function and...