Ah i see. Thank you very much for your time.
Type: Posts; User: brianjoo
Ah i see. Thank you very much for your time.
oh i see. This is one of my hw assignments and it stated that recursion was mandatory. Imo i think a for loop would make this process much easier, but i can't do that.
because 6 is even*
Sorry i meant to ask why i was getting zero as my answer. Yea i understand that it should be 10, but where did i go wrong? I understand why i get 0 for my very first num, because 10 is even; however,...
When i use 6 as my n, i get 0, which makes sense to me.;however, why do i get 6 for my final result? Why does it not do 0+5+...etc..?
//source.c file
#include "Header.h"
unsigned int...
I should have caught that. Thank you very much.
Am i assigning the pointers incorrectly?
for (c = 0; c < 5; c++)
printf("%d\n", array[c]);
*p1 == array[0];
*p2 == array[1];
*p3 == array[2];
*p4 == array[3];
*p5 == array[4];...
I have not learned about array; however, your answer has helped me. I can not believe i forgot about that. Thank you very much.
The requirement for this project is
1)double calculate_deviation (double number, double mean) - Determines the deviation of number from the mean and returns the result. The deviation may be...
This is my code so far
char encoded_character = NULL, plaintext_character = NULL;
//3.1 Get encoded_character and plaintext_character from user
printf("Please input your plaintext...
Yea it worked, but the volume of a cylinder does not include .333333. But if it did, inputing .3333333 instead of (1/3) works, so thanks.
/*Name:Brian
Date:9/3/17
First Project
*/